Abstract
Visual place recognition (VPR) techniques based on deep learning are state-of-the-art but often fail to generalize to environments visually distinct from their training sets. To address this, we propose a self-supervised domain calibration procedure that leverages robust pose graph optimization from Simultaneous Localization and Mapping (SLAM) as a supervision signal. This approach eliminates the need for GPS or manual labeling. Furthermore, we utilize this procedure to improve uncertainty estimation for place recognition matches, a critical requirement for safety-sensitive applications. Our results demonstrate that this method significantly enhances the performance of state-of-the-art VPR techniques in new environments and provides reliable uncertainty estimates.
The Challenge of Domain Adaptation in VPR
Visual Place Recognition (VPR) serves as the "loop closure" component of robot navigation, enabling a system to recognize previously visited locations. While deep learning has significantly advanced VPR accuracy, these models frequently encounter a domain gap. A model trained on sunny urban streets typically underperforms when deployed in environments with different visual characteristics, such as dark warehouses or subterranean tunnels.
Standard adaptation involves fine-tuning on target environments, but this typically requires ground truth data like GPS or human-labeled image pairs. In GPS-denied environments (indoors or underground), obtaining such labels creates a "chicken and egg" problem: a map is needed for labels, but VPR is required to build the map.
Self-Supervised Calibration Methodology
The proposed pipeline transforms a robot's initial "scouting run" into an automated training session through three primary steps:
- Finding Putative Matches: The robot traverses a new environment using a pre-trained VPR model to identify potential loop closures between current and previous views.
- Robust SLAM as a Filter: Rather than accepting all matches, the system processes them through a Robust Pose Graph Optimization (PGO) framework. By analyzing the 3D geometry of the trajectory, PGO mathematically distinguishes "inliers" (geometrically consistent matches) from "outliers" (perceptual aliasing, such as identical-looking hallways).
- Self-Supervised Fine-Tuning: These inliers and outliers serve as "pseudo-ground truth." The VPR network is fine-tuned using a triplet margin loss. Additionally, an uncertainty head—a lightweight sub-network—is trained to predict a variance ($\sigma$) for each image, learning to assign high uncertainty to images flagged as confusing by the SLAM system.
Experimental Evaluation
The approach was evaluated using two distinct types of data:
- KITTI Dataset: A standard benchmark for outdoor autonomous driving. Sequence 360-09 was used for tuning, while sequences 00, 02, 05, and 06 were used for testing.
- Custom Indoor Dataset: To validate performance in GPS-denied settings, four runs were collected in an office environment using an Intel RealSense D455 camera, featuring significant overlaps to test place recognition capabilities.
Key Results and Insights
- Improved Accuracy: Tuned models, including NetVLAD and Vision Transformers (ViT), showed substantial improvements in Precision-Recall performance on the KITTI sequences compared to their off-the-shelf counterparts.
- Enhanced Feature Separation: Post-calibration, the distance in feature space between positive image pairs decreased, while the distance between negative pairs increased, facilitating more reliable thresholding.
- Uncertainty Awareness: The uncertainty estimator successfully identified images with poor exposure or heavy occlusions. In indoor tests, the percentage of correct matches increased by approximately 7-10% across different sequences after calibration.
Conclusion and Future Directions
This research demonstrates that SLAM can act as an effective "teacher" for VPR models. By using geometric constraints to verify visual hypotheses, robots can autonomously adapt to new domains.
However, limitations remain. The system currently requires an initial calibration pass, during which the robot is still reliant on the uncalibrated model. Furthermore, the quality of training depends on the robustness of the underlying PGO; poor odometry could lead to noisy supervision. Future work will explore online, lifelong learning scenarios and extending this logic to other modalities like LiDAR.
Summary updated