Deterministic Approximate Methods for Maximum Consensus Robust Fitting

Huu Le, Tat-Jun Chin, Anders Eriksson, Thanh-Toan Do, David SuterarXiv 2017

TL;DR

This paper introduces two novel deterministic approximate algorithms to solve the maximum consensus problem in robust model fitting, bridging the gap between fast but rough randomized heuristics (like RANSAC) and computationally exhaustive exact methods. By reformulating the problem using linear complementarity constraints, the proposed non-smooth penalty and ADMM-based methods efficiently guide the optimization via convex subproblems. The algorithms significantly improve initial rough estimates and excel in challenging high-outlier environments common in computer vision tasks.

What Problem Does This Paper Address?

Robust model fitting is foundational to computer vision, enabling algorithms to estimate geometric structures (like hyperplanes, homographies, or fundamental matrices) from data plagued by noise and outliers. The gold standard criterion for this is maximum consensus—finding the model parameters that maximize the number of inlier data points within a given error threshold.

However, optimizing for maximum consensus is notoriously difficult. As shown in the paper's visualization of the consensus objective function $\Psi(\theta)$, the landscape is a discontinuous, piece-wise constant step function completely devoid of useful gradient information.

The non-smooth, piece-wise constant nature of the maximum consensus objective function.

Consequently, researchers have traditionally chosen between two extremes:

  1. Randomized hypothesize-and-verify methods (e.g., RANSAC): Fast and cheap, but offer no optimality guarantees and scale poorly (exponentially) when the outlier ratio is high.
  2. Globally optimal exact methods (e.g., Branch-and-Bound): Guarantee the true mathematical optimum but are too computationally expensive for practical, real-world dataset sizes.

This paper addresses the missing middle ground: a deterministic, directed search algorithm that provides high-quality approximate solutions efficiently on realistic input sizes.

Methods

The authors' core mathematical insight is to reformulate the discrete maximum consensus problem into a continuous optimization problem using linear complementarity constraints (LCCs). By introducing indicator variables (to flag outliers) and slack variables (to measure residual errors), the problem is cast into a form where continuous optimization techniques can be applied.

The paper proposes two distinct algorithms to solve this reformulated problem:

  1. Non-Smooth Penalty Method (EP): This approach moves the bilinear complementarity constraints into the objective function as a penalty term, controlled by a penalty parameter $\alpha$. To solve this non-convex problem, the authors leverage a Frank-Wolfe-style alternating optimization scheme. It elegantly alternates between two linear programs (LPs): one that minimizes residuals (weighted $\ell_1$-norm minimization) and another that performs inlier-outlier classification in closed form.
  2. ADMM-Based Method (AM): Utilizing the Alternating Direction Method of Multipliers, the problem is decomposed into smaller, decoupled subproblems. Each update step requires solving nothing more complex than a standard convex quadratic program (QP) or linear program, ensuring computational efficiency.

Crucially, the authors show that both methods can be extended beyond simple linear models to handle non-linear geometric distances (like reprojection error in triangulation or transfer error in homography estimation) by rewriting quasiconvex fractional residuals into equivalent linear constraints.

Datasets

The algorithms were evaluated across a comprehensive suite of synthetic benchmarks and standard real-world computer vision datasets:

  • Synthetic Linear Regression Data: Used to evaluate performance under "balanced" (hyperplane centered) and "unbalanced" (highly biased) outlier distributions.
  • VGG Dataset: Used for fundamental matrix and homography estimation (e.g., Corridor, House, Merton II, Wadham, Aerial View I, University Library, Christ Church, Valbonne, Kapel, Paris's Invalides).
  • Zurich Building Dataset: Used for fundamental matrix, homography, and affinity estimation (Building 04, 23, 36, 50, 81, 143, 152, 163, 170, 174).
  • AdelaideRMF Dataset: Real-world images for linearized homography estimation (Union House, Old Classic Wing, Ball Hall).
  • NotreDame Dataset: Large-scale multiple-view dataset used to evaluate multiple-view 3D triangulation performance over 11,595 feature tracks.

Key Insights and Ideas

  • Continuous Relaxation of a Discrete Problem: Transforming a combinatorial "counting" problem into a continuous LCC framework allows the use of powerful mathematical programming tools (LPs and QPs) instead of random guessing.
  • Directed Local Search vs. Trial-and-Error: Unlike LO-RANSAC, which uses a randomized trial-and-error sub-routine to improve local estimates, the proposed penalty method acts as a mathematically directed search, systematically driving the solution toward a higher consensus.
  • Robustness to Bad Initializations: A major highlight is the algorithm's ability to recover from highly biased initial estimates. For instance, when initialized with a standard Least Squares (LSQ) estimate on heavily unbalanced outlier data, the penalty method successfully steers the solution back to the true maximum consensus solution.
Example of balanced vs. unbalanced outlier distributions, demonstrating how the proposed method (EP) recovers from a heavily biased Least Squares (LSQ) initialization.

Key Results

  • Higher Consensus Sizes: Across nearly all real-world datasets (homography, fundamental matrix, and affinity estimation), the proposed EP and AM variants consistently discovered larger inlier sets than RANSAC, LO-RANSAC, $\ell_1$ approximations, and $\ell_\infty$ outlier removal.
  • Competitive Runtimes at High Outlier Rates: While slower than basic RANSAC in low-outlier regimes, the proposed deterministic methods scale gracefully. At outlier rates exceeding 35-40%, the deterministic directed search actually becomes faster than RANSAC variants because it avoids the exponential explosion of random sampling iterations.
  • Large-Scale Triangulation: In the massive NotreDame triangulation experiment (11,595 feature tracks), the EP-RS variant achieved the highest total number of successfully triangulated inliers (99,232) compared to standard RANSAC (91,888).

Limitations and Future Work

  • Dependence on Initialization: Because the underlying problem remains non-convex, the algorithms are local optimizers and still require a reasonable starting point (e.g., from a quick RANSAC run or Least Squares) to avoid getting trapped in poor local minima.
  • Computational Overhead of ADMM: The ADMM variant (AM), while mathematically elegant and highly accurate, generally suffers from longer runtimes than the penalty method (EP) due to the requirement of solving quadratic subproblems rather than simpler linear programs. Future work could explore parallelizing the decoupled ADMM steps to mitigate this overhead.

Summary updated

BibTeX
@misc{le2017deterministic,
  author = {Huu Le and Tat-Jun Chin and Anders Eriksson and Thanh-Toan Do and David Suter},
  title = {{Deterministic Approximate Methods for Maximum Consensus Robust Fitting}},
  year = {2017},
  eprint = {1710.10003},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.10003},
}
Figure