English

MegBA: A GPU-Based Distributed Library for Large-Scale Bundle Adjustment

Computer Vision and Pattern Recognition 2022-08-03 v3

Abstract

Large-scale Bundle Adjustment (BA) requires massive memory and computation resources which are difficult to be fulfilled by existing BA libraries. In this paper, we propose MegBA, a GPU-based distributed BA library. MegBA can provide massive aggregated memory by automatically partitioning large BA problems, and assigning the solvers of sub-problems to parallel nodes. The parallel solvers adopt distributed Precondition Conjugate Gradient and distributed Schur Elimination, so that an effective solution, which can match the precision of those computed by a single node, can be efficiently computed. To accelerate BA computation, we implement end-to-end BA computation using high-performance primitives available on commodity GPUs. MegBA exposes easy-to-use APIs that are compatible with existing popular BA libraries. Experiments show that MegBA can significantly outperform state-of-the-art BA libraries: Ceres (41.45×\times), RootBA (64.576×\times) and DeepLM (6.769×\times) in several large-scale BA benchmarks. The code of MegBA is available at https://github.com/MegviiRobot/MegBA.

Keywords

Cite

@article{arxiv.2112.01349,
  title  = {MegBA: A GPU-Based Distributed Library for Large-Scale Bundle Adjustment},
  author = {Jie Ren and Wenteng Liang and Ran Yan and Luo Mai and Shiwen Liu and Xiao Liu},
  journal= {arXiv preprint arXiv:2112.01349},
  year   = {2022}
}

Comments

accepted by ECCV2022

R2 v1 2026-06-24T08:01:50.994Z