Relocalization, Global Optimization and Map Merging for Monocular Visual-Inertial SLAM

Tong Qin, Peiliang Li, Shaojie Shen

Abstract

Monocular Visual-Inertial Odometry (VIO) provides high-accuracy local tracking but is susceptible to long-term drift and lacks global consistency across multiple sessions. This paper introduces a comprehensive SLAM system that overcomes these challenges through a robust relocalization module and a specialized 4-DOF pose graph optimization. By exploiting the gravity-aligned nature of VIO, the system maintains global consistency while enabling flexible map management. This allows robots to save, load, and merge maps, facilitating persistent navigation in known environments.

Introduction

While monocular VIO is excellent for local tracking, it suffers from two major drawbacks: cumulative drift and a lack of global consistency. Over time, small estimation errors lead to significant trajectory deviations. Furthermore, standard VIO is relative; it initializes at a local origin, making it impossible to recognize previously visited locations or maintain a persistent map across multiple runs.

Relocalization and Map Merging

The authors address these issues by providing a mechanism to "relocalize" the camera within a previously built map and "merge" maps from different trials into one globally consistent coordinate frame.

Methodology

The system is built upon VINS-Mono, a tightly-coupled VIO approach. To transition from odometry to a full SLAM system, several key components were integrated:

System Pipeline
  1. Loop Detection & Relocalization: Utilizing DBoW2, the system converts image features (FAST corners and BRIEF descriptors) into compact vectors. When a scene matches a database entry, relocalization is triggered.
  2. Tightly-Coupled Relocalization: Loop closure information is integrated directly into the VIO's sliding window optimization, ensuring smooth transitions and leveraging IMU data.
  3. 4-DOF Pose Graph Optimization: Recognizing that gravity provides an absolute reference for roll and pitch, the authors restrict global optimization to x, y, z, and yaw. This prevents orientation corruption and improves efficiency.
  4. Map Management: An efficient system for saving and loading pose graphs and descriptors allows for "map evolution," where maps are incrementally improved over multiple explorations.

Key Innovations

The 4-DOF optimization is a significant contribution. Most SLAM systems optimize 6-DOF, but by acknowledging that roll and pitch do not drift in a gravity-aligned system, the optimization becomes more robust against "tilting" errors. Additionally, the system implements keyframe downsampling to maintain real-time performance as the map grows indefinitely.

Experimental Results

The system was evaluated using the EuRoC MAV dataset and a large-scale outdoor dataset at HKUST. On the EuRoC dataset, it achieved an Absolute Trajectory Error (ATE) as low as 0.068m. In outdoor tests, the system successfully merged five separate trajectories totaling 500 meters with a final global error of only 0.34m. Performance is real-time, with relocalization taking ~40ms and large-scale optimization (2,700+ keyframes) taking under 200ms on a standard desktop CPU.

Conclusion

This work presents a robust solution for long-term monocular visual-inertial SLAM. While dependent on visual descriptors—which may struggle with significant lighting or seasonal changes—the system's ability to merge and evolve maps provides a foundation for persistent autonomous navigation. Future work will explore semantic integration to enhance loop detection in dynamic environments.

Summary updated

BibTeX
@inproceedings{qin2018relocalization,
  author = {Tong Qin and Peiliang Li and Shaojie Shen},
  title = {{Relocalization, Global Optimization and Map Merging for Monocular Visual-Inertial SLAM}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2018},
  url = {https://openreview.net/forum?id=dITtSoF-jg1},
}
Figure