Abstract
Positioning is a prominent field of study, notably focusing on Visual Inertial Odometry (VIO) and Simultaneous Localization and Mapping (SLAM) methods. Despite their advancements, these methods often encounter dead-reckoning errors that lead to considerable drift in estimated platform motion, especially during long traverses. In such cases, the drift error is not negligible and should be rectified. Our proposed approach minimizes the drift error by correcting the estimated motion generated by any SLAM method at each epoch. Our methodology treats positioning measurements rendered by the SLAM solution as random variables formulated jointly in a multivariate distribution. In this setting, the correction of the drift becomes equivalent to finding the mode of this multivariate distribution which jointly maximizes the likelihood of a set of relevant geo-spatial priors about the platform motion and environment. Our method is integrable into any SLAM/VIO method as a correction module. Our experimental results show the effectiveness of our approach in minimizing the drift error by 10x in long traverses.
Introduction
In autonomous navigation, platforms often rely on dead-reckoning—estimating current position based on a previous state and incremental sensor data from cameras and Inertial Measurement Units (IMUs). While Visual Inertial Odometry (VIO) and Simultaneous Localization and Mapping (SLAM) are highly advanced, they are fundamentally Markovian. Small, inherent sensor noises and estimation errors accumulate over time, leading to "drift." Over long distances, this drift causes the estimated trajectory to diverge significantly from reality. While loop closure can mitigate this, it is not always available. This paper introduces a plug-and-play probabilistic module designed to correct this drift in real-time by "snapping" the trajectory back to a more probable path using external environmental knowledge.
Methodology
The proposed Probabilistic Drift Correction Module treats SLAM outputs as stochastic variables rather than absolute truths. It builds a joint probability density function based on four key components:
- Angular Velocity ($X_1$): Derived from SLAM motion vectors.
- Motion Magnitude ($X_2$): The estimated speed and distance traveled.
- Geospatial Priors ($X_3$): Vector data from sources like OpenStreetMap is rasterized and processed via an inverse distance transform. This creates a continuous probability field where traversable regions (like road centers) have the highest probability.
- Heading Preservation ($X_4$): A constraint assuming the platform’s heading remains relatively consistent between consecutive frames.
To find the corrected position, the module seeks the mode of this multivariate distribution. This is achieved by converting the problem into a negative log-likelihood minimization, solved using Stochastic Gradient Descent (SGD) via PyTorch. This SLAM-agnostic design allows the module to be integrated with various frameworks like VINS-Mono or ORB-SLAM.
Experimental Results
The module was evaluated using data recorded on a smartphone (30Hz images, 100Hz IMU) across three real-world scenarios: long straight traverses, sharp turns, and loop closures. Geospatial priors were sourced from OpenStreetMap (2017), and VINS-Mono served as the baseline SLAM framework.
Quantitative results demonstrate substantial improvements in accuracy, particularly in long-distance scenarios where drift is most prevalent. In Scenario A (a long traverse), the closing distance error was reduced from 171.8 meters to just 15.8 meters—a more than 10x improvement. In Scenario C, accuracy improved nearly 18x, reducing error from 40.9 meters to 2.3 meters.
Qualitatively, the corrected trajectories align strictly with traversable paths defined by GIS data, whereas raw SLAM trajectories often diverge into non-traversable areas like buildings.
Discussion and Conclusion
While the module significantly reduces drift, it faces certain limitations. Instability can occur when constraints compete—for instance, if IMU data suggests a turn that contradicts a strong map prior. Furthermore, the system is dependent on the quality of geospatial data; poor map coverage or environmental changes can introduce errors. Future work will focus on automating the selection of distribution weights and uncertainty parameters to improve robustness across diverse environments.
Summary updated