Introduction
Camera relocalisation—the task of determining the precise 6-degree-of-freedom (6-DoF) pose of a camera within a known environment—is fundamental to applications in robotics, augmented reality, and simultaneous localization and mapping (SLAM). Traditional geometric methods rely on matching 2D points to 3D maps, which, while accurate, often struggle with computational scalability. Conversely, early deep learning approaches like PoseNet attempted to regress absolute poses directly from images. However, these models are typically scene-specific, requiring retraining for every new environment, which limits their practical utility.
RelocNet addresses these challenges by introducing a transferable approach to relocalisation. Instead of learning absolute coordinates, it learns to represent images in a metric space where distances correspond to geometric overlap, enabling the system to generalize to unseen environments.
Methodology
RelocNet utilizes a two-stage pipeline designed for both retrieval and precise pose estimation.
1. Continuous Metric Learning for Retrieval
The core innovation of RelocNet is the "Frustum Overlap Loss." The authors train a Siamese network to produce image descriptors where the Euclidean distance between two descriptors is proportional to the 3D overlap of their respective camera frustums. This ensures that the network learns features based on geometric similarity rather than just semantic content. If two views share a significant portion of the 3D space, their descriptors will be close in the embedding space.
2. Differential Pose Regression
Once a query image is embedded, the system retrieves the most similar image (nearest neighbor) from a pre-recorded database. A secondary, shallow "differential" network then takes both the query and the retrieved neighbor to estimate the relative pose between them. This approach allows the system to refine the coarse pose provided by the retrieval step.
3. SE(3) Manifold Representation
To handle 3D rotations and translations robustly, RelocNet employs specialized layers that map network outputs to the $SE(3)$ manifold (the space of rigid body transformations). By using exponential and logarithmic maps, the model avoids common issues like gimbal lock or the non-uniqueness of quaternions, ensuring that every predicted pose is mathematically valid.
Datasets and Experimental Setup
The authors evaluated RelocNet across several diverse datasets:
- ScanNet: A large-scale dataset with over 1,000 indoor sequences, used for training the general-purpose geometric descriptors.
- 7Scenes: A standard benchmark for relocalisation consisting of seven distinct indoor environments.
- RelocDB: A new dataset introduced by the authors, captured using Google Tango devices, specifically designed to test retrieval-based relocalisation across similar paths in different rooms.
Key Results
RelocNet demonstrates significant performance gains over previous end-to-end regression methods:
- Accuracy: On the 7Scenes benchmark, RelocNet consistently outperformed PoseNet. For instance, in the "Chess" scene, it achieved a median error of 0.12m and 4.14°, compared to PoseNet's 0.32m and 6.60°.
- Retrieval Robustness: The frustum-trained descriptors proved far more effective than standard ImageNet-pretrained features. In the "Stairs" sequence, RelocNet reached a 62.77% retrieval success rate, doubling the performance of a ResNet18 baseline (32.5%).
- Generalization: A model trained on ScanNet was able to perform effectively on 7Scenes and RelocDB without scene-specific fine-tuning, proving the transferability of the learned geometric representations.
Discussion and Future Work
While RelocNet represents a major step toward generalizable relocalisation, it remains dependent on the density and quality of the reference database. If a query is taken from a viewpoint significantly different from any database entry, the relative pose regression may struggle. Additionally, the "clipping depth" used for frustum overlap calculation is currently a fixed hyperparameter, which might need adjustment for large-scale outdoor scenes. Future research could explore more sophisticated ways to fuse information from multiple nearest neighbors to further enhance robustness.
Conclusion
RelocNet shifts the paradigm of deep relocalisation from scene-specific regression to generalizable metric learning. By supervising the network with camera frustum overlap, the authors have created a system that understands the geometric relationships between views, paving the way for more flexible and scalable relocalisation in real-world robotics and AR applications.
Summary updated