NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Exact Combinatorial Optimization for Partial Permutation Synchronization

Mohammad Mahdi Omati, Arash AminiNeurIPS 2026

TL;DR

Matching keypoints across dozens of images is a messy combinatorial puzzle usually solved by relaxing binary choices into continuous math and clumsily rounding them back at the end. Omati and Amini show that if you freeze all images except one, the notoriously hard quadratic objective magically collapses into an exact linear problem. By updating one image at a time, they solve correspondences directly in the discrete permutation space—zero rounding, guaranteed cycle consistency, and higher accuracy in milliseconds.

What Problem Does This Paper Address?

Imagine taking five photos of an office from different angles to build a 3D model. A feature matcher compares pairs of photos and guesses which keypoints correspond to the same physical corners. Inevitably, some guesses are noisy: Photo A says corner $X$ is $Y$ in Photo B, Photo B says $Y$ is $Z$ in Photo C, and Photo C claims $Z$ is something else entirely in Photo A.

Fixing these contradictions across a collection of images is called permutation synchronization. We want cycle consistency: following matches around any closed loop of images must bring you back to where you started. Complicating matters in the real world, correspondences are partial—objects get occluded, and images contain isolated "distractor" keypoints visible nowhere else.

Mathematically, finding the best global alignment is an NP-hard, non-concave quadratic optimization over binary matrices. Historically, researchers have taken two imperfect detours:

  1. Continuous relaxations: Smear binary $\{0, 1\}$ assignments into continuous numbers (like orthogonal matrices), optimize there, and round back to integers at the end. This loses tightness, and the final rounding step isn't even part of what was optimized.
  2. Heuristic local search: Swap matches directly by trial and error, sacrificing formal convergence guarantees and often force-matching distractors that shouldn't be matched at all.

Methods

Instead of relaxing the discrete space, the authors map keypoints from each image into a shared "universe" of $d$ distinct 3D point labels, optimizing one image at a time via block-coordinate ascent.

When all images are optimized together, the objective is an ugly quadratic form. However, once you freeze the assignments of $k-1$ images and look only at the remaining image $i$, a clean mathematical cancellation occurs. Because no two keypoints in the same image can share a universe label, all quadratic self-interactions within image $i$ vanish into a linear diagonal trace.

What remains for image $i$ is an intuitive vote count: how many other images match their keypoints to keypoint $r$ of image $i$ while voting for universe label $c$? Finding the best assignment for image $i$ reduces to a standard rectangular linear assignment problem (LAP), solved globally via the classic Jonker–Volgenant algorithm.

Crucially, the constraint matrix for this subproblem is totally unimodular—a property from integer programming guaranteeing that every vertex of the feasible region has integer coordinates. That means solving the linear assignment gives an exact binary $\{0, 1\}$ partial permutation natively. No thresholding, no projections, no rounding.

Datasets

The authors evaluate on 12 high-resolution multi-view sequences from the ETH3D benchmark (spanning indoor clutter, outdoor terrain, and repetitive structures like office, pipes, courtyard, and facade).

For each scene, they pick the $k=5$ views with the highest mutual overlap. Ground-truth correspondences come directly from calibrated 3D geometry (points visible in at least two views form the universe), while noisy input matches are generated by a real SIFT feature matcher. Views also include distractor keypoints visible in only one image, creating a realistic partial-matching testbed where 68%–89% of initial pairwise matches are correct.

Key Insights and Ideas

  • Constraints kill the quadratic headache: Feasibility rules forbid two keypoints in the same image from claiming the same universe label. This structural rule alone annihilates all off-diagonal self-coupling terms, turning an indefinite quadratic objective into an exact linear one per block.
  • Product spaces enable clean updates: Unlike continuous Stiefel-manifold methods—where orthogonality constraints tie every image's rows together—formulating the feasible set as a product of binary partial permutations allows updating one image without breaking the feasibility of the others.
  • Guaranteed finite termination: Because the input matchings are binary, the objective takes integer values. Every strictly improving step raises the score by at least 1, guaranteeing the algorithm hits a block-wise optimum in finitely many passes.
  • Computable quality certificates: Even though the global problem is NP-hard, the authors derive computable spectral and pairwise-LAP upper bounds, letting practitioners measure how close any solution is to the theoretical ceiling.

Key Results

Tested against eight baselines—including continuous/spectral methods (Spectral, NmfSync, Stiefel, FCC, MatchFAME) and discrete local-search solvers (GM-SEQSEQ, GM-PARPAR, GREEDA)—the proposed method takes the top spot in F-score and precision on 11 of 12 scenes (tying the leaders on the 12th, electro).

  • Sharp accuracy jumps: Initialized from MatchFAME, the block-coordinate ascent boosts F-score on office from 67.1% to 76.0% (vs. 68.0% for runner-up NmfSync) and on pipes from 65.9% to 77.7% (vs. 72.6% for NmfSync).
  • Handling distractors: Local-search baselines like GREEDA suffer low precision (56.8% on office vs. 76.4% for this work) because they aggressively match isolated background distractors, creating tangles of false-positive red lines:
GREEDA baseline on office showing heavy false-positive diagonal matches
Proposed exact combinatorial method on office with clean matches and minimal errors
  • Speed and consistency: The method guarantees 100.0% cycle consistency by construction and finishes in 0.043–0.060 seconds total (initialization included)—roughly $4\times$ faster than NmfSync and $5\text{–}11\times$ faster than local-search solvers, adding just 13–16 ms on top of its initialization.

Limitations and Future Work

Because the overall synchronization problem remains non-convex and NP-hard, no polynomial-time algorithm can promise a global optimum. While each single-image update is solved to exact global optimality, the overall alternating procedure is only guaranteed to reach a block-wise optimum—a state where reassigning any single image alone cannot improve the objective further. Future directions are not discussed in the paper.

Summary updated

BibTeX
@inproceedings{omati2026exact,
  author = {Mohammad Mahdi Omati and Arash Amini},
  title = {{Exact Combinatorial Optimization for Partial Permutation Synchronization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=NPIijWupQs},
}
Figure