English

Bundle Adjustment in the Eager Mode

Robotics 2026-05-19 v4 Computer Vision and Pattern Recognition

Abstract

Bundle adjustment (BA) is a critical technique in various robotic applications such as simultaneous localization and mapping (SLAM), augmented reality (AR), and photogrammetry. BA optimizes parameters such as camera poses and 3D landmarks to align them with observations. With the growing importance of deep learning in perception systems, there is an increasing need to integrate BA with deep learning frameworks for enhanced reliability and performance. However, widely-used C++-based BA libraries, such as GTSAM, g2^2o, and Ceres Solver, lack native integration with modern deep learning libraries like PyTorch. This limitation affects their flexibility, ease of debugging, and overall implementation efficiency. To address this gap, we introduce an eager-mode BA library seamlessly integrated with PyTorch with high efficiency. Our approach includes a sparsity-aware auto-differentiation design and GPU-accelerated sparse operations designed for 2nd-order optimization. Our eager-mode BA on GPU demonstrates substantial runtime efficiency, achieving an average speedup of 18.5×\times, 22×\times, and 23×\times across all benchmarks compared to GTSAM, g2^2o, and Ceres, respectively.

Keywords

Cite

@article{arxiv.2409.12190,
  title  = {Bundle Adjustment in the Eager Mode},
  author = {Zitong Zhan and Huan Xu and Zihang Fang and Xinpeng Wei and Yaoyu Hu and Chen Wang},
  journal= {arXiv preprint arXiv:2409.12190},
  year   = {2026}
}
R2 v1 2026-06-28T18:49:22.162Z