Introduction
Simultaneous Localization and Mapping (SLAM) has traditionally been divided into two distinct methodologies: recursive filtering (e.g., EKF, MSCKF) and iterative batch optimization (e.g., OKVIS, GraphSLAM). While optimization-based approaches are generally recognized for their superior accuracy, the theoretical bridge between these paradigms is often obscured by disparate mathematical notations. This work presents a unified framework that treats filtering as a specific design choice within a generalized nonlinear least-squares (NLS) problem, providing a modular language to analyze and improve state-of-the-art SLAM back-ends.
A Unified Optimization Framework
The core of the proposed framework relies on two fundamental algorithmic submodules: Gauss-Newton Descent for iterative state updates and Marginalization for variable removal. By formulating SLAM through Nonlinear Least Squares, the authors prove that standard filtering algorithms like the Extended Kalman Filter (EKF) and the Multi-State Constrained Kalman Filter (MSCKF) are mathematically equivalent to specific sequences of these steps.
To handle the complexities of 3D rotation without singularities, the framework extends this formulation to manifolds using "boxplus" and "boxminus" operators. This allows for a rigorous treatment of quaternions and rotations within the optimization loop.
Experimental Methodology
The unified implementations were evaluated using the EuRoC MAV dataset, a benchmark for visual-inertial SLAM. The dataset includes stereo imagery and IMU data from a micro aerial vehicle operating in challenging environments like Vicon rooms and machine halls, with ground-truth poses provided by a motion capture system.
Key Insights: The Mechanics of Filtering
A primary insight of this work is that the EKF acts as a "lazy" optimizer, performing exactly one Gauss-Newton step before marginalizing past states. More significantly, the study clarifies why the MSCKF often outperforms standard Sliding Window Filters (SWF) of similar size.
The performance gap stems from marginalization strategies. While a standard SWF typically discards the oldest pose to accommodate new data, the MSCKF retains the initial pose in its window longer. This creates a larger spatial baseline, enhancing triangulation and localization accuracy. Furthermore, MSCKF processes features only after they are no longer visible, ensuring they are "mature" and initialized via robust multi-view geometry rather than premature stereo triangulation.
Comparative Results
The authors compared several back-ends, including EKF, iEKF, MSCKF, SWF, and OKVIS. Quantitative results across multiple sequences demonstrate the competitive nature of the MSCKF architecture.
In the V1_01 sequence, the MSCKF (n=5) achieved a translation error of 0.09m, vastly outperforming a standard SWF (n=5) which recorded 1.00m. While OKVIS generally provided the highest overall accuracy, the MSCKF remained highly effective, particularly in scenarios with aggressive motion. Interestingly, the "Iterated MSCKF" (iMSCKF) did not yield significant gains over the standard version, suggesting that the marginalization strategy is a more critical performance driver than the number of iterations.
Conclusion and Future Directions
This research successfully bridges the gap between filtering and optimization, showing that the choice of back-end is essentially a choice of how to manage the optimization window and marginalization. Future work will focus on extending this framework to dynamic environments where the robot must track moving objects, as well as exploring hardware-specific implementations on FPGAs and ASICs to meet tight computational constraints.
Summary updated