Abstract
We present QuantumSync, the first quantum algorithm for solving a synchronization problem in the context of computer vision. In particular, we focus on permutation synchronization which involves solving a non-convex optimization problem in discrete variables. We start by formulating synchronization into a quadratic unconstrained binary optimization problem (QUBO). While such formulation respects the binary nature of the problem, ensuring that the result is a set of permutations requires extra care. Hence, we: (I) show how to insert permutation constraints into a QUBO problem and (ii) solve the constrained QUBO problem on the current generation of the adiabatic quantum computers D-Wave. Thanks to the quantum annealing, we guarantee global optimality with high probability while sampling the energy landscape to yield confidence estimates. Our proof-of-concepts realization on the adiabatic D-Wave computer demonstrates that quantum machines offer a promising way to solve the prevalent yet difficult synchronization problems.
Introduction
Permutation synchronization is a fundamental problem in computer vision, particularly in multi-view matching tasks. Given multiple images of an object, the goal is to find a globally consistent set of matches across all views. This consistency, often referred to as cycle consistency, ensures that matches between images A and B, and B and C, logically align with matches between A and C.
Mathematically, this is a combinatorial, non-convex optimization problem. On classical hardware, solving this natively is NP-hard, leading researchers to rely on "continuous relaxations." These methods approximate discrete binary variables with continuous values, which can result in the algorithm becoming trapped in local optima. QuantumSync proposes to solve the discrete problem directly using adiabatic quantum computing to find the true global optimum.
Methods: The QuantumSync Algorithm
QuantumSync leverages the unique capabilities of Adiabatic Quantum Computers (AQCs), specifically the D-Wave system, to find globally optimal solutions without the need for rounding or approximations.
The algorithm follows a structured workflow:
- QUBO Formulation: The synchronization objective is translated into a Quadratic Unconstrained Binary Optimization (QUBO) format, which is the native language of AQCs.
- Constraint Injection: To ensure the output represents valid permutation matrices (where each point maps to exactly one other point), the authors incorporate linear penalty constraints directly into the QUBO's energy landscape.
- Quantum Annealing: The logical problem is "minor-embedded" onto the physical qubits of the D-Wave Advantage 1.1. Through quantum annealing—leveraging quantum superposition and tunneling—the system naturally settles into its lowest energy state, corresponding to the globally optimal matching.
Experimental Results
The authors evaluated QuantumSync on both real-world and synthetic datasets. The real-world evaluation utilized the Willow Object Classes dataset, focusing on sub-problems with 4 views and 4 keypoints per view across categories like cars, ducks, motorbikes, and wine bottles.
As shown in Table 1, QuantumSync achieved an average accuracy of 87%, performing competitively with heavily engineered classical methods such as ALS, LIFT, and Birkhoff. On synthetic data, the algorithm demonstrated the ability to find global optima for various graph configurations, including up to 8 views with 3 points or 3 views with 5 points.
Discussion and Future Outlook
A significant advantage of the quantum approach is the ability to sample the energy landscape. By analyzing the $k$-lowest energy solutions, QuantumSync can provide confidence estimates and uncertainty quantification, which is difficult to achieve with deterministic classical solvers. This sampling can even be used to ensemble more accurate final answers.
However, current hardware limitations pose challenges. The limited connectivity of physical qubits requires complex minor embedding, which restricts the current implementation to relatively small problem sizes (under 64 logical variables). Additionally, as problems grow, "chain breaks" in the physical qubits can reduce the probability of measuring the optimal solution.
Despite these constraints, QuantumSync represents a major milestone in quantum computer vision. As quantum hardware continues to scale in qubit count and connectivity, these native discrete formulations are poised to solve large-scale synchronization problems that remain intractable for classical systems.
Summary updated