Efficient Large Scale Inlier Voting for Geometric Vision Problems

Dror Aiger, Simon Lynen, Jan Hosang, Bernhard Zeisl

Introduction

Estimating geometric models from noisy data is a fundamental challenge in computer vision. Tasks such as camera pose estimation, plane fitting, or ray intersection often involve datasets where "outliers"—incorrect matches or noise—predominate. Traditional methods like RANSAC (Random Sample Consensus) are highly effective when the inlier ratio is high, but their runtime increases exponentially as the percentage of good data drops. Conversely, global optimization techniques like Branch & Bound (B&B) provide optimality guarantees but often scale poorly with the number of data points, making them impractical for large-scale problems.

This paper introduces a "Generalized Voting" (GV) framework that addresses these limitations by achieving linear runtime complexity $O(n)$. By reformulating geometric constraints as intersecting surfaces in a parameter space and employing a novel canonization technique, the authors provide a robust solution for massive datasets with extremely low inlier ratios.

Methodology: Surface Intersection and Canonization

The authors reframe geometric problems as finding a point in a $d$-dimensional parameter space that is close to the maximum number of $k$-dimensional surfaces. Each data point (or match) defines a surface in this space where the model parameters would perfectly fit that point.

The core of their approach is an algorithm that uses two primary strategies:

  1. Space Decomposition: The search space is recursively divided using an octree-like scheme.
  2. Canonization: This is the critical innovation. At each level of the search, the algorithm "rounds" and groups surfaces that are geometrically similar within the current search box.
Canonization of an input surface within a search box B.

As illustrated in the figure above, an input surface is approximated by a "canonical surface" within a specific box $B$. This ensures that the number of unique surfaces being processed does not explode as the algorithm zooms in on the optimal solution. By bounding the number of surfaces at each level, the algorithm maintains linear complexity relative to the total number of input matches ($n$), regardless of the inlier ratio.

Key Insights and Scalability

A major advantage of this framework is that it provides domain-agnostic bounds. Unlike traditional B&B, which requires hand-crafted, problem-specific bounding functions, the surface-intersection approach automatically provides a tight upper bound on the score. Furthermore, the authors demonstrate that traditional "voting" (like the Hough Transform) is mathematically equivalent to finding a point of maximum depth among these intersecting surfaces.

Runtime comparison between General Voting, General B&B, and RANSAC as the number of points increases.

The scalability of the Generalized Voting method is demonstrated in the figure above. While RANSAC and standard B&B methods show rapid increases in runtime as the number of points grows, GV maintains a nearly linear trajectory. This "future-proof" characteristic is essential for modern datasets where inlier ratios might be less than 1%.

Experimental Results

The proposed method was evaluated on both synthetic tests and real-world large-scale datasets, including the Data61/2D3D outdoor dataset and the Stanford 2D-3D-Semantics (2D-3D-S) indoor dataset.

  • Speed and Accuracy: On the Data61 dataset, Generalized Voting was more than 10x faster than GOPAC (the previous state-of-the-art B&B method), finishing in 27 seconds compared to 457 seconds while maintaining identical accuracy.
  • Robustness to Outliers: In 2D line fitting tests with inlier fractions as low as 1%, GV's runtime remained flat, whereas RANSAC's runtime spiked significantly.
  • High-Dimensional Problems: The method successfully handled "uncalibrated" camera posing (7 degrees of freedom), a problem typically too complex for traditional voting or B&B methods.

Limitations and Conclusion

Despite its advantages, the algorithm requires careful parameter tuning, specifically for the approximation factor ($\epsilon$), to balance speed and accuracy. Additionally, implementing the "surface-box intersection" predicate for new geometric problems involves significant mathematical derivation compared to the simpler minimal solvers used in RANSAC.

In conclusion, the Generalized Voting framework offers a mathematically rigorous and computationally efficient alternative for large-scale outlier rejection. By leveraging the power of canonization to achieve linear complexity, it provides a scalable path for solving complex geometric vision problems in the presence of extreme noise. The authors have released open-source code to facilitate the adoption of this framework in the research community.

Summary updated

BibTeX
@misc{aiger2021efficient,
  author = {Dror Aiger and Simon Lynen and Jan Hosang and Bernhard Zeisl},
  title = {{Efficient Large Scale Inlier Voting for Geometric Vision Problems}},
  year = {2021},
  eprint = {2107.11810},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.11810},
}
Figure