Learning-based Relational Object Matching Across Views

Cathrin Elich, Iro Armeni, Martin R. Oswald, Marc Pollefeys, Joerg Stueckler

Abstract

Robust object matching across disparate camera views is a fundamental challenge in robotic perception and 3D scene understanding. While local feature matching excels under small viewpoint changes, it often fails in wide-baseline scenarios where perspective shifts and occlusions significantly alter local textures. This paper presents a relational approach to object matching (ROM) that leverages high-level semantic and spatial relationships. By employing an Attentional Graph Neural Network (AGNN) and auxiliary training tasks, the proposed method achieves superior performance in challenging environments where traditional keypoint-based methods struggle.

Introduction

In robotic vision, the ability to maintain object identity across different viewpoints is essential for tasks such as SLAM (Simultaneous Localization and Mapping) and autonomous navigation. Traditional computer vision pipelines typically rely on local keypoint matching—identifying identical texture patches across images. However, these methods are highly sensitive to viewpoint changes. When a robot moves significantly within an environment, the visual appearance of an object can change so drastically that local descriptors become unrecognizable.

To address this, recent research has shifted toward object-level reasoning. Humans recognize scenes not just by texture, but by the spatial configuration of objects—knowing, for instance, that a specific chair is located next to a specific table. This paper explores a learning-based framework that mimics this relational reasoning, combining local appearance features with global spatial context to bridge the "great divide" of wide-baseline matching.

Methodology

The proposed Relational Object Matching (ROM) framework consists of several integrated components designed to produce view-invariant representations.

1. Object-Level Encoding and Auxiliary Tasks

For every detected object in a scene, the system extracts appearance features using a ResNet34 backbone and spatial features from the object's bounding box. To ensure these features capture the underlying 3D structure of the scene rather than just 2D image properties, the model is trained with three auxiliary tasks:

  • 3D Position Prediction: Estimating the object's coordinates in 3D space.
  • Semantic Classification: Identifying the object's category (e.g., chair, lamp).
  • Relative Distance Estimation: Predicting the distances between different objects in the scene.

These tasks force the network to learn features that remain consistent regardless of the camera's perspective.

2. Relational Reasoning via AGNN

The core of the ROM system is an Attentional Graph Neural Network (AGNN). The AGNN treats detected objects as nodes in a graph. It utilizes self-attention mechanisms to model the internal context of a single view and cross-attention to compare nodes across different views. This allows the model to reason about the relative placement of objects, making the matching process more robust to individual object occlusions or appearance changes.

3. Differentiable Matching and Hybrid Integration

To find the optimal correspondence between objects in two views, the framework employs the Sinkhorn algorithm, which allows for end-to-end differentiable training. Furthermore, the authors introduce a "Hybrid Boost" strategy. This approach combines high-level relational features with local keypoint match counts (derived from SuperGlue). By integrating these two scales of information, the system can utilize precise texture matching when viewpoints are similar and rely on robust relational reasoning when viewpoint changes are extreme.

Experimental Evaluation

The researchers evaluated the ROM framework using the Hypersim dataset, a photorealistic synthetic dataset of indoor environments. Hypersim provides the ground truth for 3D positions and object identities necessary for rigorous training and testing. Image pairs were categorized into three difficulty tiers—Easy, Hard, and Very Hard—based on the magnitude of the camera's translation and rotation.

Key Results

The experimental results demonstrate that relational reasoning provides a significant advantage in wide-baseline scenarios:

  • Performance in Extreme Views: In "Very Hard" scenarios, the ROM features achieved an F1-score of 0.332, more than doubling the 0.169 F1-score of SuperGlue.
  • Recall Gains: The recall rate for the most difficult views was nearly triple that of traditional methods (0.292 for ROM vs. 0.099 for SuperGlue), indicating that the relational approach is far more successful at identifying matches that local descriptors miss.
  • Ablation Insights: The inclusion of the "distance loss" auxiliary task was found to be the most critical factor in improving matching performance, confirming that spatial relationships are key to view-invariant recognition.

Discussion and Limitations

While the ROM framework represents a significant step forward, it is not without limitations. The system's performance is inherently tied to the quality of the underlying object detector (e.g., EfficientDet); if an object is not detected, it cannot be matched. Additionally, the current model is optimized for static indoor scenes. Future work is required to adapt the system for dynamic environments where objects may move independently of the camera. Finally, the authors noted that in crowded scenes, overlapping bounding boxes can introduce noise into the feature vectors, suggesting that instance segmentation might provide a more precise foundation for future relational models.

Conclusion

The "Learning-based Relational Object Matching Across Views" paper demonstrates that spatial and semantic context are vital for robust robotic perception. By moving beyond local textures and embracing a relational, graph-based approach, robots can more effectively maintain object identity across the complex viewpoint changes encountered in real-world navigation.

Summary updated

BibTeX
@inproceedings{elich2023learning,
  author = {Cathrin Elich and Iro Armeni and Martin R. Oswald and Marc Pollefeys and Joerg Stueckler},
  title = {{Learning-based Relational Object Matching Across Views}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10161393},
}
Figure