Distributed Global Structure-from-Motion with a Deep Front-End

Ayush Baid, John Lambert, Travis Driver, Akshay Krishnan, Hayk Stepanyan, Frank DellaertarXiv 2023 · DOI

Introduction

Structure-from-Motion (SfM) is a fundamental computer vision task that reconstructs 3D scenes and estimates camera trajectories from 2D image sequences. It is the backbone of technologies ranging from autonomous navigation to modern neural rendering techniques like Gaussian Splatting. Historically, the field has been dominated by incremental SfM pipelines, such as COLMAP, which build reconstructions sequentially. While robust, incremental methods are computationally expensive and difficult to scale to massive datasets.

Global SfM offers a faster alternative by optimizing all camera poses and scene points simultaneously. However, global solvers are notoriously sensitive to "outliers"—incorrect feature matches between images. This research introduces GTSfM, a modular, distributed global SfM framework designed to leverage modern deep-learning front-ends while maintaining the speed and scalability required for large-scale 3D reconstruction.

The GTSfM Framework

GTSfM is built for distributed computing using the Dask library, allowing it to parallelize the most intensive parts of the SfM pipeline across multiple machines. The architecture is highly modular, enabling researchers to swap between various feature detection and matching algorithms.

Global camera pose estimation (frustums) and sparse point cloud for a building dataset.

To address the sensitivity of global optimization, GTSfM employs a novel two-stage outlier rejection strategy. It utilizes a cycle-consistency check with a "min" operator to maximize match recall, followed by a "median" operator to prune noise. This ensures a clean "view graph" before the back-end performs Shonan Rotation Averaging and translation averaging to initialize the final Global Bundle Adjustment (GBA) via the GTSAM library.

Front-End Performance: The SIFT Paradox

A primary goal of this study was to evaluate whether modern deep-learning front-ends (like SuperGlue, LightGlue, and LoFTR) could overcome the accuracy limitations of global SfM. The results revealed a surprising "SIFT Paradox": despite being two decades old, handcrafted SIFT features still provide the most accurate camera pose estimation for global SfM.

While deep matchers like LoFTR produce significantly denser point clouds—which are beneficial for downstream tasks like 3D meshing—they introduce subtle noise that can degrade the precision of the global pose solver. However, because GTSfM is distributed, it can utilize these computationally heavy deep models without the prohibitive time penalties seen in non-parallelized systems.

Results and Scalability

The researchers benchmarked GTSfM against COLMAP across diverse datasets, including standard architectural benchmarks and challenging scenarios like the Skydio-Crane-Mast dataset, which features repetitive structures and thin geometry.

Overview of the SfM process: from input image to sparse reconstruction and camera trajectory.

Key findings include:

  • Speed: On the Crane Mast dataset, GTSfM running on a 4-machine cluster was 1.6x faster than COLMAP (533s vs 849s).
  • Accuracy: SIFT achieved a Pose AUC of 53.1 (at a 1° threshold), significantly higher than SuperGlue (43.3) and LoFTR (40.0).
  • Scalability: The system demonstrated near-linear runtime improvements as more computational nodes were added, proving its effectiveness for large-scale internet-sourced datasets.

Conclusion and Future Work

GTSfM demonstrates that global SfM can significantly outperform incremental systems in speed through distributed computation. While SIFT remains the gold standard for pose accuracy, the modularity of GTSfM provides a platform for future research into better integrating deep features into global back-ends. Future work will focus on addressing "doppelgangers" (repetitive architectural features) and reducing the reliance on prior camera intrinsic data.

Summary updated

BibTeX
@misc{baid2023distributed,
  author = {Ayush Baid and John Lambert and Travis Driver and Akshay Krishnan and Hayk Stepanyan and Frank Dellaert},
  title = {{Distributed Global Structure-from-Motion with a Deep Front-End}},
  year = {2023},
  eprint = {2311.18801},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.18801},
}
Figure