Manuscript Offprint

arXiv:2609.04026

Stable and Scalable Bundle Adjustment of Holistic 3D Structures

Shaohui Liu, Rémi Pautrat, Daniel Barath, Richard Hartley, Viktor Larsson, Marc Pollefeys

Shaohui Liu¹, Rémi Pautrat², Daniel Barath¹, Richard Hartley³, Viktor Larsson⁴, and Marc Pollefeys¹,²

¹ETH Zurich ²Microsoft Spatial AI Lab

³Australian National University ⁴Lund University

Abstract. Bundle Adjustment (BA) is a cornerstone of 3D computer vision and has benefited from decades of advances in sparse optimization and numerical methods. It was originally developed for jointly optimizing camera intrinsics, poses and sparse 3D points. While extensions incorporate lines and other primitives, integrating richer geometric structures such as parallelism, coplanarity, or wireframes often introduces significantly increased computational cost and reduced numerical stability. In this paper, we propose a unified framework that extends bundle adjustment to jointly optimize geometric features and higher-order relations. We first introduce a taxonomy that distinguishes scalable geometric features with direct 2D measurements (e.g., points and lines), from groups encoding higher-order relations (e.g., coplanarity, parallelism, etc.), where we show that groups can be modeled as camera-like entities within the bundle adjustment framework. Building on this formulation, we propose that both group constraints and cross-feature relations (i.e., point-line associations) can be expressed through 2D reprojection measurements. By formulating group-induced and cross-feature reprojection errors, we preserve the sparsity structure of classical point-based BA under Schur elimination, while avoiding direct 3D regularization that degrades the conditioning and stability. Experiments on both real-world and synthetic datasets demonstrate runtime performance comparable to classical point-only bundle adjustment, while producing significantly richer 3D structures and improved geometric accuracy.

1 Introduction

Bundle adjustment plays a central role in 3D reconstruction, jointly refining camera parameters and scene geometry by minimizing reprojection errors across all observations. Decades of research have produced highly efficient solvers that exploit the characteristic sparsity of the problem: because each 3D landmark couples only to its observing cameras, the Hessian over landmarks is block-diagonal, enabling Schur complement elimination that reduces the system to a compact camera-only problem. This structure has been the key to scaling bundle adjustment to large reconstructions with millions of points [2, 53, 73].

Yet real-world scenes, particularly man-made environments, contain geometric structures far richer than isolated point landmarks. Lines appear along

S. Liu et al.

Figure

Fig. 1: Bundle adjustment with structural constraints. From multi-view images with detected points, lines, and groups (top), our proposed unified bundle adjustment framework is able to jointly optimize features (points/lines), camera poses, and structural constraints while preserving computational efficiency. This yields richer optimizable sparse 3D reconstruction with geometric primitives (planes, spheres, cylinders, etc.) beyond point clouds (left).

edges and boundaries, often in parallel configurations governed by vanishing points [51]. Surfaces form planes and other primitives that constrain the positions of points and lines alike. At finer scales, points and lines meet at junctions to form wireframe structures [27, 77, 85] that encode the geometric skeleton of buildings, furniture, and urban infrastructure. These structures provide powerful constraints that, if properly exploited, can improve reconstruction accuracy and completeness. However, incorporating them into bundle adjustment has remained a long-standing challenge due to two fundamental difficulties.

The first challenge is structural coupling. In classical bundle adjustment, the efficiency of the Schur complement relies on the fact that 3D landmarks are mutually independent: no residual couples two landmarks directly. Introducing geometric relations such as coplanarity, parallelism, orthogonality, or wireframe connectivity fundamentally violates this property. When two features share a geometric relation, their parameters become coupled, creating off-diagonal blocks in the landmark Hessian that destroy its block-diagonal structure. With many such associations, the efficient Schur elimination may break down entirely, leading to denser fill-in and increased computational cost.

The second challenge is the scale ambiguity coming with 3D constraints. Even when sparsity is handled, formulating structural constraints as direct 3D penalties (e.g., point-to-plane distances [35, 58]) mixes 3D metric residuals with 2D pixel-space terms, degrading conditioning due to scale mismatch and introducing ad hoc weighting. Because such residuals lack a principled noise model, there is no natural way to anchor structural entities through well-observed features. Moreover, 3D penalties break the scale gauge ambiguity of bundle adjustment, biasing the optimizer toward shrinking the reconstruction to reduce the penalty.

In this work, we present a unified bundle adjustment framework that integrates geometric structures while addressing both challenges. We introduce a taxonomy on features and groups, which distinguishes geometric features with direct 2D measurements (points, lines) from groups encoding higher-order relations (vanishing points, planes, conics, etc.). This taxonomy provides a formu-lation for incorporating diverse geometric entities under a single optimization scheme: virtual groups are added to the optimization problem and are placed alongside cameras in the non-eliminated block of the normal equations, absorbing the coupling between associated features and preserving the block-diagonal structure over the feature block.

Based on this formulation, we express both group and wireframe constraints as reprojection-based residuals in pixel space. Group-induced reprojection errors measure the pixel displacement from projecting a feature onto the group surface, while cross-feature reprojection errors use the observation of one feature to constrain another. This avoids direct 3D regularization and implicitly weights each constraint by the uncertainty (via Fisher information) of the involved features, naturally anchoring structural entities through more reliable associations.

We validate our framework through experiments on synthetic and real-world datasets. Our proposed framework is able to optimize on top of significantly richer reconstructions with holistic 3D structures (as in Fig. 1), while achieving runtime performance comparable to classical bundle adjustment and consistent improvements on camera poses and geometry. Code for the proposed bundle adjustment framework and the resulting SfM system are made available at https://github.com/cvg/limap, fully compatible with the COLMAP ecosystem.

References (87)

  • Ceres solver
  • Bundle adjustment in the large
  • Netvlad: Cnn architecture for weakly supervised place recognition
  • Consistent 3d line mapping
  • A framework for pencil-of-points structure-from-motion
  • Constrained structure and motion from multiple uncalibrated views of a piecewise planar scene
  • Structure-from-motion using lines: Representation, triangulation, and bundle adjustment
  • SAM 3: Segment Anything with Concepts
  • Monocular visual-inertial odometry with planar regularities
  • Vip-slam: An efficient tightly-coupled rgb-d visual inertial planar slam
  • Back on track: Bundle adjustment for dynamic scene reconstruction
  • Algorithm 887: Cholmod, supernodal sparse cholesky factorization and update/downdate
  • Locally optimized ransac
  • The manhattan world assumption: Regularities in scene statistics which enable bayesian inference
  • Algorithm 1000: Suitesparse: Graphblas: Graph algorithms in the language of sparse linear algebra
  • Factor graphs and gtsam: A hands-on introduction
  • Square root bundle adjustment for large-scale reconstruction
  • Roma: Robust dense feature matching
  • Lsd-slam: Large-scale direct monocular slam
  • Daba: Decentralized and accelerated large-scale bundle adjustment
  • Motion and structure from motion in a piecewise planar environment
  • Photogrammetric computer vision (2016) 9
  • Lips: Lidar-inertial 3d plane slam
  • Pixcuboid: Room layout estimation from multi-view featuremetric alignment
  • Multiple view geometry in computer vision
  • An object-oriented approach to scene reconstruction
  • Learning to parse wireframes in images of man-made environments
  • Pushing the envelope of modern methods for bundle adjustment
  • isam2: Incremental smoothing and mapping with fluid relinearization and incremental variable reordering
  • Interacted planes reveal 3d line mapping (opens arXiv in a new tab)
  • Parallel tracking and mapping for small ar workspaces
  • g 2 o: A general framework for graph optimization
  • Simultaneous localisation and mapping with quadric surfaces
  • Hong kong world: Leveraging structural regularity for line-based slam
  • Leveraging planar regularities for point line visual-inertial odometry
  • Object-oriented slam using quadrics and symmetry properties for indoor environments (opens arXiv in a new tab)
  • Depth Anything 3: Recovering the Visual Space from Any Views
  • Lightglue: Local feature matching at light speed
  • Robust incremental structure-from-motion with hybrid features
  • 3d line mapping revisited
  • Sba: A software package for generic sparse bundle adjustment
  • Line-based stereo slam by junction matching and vanishing point alignment
  • Cpa-slam: Consistent plane-model alignment for direct rgb-d slam
  • OpenMVG: Open multiple view geometry
  • Orb-slam: a versatile and accurate monocular slam system
  • Quadricslam: Dual quadrics from object detections as landmarks in object-oriented slam
  • Global structure-from-motion revisited
  • Gluestick: Robust image matching by sticking points and lines together
  • Deeplsd: Line segment detection and refinement with deep image gradients
  • Hypersim: A photorealistic synthetic dataset for holistic indoor scene understanding
  • A new approach to vanishing point detection in architectural environments
  • Atlanta world: An expectation maximization framework for simultaneous low-level edge grouping and camera calibration in complex man-made environments
  • Structure-from-motion revisited
  • A multi-view stereo benchmark with high-resolution images and multi-camera videos
  • Scene coordinate regression forests for camera relocalization in RGB-D images
  • Structure plp-slam: Efficient sparse mapping and localization using point, line and plane for monocular, rgb-d and stereo cameras
  • Photo tourism: exploring photo collections in 3d
  • Point-plane slam for hand-held 3d sensors
  • Ba-net: Dense bundle adjustment network
  • Droid-slam: Deep visual slam for monocular, stereo, and rgb-d cameras
  • Robust multiple structures estimation with j-linkage
  • Autocalibration from planar scenes
  • Bundle adjustment—a modern synthesis
  • Light-gluestick: a fast and robust glue for joint point-line matching
  • Vggt: Visual geometry grounded transformer
  • Vggt- $\omega$
  • Vggsfm: Visual geometry grounded deep structure from motion
  • Moge: Unlocking accurate monocular geometry estimation for open-domain images with optimal training supervision
  • Moge-2: Accurate monocular geometry with metric scale and sharp details
  • $\pi^{3}$: Permutation-equivariant visual geometry learning (opens arXiv in a new tab)
  • Power bundle adjustment for large-scale 3d reconstruction
  • Robust global translations with 1dsfm
  • Visualsfm: A visual structure from motion system
  • Multicore bundle adjustment
  • An object slam framework for association, mapping, and high-level tasks
  • Airslam: An efficient and illumination-robust point-line visual slam system
  • Holistically-attracted wireframe parsing
  • Cubeslam: Monocular 3-d object slam
  • Scannet++: A high-fidelity dataset of 3d indoor scenes
  • Robust bundle adjustment revisited
  • Ufm: A simple path towards unified dense correspondence with flow
  • Aliked: A lighter keypoint and descriptor extraction network via deformable transformation
  • Efficient bundle adjustment for coplanar points and lines
  • A fast and accurate solution for pose estimation from 3d correspondences
  • Learning to reconstruct 3d manhattan wireframes from a single image
  • Baseline desensitizing in translation averaging
  • Robust visual slam with point and line features