Quantum Multi-Model Fitting

Matteo Farina, Luca Magri, Willi Menapace, Elisa Ricci, Vladislav Golyanik, Federica Arrigoni

Abstract

Multi-model fitting (MMF) is a fundamental yet computationally challenging problem in computer vision, characterized by its NP-hard combinatorial nature. This paper introduces QUMF, the first quantum computing approach tailored for MMF. By formulating the problem as a disjoint set cover and mapping it to a Quadratic Unconstrained Binary Optimization (QUBO) framework, the authors utilize Adiabatic Quantum Computers (AQCs) to identify multiple structures in noisy data simultaneously. To address current hardware constraints, the authors propose DEQUMF, a hybrid classical-quantum decomposition strategy. Evaluations on standard benchmarks demonstrate that QUMF achieves superior accuracy and robustness compared to classical heuristics, marking a significant step toward practical quantum-enhanced computer vision.

What Problem Does This Paper Address?

Geometric model fitting is a cornerstone of computer vision, essential for tasks such as 3D reconstruction and object tracking. While fitting a single model (e.g., a single line in a 2D plot) is well-understood, multi-model fitting (MMF)—identifying multiple structures simultaneously in noisy data—is significantly more complex.

MMF is a combinatorial problem that is NP-hard; as the number of potential models and data points grows, the search space expands exponentially. Classical solvers often rely on heuristics that can easily become trapped in local optima. While previous research has explored quantum optimization for single-model fitting, this paper tackles the challenge of fitting multiple disjoint models by leveraging the unique parallelization capabilities of Adiabatic Quantum Computers (AQCs).

The proposed QUMF framework extends quantum geometric fitting from single-model simulations to multi-model solutions on real quantum hardware, such as motion segmentation.

Methods

The authors introduce two primary contributions: QUMF and its decomposed variant, DEQUMF.

  1. QUMF (Quantum Multi-Model Fitting): The authors frame MMF as a disjoint set cover problem: finding the minimum number of models that explain all data points such that each point belongs to exactly one model. This objective is mapped into a QUBO (Quadratic Unconstrained Binary Optimization) formulation, the native language of AQCs, where the problem is expressed as minimizing an energy function of binary variables (qubits).
  2. DEQUMF (Decomposed QUMF): Current quantum hardware is limited by qubit count and connectivity. To solve real-world problems exceeding these limits, the authors developed a classical-quantum hybrid strategy. DEQUMF iteratively partitions large problems into smaller sub-problems that fit on the AQC, solves them, prunes unlikely candidates, and repeats the process until a global solution is reached.

Key Insights and Ideas

  • MMF is "Quantum-Ready": The authors argue that MMF's combinatorial nature makes it a better candidate for quantum speedup than single-model fitting, as AQCs are specifically designed to exploit such search spaces.
  • The "Logical vs. Physical" Qubit Gap: A major hardware insight is that because AQC hardware is not fully connected, a single logical variable often requires a "chain" of multiple physical qubits. This super-linear growth highlights why decomposition strategies like DEQUMF are currently mandatory for real-world applications.
  • Robustness Through Disjointness: By enforcing a "disjoint" constraint (each point belongs to only one model), the QUBO formulation naturally discourages redundant models, avoiding a common failure mode in classical algorithms.

Key Results

The authors evaluated their approach on synthetic (Star5) and real-world benchmarks (AdelaideRMF, Hopkins, York Urban).

  • Hardware Validation: QUMF was successfully executed on the D-Wave Advantage quantum system, proving the formulation works on actual hardware for problems up to 40 variables.
  • Superior Accuracy: On the AdelaideRMF dataset, DEQUMF (using Simulated Annealing as a proxy) achieved a mean misclassification error of 0.77%, significantly outperforming the classical RANSACOV baseline of 9.79%.
  • Outlier Robustness: In single-model tests, DEQUMF maintained an 8.28% error rate at 20% outliers, whereas previous quantum-inspired methods (HQC-RF) jumped to 37%.
Misclassification error comparison on the Star5 dataset. The quantum approach (QuMF) maintains zero error up to the hardware's current variable limits (~40 qubits) before noise impacts performance.

Limitations and Future Work

Despite its success, several bottlenecks remain. The super-linear growth of physical qubits required for logical variables limits the scale of problems that can be solved directly on chips. Furthermore, while DEQUMF is effective, it currently lacks a formal proof of global optimality due to its pruning steps. Future research will focus on integrating outlier rejection directly into the quantum objective and finding more efficient minor embeddings to maximize the utility of existing quantum hardware.

Summary updated

BibTeX
@inproceedings{farina2023quantum,
  author = {Matteo Farina and Luca Magri and Willi Menapace and Elisa Ricci and Vladislav Golyanik and Federica Arrigoni},
  title = {{Quantum Multi-Model Fitting}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.01311},
}
Figure