Quantum Robust Fitting

Tat-Jun Chin, David Suter, Shin-Fang Ch'ng, James Quach

TL;DR

This paper introduces one of the first quantum algorithms for robust fitting in computer vision, a task typically plagued by NP-hardness. By reformulating outlier detection through the lens of "influence" in Boolean functions, the authors leverage the Bernstein-Vazirani quantum circuit to achieve a theoretical $O(N)$ speedup over classical sampling methods, where $N$ is the number of data points.

What Problem Does This Paper Address?

Robust fitting—the process of fitting a geometric model (like a line or a 3D structure) to data containing noise and outliers—is a cornerstone of computer vision. However, finding the "maximum consensus" set (the largest set of points that fit a model within a given error) is computationally intractable.

While practitioners currently rely on randomized heuristics like RANSAC, these lack strong theoretical guarantees and can become a bottleneck as datasets grow. The authors address the challenge of finding a more principled, scalable way to identify outliers by exploring the nascent field of quantum computing.

Methods

The core of the paper is the concept of influence, a measure of "outlyingness" borrowed from the analysis of monotone Boolean functions.

  1. Influence Metric: They define a Boolean feasibility function $f(z)$ that returns 0 if a subset of points (represented by the binary vector $z$) can be fitted within an error threshold $\epsilon$, and 1 otherwise. The influence $\alpha_i$ of a point $p_i$ is the probability that adding or removing it from a random subset changes the feasibility result.
  2. Classical Algorithm: A sampling-based approach estimates these influences. However, each iteration requires checking the feasibility of $N$ different variations (one for each point), leading to $O(NM)$ total calls to the feasibility function for $M$ iterations.
  3. Quantum Bernstein-Vazirani (BV) Circuit: The authors prove that these influences are "direct outputs" of a BV circuit. By encoding the feasibility function into a quantum oracle, a single quantum iteration provides information about all $N$ influences simultaneously. This reduces the query complexity to $O(M)$, providing a theoretical speedup factor of $N$.

Datasets

The authors evaluated their influence-based approach on several fundamental geometric computer vision tasks:

  • 2D Line Fitting: A synthetic dataset of 100 points on a plane with added outliers.
  • Multiple View Triangulation: Estimating 3D coordinates from 34 calibrated camera views of a scene.
  • Homography Estimation: Aligning feature correspondences between two images. They tested this on datasets ranging from small (20 points) to large (995 points) instances.

Key Insights and Ideas

  • The Influence Dichotomy: A striking finding is that outliers consistently exhibit significantly higher influence values than inliers. This creates a clear "dichotomy" that allows for simple thresholding to separate "good" data from "bad" data. Figure 1(b): Influence naturally separates inliers (blue) from outliers (red) in a line fitting task.

  • Algorithmic Quantum Advantage: The quantum advantage here isn't just about faster hardware; it's structural. The quantum circuit effectively collapses the $O(N)$ inner loop of the classical algorithm into a single operation by leveraging quantum parallelism.

  • Quasiconvexity as a Bridge: By focusing on quasiconvex residual functions (common in geometric vision), the authors ensure that the underlying minimax problems are tractable. This makes the quantum oracle $U_f$ theoretically efficient to implement with a polynomial number of gates.
Figure 1(b): Influence naturally separates inliers (blue) from outliers (red) in a line fitting task.

Key Results

  • Linear Speedup: The primary result is the $O(N)$ reduction in query complexity. For a homography estimation task with $N=516$ points, the quantum version requires 516 times fewer calls to the feasibility function than the classical version to achieve the same result.
  • Effective Outlier Removal: Qualitative results show that thresholding based on influence successfully cleans up noisy feature correspondences in complex real-world scenes. Figure 1(e): Two-view feature correspondences before filtering. The influence-based method successfully identifies the red outliers.

  • Statistical Reliability: The authors demonstrate that the estimated influences converge to the true values following Hoeffding’s inequality, ensuring that the approximate results from the quantum measurements are reliable as the number of iterations $M$ increases.

Figure 1(e): Two-view feature correspondences before filtering. The influence-based method successfully identifies the red outliers.

Limitations and Future Work

The most significant limitation is the current state of hardware; "digital" (universal gate) quantum computers required for this algorithm are not yet large or stable enough for practical deployment on these specific vision problems.

Additionally, the current formulation assumes a single geometric structure in the data. Real-world scenes often contain multiple structures (e.g., several different moving objects), and the authors note that the behavior of influences in multi-structure data is a subject for further study. Future work will also focus on devising quantum algorithms with even better speed-up factors and tighter approximation bounds.

Summary updated

BibTeX
@inproceedings{chin2020quantum,
  author = {Tat-Jun Chin and David Suter and Shin-Fang Ch'ng and James Quach},
  title = {{Quantum Robust Fitting}},
  booktitle = {ACCV},
  year = {2020},
  url = {https://openreview.net/forum?id=as2piUG9AK},
}
Figure