Abstract
Simultaneous Localization and Mapping (SLAM) is a fundamental challenge in robotics, requiring a robot to build a map of an unknown environment while simultaneously tracking its own location. Traditional approaches, such as the Extended Kalman Filter (EKF), often suffer from linearization errors and computational inefficiency as the map grows. This paper presents iSAM (incremental Square Root Information Smoothing), a novel approach that frames SLAM as a sparse non-linear least-squares problem. By maintaining and incrementally updating the square-root factor of the information matrix using Givens rotations, iSAM achieves real-time performance with superior accuracy and consistency compared to filtering-based methods.
Introduction
For years, the Extended Kalman Filter (EKF) was the gold standard for SLAM. However, EKFs have two major flaws: they marginalize past robot poses to keep the state vector small, which "bakes in" linearization errors that can never be undone, and their computational cost scales quadratically ($O(n^2)$) as the map grows.
iSAM addresses these issues by moving from filtering to smoothing. Instead of just estimating the current state, iSAM estimates the entire robot trajectory and map simultaneously. This approach preserves the natural mathematical sparsity of the problem, allowing for more efficient and accurate updates.
Problem Formulation and Sparsity
The SLAM problem can be represented as a graphical model, such as a factor graph. In this representation, nodes represent robot poses and landmark positions, while edges represent spatial constraints derived from odometry or sensor measurements.
Because a robot typically only observes a few landmarks at any given time, the resulting information matrix is highly sparse. iSAM exploits this sparsity to maintain efficiency, whereas traditional filtering often destroys it through marginalization.
The iSAM Method: Incremental Square Root Smoothing
The core innovation of iSAM is the use of Square Root Information Smoothing. The SLAM problem is formulated as a massive non-linear least-squares optimization. Rather than solving the dense "Normal Equations," iSAM works directly with the measurement Jacobian $A$.
QR Factorization and Givens Rotations
The algorithm performs a QR factorization on $A$ to obtain an upper triangular matrix $R$, known as the "Square Root Information Matrix." The key to iSAM's speed is how this matrix is updated as new data arrives. Instead of recomputing the entire factorization, iSAM uses Givens rotations to incrementally incorporate new measurements.
This incremental update allows for constant-time $O(1)$ operations during exploration. To maintain long-term efficiency, iSAM occasionally performs variable reordering to restore sparsity and selective relinearization to correct past errors, a capability that filters lack.
Experimental Evaluation
The authors validated iSAM using simulated environments and the classic Victoria Park dataset, which features a 4km trajectory through a park in Sydney recorded over 26 minutes.
Key Results
- Real-time Performance: iSAM processed the entire 26-minute Victoria Park sequence in just 5.5 minutes on a 2007-era laptop.
- Efficiency: The average calculation time for the final steps of the 4km run was only 0.089 seconds per step, well within real-time requirements.
- Accuracy: The system successfully closed multiple loops and produced a consistent map without the divergence issues common in EKF-SLAM.
Conclusion
iSAM represents a significant shift in SLAM research, demonstrating that full smoothing is not only more accurate than filtering but also computationally feasible for real-time applications. By leveraging the sparsity of the square-root information matrix and efficient incremental updates, iSAM provides a robust framework for large-scale autonomous navigation. Future work includes optimizing variable reordering strategies and integrating automated data association.
Summary updated