ICE-BA: Incremental, Consistent and Efficient Bundle Adjustment for Visual-Inertial SLAM

Haomin Liu, Mingyu Chen, Guofeng Zhang, Hujun Bao, Yingze BaoCVPR 2018

Abstract

Visual-Inertial SLAM (VI-SLAM) is critical for autonomous navigation, yet it is often constrained by the high computational cost of Bundle Adjustment (BA). We introduce ICE-BA, a high-performance optimization engine that achieves a 10x speedup over state-of-the-art methods. ICE-BA utilizes three core innovations: Incremental Bundle Adjustment (IBA) to reuse computations, Sub-Track based IBA (ST-IBA) to maintain matrix sparsity, and Relative Marginalization to ensure global consistency. These advancements allow the system to utilize a significantly larger optimization window of 50 frames, leading to higher localization accuracy and better stability. Our results on the EuRoC MAV dataset and real-world tests demonstrate that ICE-BA outperforms existing solvers in both speed and accuracy.

Introduction

Visual-Inertial SLAM systems fuse data from cameras and Inertial Measurement Units (IMUs) to estimate a device's trajectory and map its environment. The mathematical backbone of this fusion is Bundle Adjustment (BA), a non-linear least-squares optimization problem. While BA provides high accuracy, its computational complexity grows rapidly with the number of frames and features. Consequently, most real-time systems are forced to use a small "sliding window" of recent frames, which limits their ability to correct for drift over time. Furthermore, when a loop closure is detected, integrating this global information into a local sliding window often leads to mathematical inconsistencies that can degrade the overall map quality.

Methodology

ICE-BA addresses the efficiency and consistency challenges of VI-SLAM through a series of algorithmic innovations.

Incremental Bundle Adjustment (IBA)

Standard BA solvers often recompute the entire optimization problem from scratch whenever a new frame is added. ICE-BA implements an incremental approach that reuses intermediate results from previous optimization steps. Since the movement between consecutive frames is typically small, only a fraction of the state variables change significantly. By focusing computation on these updated variables, IBA avoids redundant calculations and maintains high frame rates.

Sub-Track based IBA (ST-IBA)

The primary bottleneck in BA is solving the reduced camera system, often via the Schur complement. Long feature tracks—points that remain visible across many frames—create dense blocks in the Hessian matrix, significantly slowing down the solver. ST-IBA introduces a novel factorization technique that splits these long tracks into shorter, overlapping sub-tracks. This mathematical transformation forces the resulting matrices to remain sparse, which allows for much faster numerical solving without a loss in estimation accuracy.

Illustration of (a) original feature tracks and (b) the proposed overlapping sub-tracks used in ST-IBA to maintain matrix sparsity.

Relative Marginalization

To maintain global consistency, ICE-BA employs a relative marginalization strategy. Traditional marginalization expresses the "prior" information (from frames that have left the sliding window) in a global coordinate frame. This becomes problematic during loop closures when the global map is adjusted. ICE-BA instead formulates these priors relative to local keyframes. This ensures that the local constraints remain mathematically valid even when the global trajectory is shifted, effectively bridging the gap between local odometry and global mapping.

Evaluation and Results

The performance of ICE-BA was rigorously tested using the EuRoC MAV dataset—a standard benchmark featuring drone flight data in industrial environments—and qualitative real-world comparisons against the Google Tango AR platform.

Computational Efficiency

ICE-BA demonstrates a significant performance leap, running approximately 10 times faster than other popular solvers like OKVIS, SVO, and iSAM2. In benchmark tests, local BA in ICE-BA took roughly 2.45ms, whereas OKVIS required 26.8ms. The impact of the sub-track factorization is clearly visible in the processing time per frame, where ST-IBA maintains a low and stable computational cost even as the complexity of the environment increases.

Computational time comparison between standard IBA (O-IBA) and the proposed Sub-Track IBA (ST-IBA), showing a significant reduction in processing time per frame.

Accuracy and Global Consistency

The efficiency of the ICE-BA engine allows it to support a sliding window of 50 frames, a five-fold increase over many competing systems. This larger "memory" directly translates to improved stability and reduced drift. On the EuRoC dataset, ICE-BA achieved a lower Root Mean Square Error (RMSE) than its competitors, particularly in sequences with rapid motion. Furthermore, the system successfully handles loop closures, producing trajectories that are more globally consistent than those of commercial systems like Google Tango, which can struggle with scale drift over long distances.

Conclusion

ICE-BA represents a significant step forward in VI-SLAM optimization. By prioritizing matrix sparsity through sub-track factorization and ensuring consistency through relative marginalization, it enables high-accuracy, real-time SLAM on resource-constrained mobile devices. While the current work focuses on the backend solver, future research will explore tighter integration with diverse frontend feature trackers and further optimizations for specialized hardware architectures.

Summary updated

BibTeX
@inproceedings{liu2018ice,
  author = {Haomin Liu and Mingyu Chen and Guofeng Zhang and Hujun Bao and Yingze Bao},
  title = {{ICE-BA: Incremental, Consistent and Efficient Bundle Adjustment for Visual-Inertial SLAM}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  doi = {10.1109/cvpr.2018.00211},
}
Figure