Abstract
Traditional camera relocalization methods often rely on scene-specific absolute pose regression, which limits their scalability and generalization. This paper introduces a novel approach that utilizes a Siamese Convolutional Neural Network (CNN) to predict relative poses between a query image and retrieved database images. By decoupling the learning process from a specific coordinate frame, the proposed method achieves state-of-the-art accuracy and demonstrates the ability to localize in unseen environments without retraining.
Introduction
Camera relocalization—the process of determining a camera's position and orientation within a known environment—is a cornerstone of autonomous navigation, robotics, and augmented reality. While traditional feature-matching methods are effective, they often fail in textureless or repetitive environments. Recent deep learning models like PoseNet have attempted to solve this as an absolute pose regression problem. However, these models are inherently scene-specific, requiring retraining for every new location and suffering from limited capacity to memorize large-scale environments.
Proposed Methodology
The authors propose a shift towards learning geometric relationships rather than scene landmarks. The core of the system is a Siamese CNN architecture designed to estimate the relative pose between image pairs.
The pipeline operates in three distinct stages:
- Image Retrieval: A query image is processed by a ResNet34-based network to extract descriptors, which are then used to find the $N$ most similar images from a database of known poses.
- Relative Pose Estimation: The Siamese network takes the query and a retrieved image as a pair, predicting the relative rotation (as a quaternion) and the relative translation direction.
- Geometric Fusion: Instead of relying on a single prediction, the system fuses multiple relative pose hypotheses to derive the query's absolute coordinates.
Geometric Fusion and Robustness
The "Geometric Fusion" step is critical for handling network uncertainty. For translation, the system uses triangulation across pairs of predicted directions to find the query's absolute position. A RANSAC-based approach is employed to filter out outlier hypotheses, ensuring the final pose is consistent across multiple neighbors.
Similarly, each relative pose provides a hypothesis for the query's absolute orientation. These are fused using a second RANSAC scheme to find the most consistent orientation, making the system resilient to individual network errors.
Experimental Results
The method was benchmarked against the standard 7 Scenes dataset and a newly introduced University Dataset, which features five different scenes (e.g., Office, Kitchen) registered to a common coordinate frame.
- Accuracy: On 7 Scenes, the proposed method achieved a median translation error of 0.21m, significantly outperforming PoseNet (0.44m) and HourglassPose.
- Generalization: A key finding is the model's "zero-shot" capability. When trained on the University Dataset and tested on the entirely different 7 Scenes environment, it achieved a median error of 0.36m, proving that it learns universal geometric principles rather than specific scene features.
- Scalability: On the University Dataset, the method reduced average translation error by approximately 45% compared to absolute-pose baselines.
Conclusion
By focusing on relative motion, this research demonstrates that deep learning can be used to create generalizable relocalization systems. The decoupling of learning from specific coordinate frames allows for localization in new scenes with minimal overhead, provided a database of reference images is available. Future work will explore end-to-end optimization of the retrieval and pose estimation components.
Summary updated