Introduction
In the field of computer vision, Bundle Adjustment (BA) is the standard technique for refining 3D reconstructions. It involves the simultaneous optimization of camera poses and 3D landmark positions to minimize the reprojection error across multiple images. For decades, the industry-standard approach has relied on the "Schur complement" (SC) trick to make these massive optimization problems computationally tractable. However, the SC trick has a significant numerical drawback: it involves forming normal equations, which effectively squares the condition number of the problem. This instability has historically mandated the use of double-precision (64-bit) floating-point arithmetic, which is slower and less memory-efficient than single-precision (32-bit) math.
The Square Root Approach
This paper introduces $\\sqrt{BA}$ (Square Root Bundle Adjustment), a novel formulation that replaces the Schur complement with Nullspace Marginalization (NM) via QR decomposition. Unlike the standard approach that operates on the Hessian matrix ($J^T J$), $\\sqrt{BA}$ operates directly on the Jacobian matrix ($J$). By working with the "square root" of the system, the method avoids the precision loss associated with squaring the condition number.
Key Technical Innovations
- Givens Rotations: The solver utilizes a sequence of Givens rotations to perform QR decomposition in-place. This approach is highly parallelizable and specifically designed to exploit the sparse structure inherent in BA problems.
- Efficient Damping: The authors developed a method to update Levenberg-Marquardt damping without re-marginalizing the entire system, significantly accelerating the optimization's "backtracking" phase.
- Hardware Optimization: By shifting to a formulation that favors single-precision linear algebra, $\\sqrt{BA}$ aligns better with modern hardware like GPUs and AI accelerators, which are optimized for 32-bit operations.
Experimental Results
The authors evaluated $\\sqrt{BA}$ using the BAL (Bundle Adjustment in the Large) datasets, including large-scale internet photo collections like Dubrovnik and Venice. The results demonstrate that $\\sqrt{BA}$ in single precision is as accurate as traditional solvers in double precision while being significantly more robust.
Key Findings
- Speed and Efficiency: $\\sqrt{BA}$ in single precision is approximately 2x faster than its double-precision counterpart and outperforms the state-of-the-art Ceres Solver on numerous benchmarks. On the Venice dataset, it reached a 1% cost tolerance 42% faster than competing methods.
- Numerical Stability: Traditional SC solvers in single precision failed to converge on 84 out of 97 test problems due to numerical errors. In contrast, $\\sqrt{BA}$ successfully solved all 97 problems using single precision.
- Precision without Penalty: The method proves that double precision is not a requirement for high-quality 3D reconstruction, provided the underlying linear algebra is numerically sound.
Limitations and Future Work
The primary limitation of $\\sqrt{BA}$ is memory usage. In "dense" scenarios where landmarks are observed by many cameras, the memory requirements for landmark blocks grow quadratically. Future research may explore hybrid schemes that combine the memory efficiency of implicit solvers with the numerical stability of the square root approach. Additionally, the authors see significant potential for $\\sqrt{BA}$ in Incremental SLAM (Simultaneous Localization and Mapping), where real-time, stable updates are critical for mobile robotics and augmented reality.
Summary updated