Efficient Outlier Removal for Large Scale Global Structure-from-Motion

Fei Wen, Danping Zou, Rendong Ying, Peilin LiuarXiv 2018

Abstract

Outlier removal is a critical yet computationally intensive step in 3D reconstruction via Structure-from-Motion (SfM). This paper introduces a dimension-reduced optimization framework for the maximum consensus problem, specifically tailored for large-scale datasets. By reducing the number of slack variables in the optimization problem, the proposed algorithms achieve significant speedups—up to 3x—compared to standard $\ell_1$ relaxation methods. Furthermore, an iteratively reweighted algorithm is presented that effectively preserves true inliers, improving the structural integrity of the final 3D models.

Introduction

In Global Structure-from-Motion (SfM), building a 3D model from 2D images begins with feature matching. However, matching algorithms inevitably produce "outliers" or false matches. Failure to remove these leads to warped or incorrect reconstructions. While RANSAC is effective for small-scale problems, its performance degrades exponentially with increasing outlier ratios in large-scale scenarios involving thousands of images and millions of points. Existing deterministic methods, such as standard $\ell_1$ relaxations, are more robust but suffer from high computational complexity and a tendency to "over-clean" data by removing valid inliers.

Methodology: Dimension-Reduced Formulation

The core contribution of this work is a dimension-reduced formulation of the outlier removal problem. In traditional approaches, every geometric constraint is assigned an individual slack variable. The authors observed that multiple constraints often stem from a single measurement. By assigning just one slack variable per measurement, the number of variables is reduced from $\kappa M$ to $M$ (where $\kappa$ is typically between 2 and 6).

Two algorithms are derived from this framework:

  1. Algorithm 1 ($\ell_1$ with Reduced Dimension): A fast, convex approach solved via a single Linear Programming (LP) step, optimized for speed.
  2. Algorithm 2 (Iteratively Reweighted): An iterative approach that approximates $\ell_0$ minimization. By progressively weighting points, it identifies outliers more accurately and preserves more true inliers than simple convex relaxations.

Experimental Setup

The algorithms were evaluated on synthetic linear regression data and three real-world SfM benchmarks: House, Cathedral, and College. These datasets represent varying scales of camera counts and 3D point densities.

Real-world SfM datasets used for evaluation: (a) House, (b) Cathedral, and (c) College.

Results and Analysis

The proposed methods demonstrate superior performance in both efficiency and accuracy. On the "House" dataset, Algorithm 1 achieved a 3x speedup over the standard $\ell_1$ method (322s vs. 975s). In the "Cathedral" dataset, Algorithm 2 retained 45,617 inliers, outperforming the standard $\ell_1$ method which kept 45,393.

Comparison of consensus size and runtime across different outlier ratios.

As shown in the figures above, the proposed Algorithm 2 maintains a higher consensus size (number of remaining inliers) compared to RANSAC and standard $\ell_1$ methods as the outlier ratio increases. Crucially, the runtime for the proposed algorithms remains nearly constant and significantly lower than RANSAC, which exhibits exponential growth in processing time as data becomes noisier.

Key Insights

  • Structural Exploitation: Leveraging the inherent structure of multiview geometry allows for a more compact mathematical representation, directly slashing computational load without sacrificing robustness.
  • Sparsity vs. Convexity: While $\ell_1$ relaxations are computationally convenient, they often lack the "sparsity" needed to isolate outliers precisely. The iterative reweighting in Algorithm 2 forces a sparser solution, leading to better data retention.
  • Efficiency-Accuracy Synergy: The efficiency gained through dimension reduction allows for the use of more sophisticated iterative techniques that remain faster than previous non-iterative baselines.

Conclusion and Future Work

This research provides a scalable solution for outlier removal in large-scale SfM. While the methods are highly effective, they do involve hyperparameters (e.g., $q$ and $\epsilon$ in Algorithm 2) that may require tuning for specific noise profiles. Future work could explore automated parameter selection and more advanced initialization strategies to further approach global optimality in the maximum consensus problem.

Summary updated

BibTeX
@misc{wen2018efficient,
  author = {Fei Wen and Danping Zou and Rendong Ying and Peilin Liu},
  title = {{Efficient Outlier Removal for Large Scale Global Structure-from-Motion}},
  year = {2018},
  eprint = {1808.03041},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1808.03041},
}
Figure