Graph-based parallel large scale structure from motion

Yu Chen, Shuhan Shen, Yisong Chen, Guoping Wang · OpenReview

Abstract

Large-scale 3D reconstruction via Structure from Motion (SfM) often faces a trade-off between the robustness of incremental methods and the efficiency of global approaches. This paper introduces GraphSfM, a parallelized "divide-and-conquer" framework that addresses these challenges through graph-theoretic optimizations. By utilizing Maximum Spanning Trees (MaxST) for intelligent image clustering and Minimum Height Trees (MHT) for robust sub-model merging, GraphSfM achieves up to a 17x speedup over industry-standard tools like COLMAP while maintaining superior accuracy and robustness against geometric drift.

Introduction

Structure from Motion (SfM) is a fundamental computer vision task that estimates 3D scene structures from 2D image sequences. As dataset sizes grow to thousands or even millions of images, traditional methods struggle. Incremental SfM, while robust, is computationally expensive and prone to error accumulation (drift). Global SfM is faster but highly sensitive to outliers and memory constraints.

GraphSfM proposes a unified pipeline that combines the robustness of incremental SfM with the scalability of parallel processing. By treating the reconstruction process as a series of graph operations, the authors mitigate the bottlenecks of traditional large-scale reconstruction.

Methodology

The GraphSfM framework follows a structured three-stage pipeline designed for distributed execution.

The GraphSfM pipeline overview, illustrating the flow from initial image sets to the final 3D reconstruction.

1. Intelligent Image Clustering

The process begins by partitioning the image graph using standard techniques like Normalized Cuts (NCut). To ensure that these partitions can be successfully merged later, the authors implement Subgraph Expansion based on a Maximum Spanning Tree (MaxST). This step ensures sufficient image overlap between clusters, which is critical for establishing the geometric transformations needed for stitching.

2. Parallel Local Reconstruction

Once clustered, each sub-graph is processed independently using an incremental SfM pipeline (specifically, COLMAP). This parallelization significantly reduces processing time. Furthermore, because individual clusters are relatively small, the inherent drift of incremental methods is minimized within each local model.

3. Robust Sub-model Merging

The final stage involves aligning these local 3D models into a single global coordinate system. This is achieved by constructing a Minimum Spanning Tree (MinST) to find the most reliable transformations between clusters.

The sub-model merging process: (a) weighted graph of clusters, (b) Minimum Spanning Tree, (c) conversion to a Minimum Height Tree, and (d) final alignment to the anchor node.

A key innovation here is the conversion of the MinST into a Minimum Height Tree (MHT). This structure allows the algorithm to identify an "Anchor Node"—a central reference frame that minimizes the maximum distance (and thus potential error propagation) from any sub-model to the global origin.

Experimental Results

The researchers evaluated GraphSfM across a wide array of datasets, including outdoor scenes, public benchmarks, and large-scale aerial captures containing over 12,000 images.

  • Efficiency: In distributed environments using three nodes, GraphSfM demonstrated a 17x speedup over COLMAP. On a single machine, it remained 6x faster.
  • Scalability: The algorithm's time complexity scales linearly with the number of images, a significant improvement over the quadratic scaling seen in many competing methods.
  • Robustness: GraphSfM successfully reconstructed challenging "ambiguous" scenes, such as the "Heaven Temple," where global SfM methods typically fail due to repetitive architectural features. By isolating these features within local clusters, the graph-based approach prevents outliers from corrupting the entire global solution.

Conclusion and Future Work

GraphSfM represents a significant advancement in large-scale 3D reconstruction, offering a scalable solution that does not compromise on accuracy. By formalizing clustering and merging as graph optimization problems, the framework provides a mathematically grounded way to handle massive image sets. Future research will focus on extending this framework to "city-scale" datasets with hundreds of thousands of images and further optimizing the communication overhead in distributed systems.

Summary updated

BibTeX
@misc{chen2019graph,
  author = {Yu Chen and Shuhan Shen and Yisong Chen and Guoping Wang},
  title = {{Graph-based parallel large scale structure from motion}},
  year = {2019},
  eprint = {1912.10659},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.10659},
}
Figure