Guaranteed Outlier Removal with Mixed Integer Linear Programs

Tat-Jun Chin, Yang Heng Kee, Anders P. Eriksson, Frank NeumannCVPR 2016

Abstract

The maximum consensus problem is fundamentally important to robust geometric fitting in computer vision. Solving the problem exactly is computationally demanding, and the effort required increases rapidly with the problem size. Although randomized algorithms are much more efficient, the optimality of the solution is not guaranteed. Towards the goal of solving maximum consensus exactly, we present guaranteed outlier removal as a technique to reduce the runtime of exact algorithms. Specifically, before conducting global optimization, we attempt to remove data that are provably true outliers, i.e., those that do not exist in the maximum consensus set. We propose an algorithm based on mixed integer linear programming to perform the removal. The result of our algorithm is a smaller data instance that admits a much faster solution by subsequent exact algorithms, while yielding the same globally optimal result as the original problem. We demonstrate that overall speedups of up to 80% can be achieved on common vision problems.

Introduction

In computer vision, fitting geometric models to noisy data containing outliers is a core challenge. The "gold standard" approach is the Maximum Consensus problem, which seeks the model parameters consistent with the largest possible number of data points. Researchers typically choose between fast but non-optimal randomized methods (like RANSAC) or guaranteed optimal but computationally expensive exact methods (like Branch-and-Bound). GORE (Guaranteed Outlier REmoval) bridges this gap by introducing a provable preprocessing step that prunes the dataset before the final optimization.

The GORE Algorithm

GORE uses Mixed Integer Linear Programming (MILP) to identify data points that cannot possibly be part of the optimal consensus set. The method works through a contradiction test:

  1. Upper Bound ($\hat{u}$): A fast approximate algorithm provides an initial estimate of the maximum consensus size, setting an upper bound on the number of outliers in the optimal solution.
  2. Lower Bound ($\alpha^k$): For a specific point $k$, the algorithm calculates the minimum number of other points that must be discarded if $k$ is forced to be an inlier. This is formulated as a MILP subproblem.
  3. Rejection Criterion: If the lower bound $\alpha^k$ is greater than the upper bound $\hat{u}$, point $k$ is mathematically proven to be an outlier and is removed.

To maintain efficiency, the algorithm uses a time-limited Branch-and-Bound solver for the MILP subproblems. It also employs $L_1$ or $L_\infty$ norms to linearize complex geometric residuals, making the technique applicable to problems like homography and triangulation.

Impact of Pruning

The efficiency of GORE stems from the "Small Reduction, Big Gain" principle. Because exact solvers scale poorly with dataset size, removing even a small percentage of guaranteed outliers can reduce the final optimization time by an order of magnitude.

Comparison of global optimization on a 100-point set (left) vs. a reduced 95-point set after GORE preprocessing (right). Pruning just 5 points reduces total runtime by approximately 80%.

As illustrated above, in a 3D plane fitting scenario, removing just 5 true outliers reduced the total runtime from ~423 seconds to ~82 seconds. This demonstrates that the overhead of the MILP preprocessing is often far outweighed by the savings in the subsequent global optimization phase.

Performance and Limitations

Experimental results across tasks like affine image matching and epipolar geometry estimation show speedups of 35% to 79%. However, the method's effectiveness is tied to the model's dimensionality ($L$).

The computational gain of GORE relative to model dimensionality (L) and outlier ratio (T/N). Gains are most significant for mid-range dimensions (L=4 to 7).

As dimensionality increases (e.g., $L=8$), the time required to find lower bounds can exceed the time saved during optimization, leading to diminishing or even negative gains. Similarly, for very low-dimensional problems ($L=3$), the exact solver may already be fast enough that preprocessing is unnecessary. GORE is most effective for models with 4 to 7 degrees of freedom, where it significantly pushes the boundaries of what exact solvers can handle.

Summary updated

BibTeX
@inproceedings{chin2016guaranteed,
  author = {Tat-Jun Chin and Yang Heng Kee and Anders P. Eriksson and Frank Neumann},
  title = {{Guaranteed Outlier Removal with Mixed Integer Linear Programs}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  url = {https://openreview.net/forum?id=Sy-pUAZubr},
}
Figure