Abstract
Visual localization is a critical capability for autonomous robots, yet state-of-the-art deep learning models typically require vast amounts of precisely labeled ground truth data. We present DeepGPS, a framework that eliminates the need for absolute coordinates during training. By utilizing relative distance measurements from low-cost sensors like wheel encoders as weak supervision constraints, DeepGPS enables robots to learn global positioning systems through simple exploration. Our results show that this weakly supervised approach achieves accuracy on par with fully supervised models across diverse simulated and real-world environments.
Introduction: The Data Hunger of Visual Localization
Absolute pose regression models, such as PoseNet, have revolutionized visual localization by providing fast, efficient coordinate estimation from single images or point clouds. However, their practical deployment is hindered by a significant "data hunger" problem. Training these models requires thousands of images labeled with precise XYZ coordinates, often necessitating expensive external tracking systems (e.g., Vicon), high-end GPS, or labor-intensive Structure-from-Motion (SfM) reconstructions. DeepGPS addresses this bottleneck by asking: can we train positioning models using only the sensors a standard robot already possesses?
Methods: Constraint-Based Weak Supervision
The core innovation of DeepGPS is the shift from absolute coordinate supervision to constraint-based weak supervision. Instead of providing the network with specific coordinates for every image, the system is trained using the relative distances between pairs of observations—data that is easily obtained from standard wheel encoders.
The DeepGPS Framework
- Siamese Architecture: The system uses a shared neural network to predict positions for pairs of observations.
- Distance Loss: The loss function penalizes the discrepancy between the Euclidean distance of the predicted positions and the actual distance measured by the robot's odometry.
- Handling Modalities: To ensure the system remains "orientation-blind" (focusing on location rather than heading), omnidirectional images are warped into polar coordinates and processed via a Translation-Invariant CNN with circular padding. For landmarks or Lidar, standard Multi-Layer Perceptrons (MLPs) are used.
This approach is mathematically linked to Multi-Dimensional Scaling (MDS); the network essentially learns to perform MDS implicitly, arranging its predictions to match the physical layout of the environment.
Experimental Validation
DeepGPS was validated across four distinct settings:
- Numerical Simulation: A 2D environment with 128 landmarks to verify geometric logic.
- Gibson/Habitat-Sim: Photo-realistic virtual rooms for testing RGB-based positioning.
- Real-World TurtleBot: Physical trials using an omnidirectional camera in a laboratory setting. Ground truth for evaluation was provided by AprilTags, though the model did not use them for training.
- 2D Lidar: Simulated point cloud data to demonstrate sensor-agnosticism.
Key Results and Insights
DeepGPS consistently achieved relative positioning errors of less than 2%, performing nearly as well as fully supervised counterparts in the Gibson dataset. Interestingly, in physical TurtleBot trials, DeepGPS exhibited fewer large outlier errors than PoseNet, suggesting that geometric distance constraints provide a form of regularization that prevents overfitting to noisy ground truth labels.
Robustness and Auto-Calibration
The system demonstrated remarkable robustness to sensor noise. Even with 10% random noise added to distance measurements, the median error remained low, as the high volume of constraints effectively filters out individual inaccuracies. This capability enables auto-calibration: a robot can enter a new environment, drive around to collect distance-labeled images, and train its own positioning system without human intervention.
Limitations and Future Work
While effective, the current implementation assumes Euclidean distances, which may not hold in highly concave environments (e.g., U-shaped hallways) where travel distance exceeds straight-line distance. Future work will explore integrating more complex odometry for curved paths and extending the framework from 2D (X, Y) to full 3D (X, Y, Z) positioning with 6-DoF orientation.
Conclusion
DeepGPS proves that absolute ground truth is not a prerequisite for high-accuracy visual positioning. By leveraging the inherent geometric constraints of robot movement, we can build robust, self-calibrating localization systems that are significantly easier to deploy in the real world.
Summary updated