TL;DR
Graph matching, or the quadratic assignment problem (QAP), is a fundamental but computationally expensive task in computer vision. This paper introduces a breakthrough by successfully adapting "fusion moves" optimization to graph matching. By mathematically proving the necessity of strictly feasible proposal assignments and utilizing efficient approximate solvers, the authors achieved a new state-of-the-art. Their solver handles massive graph matching instances with over 500 nodes in under a second, making it ideal for modern deep learning pipelines.
The Graph Matching Challenge
Graph matching involves finding correspondences between two sets of nodes while preserving their structural relationships (edges). This is mathematically formulated as the Quadratic Assignment Problem (QAP), which is NP-hard.
In the context of modern "deep graph matching," neural networks learn to extract features by calling a combinatorial solver directly within the training loop. This requires solvers that are not only highly accurate but also incredibly fast—typically needing to run in under one second to be practical. Existing methods often fail this balance: dual optimization methods provide accuracy but are too slow for large graphs, while primal heuristics are fast but often inaccurate.
Methods: Adapting Fusion Moves
The core innovation of this work is the adaptation of fusion moves for graph matching. Originally successful in Markov Random Field (MRF) optimization, fusion moves work by taking a current "best" assignment and a new "proposal" assignment, then merging them to find a superior hybrid solution.
To make this work for the QAP, the authors introduced three key technical advancements:
- Enforcing Feasibility: The authors proved that for graph matching, proposals must be feasible—meaning they strictly satisfy uniqueness constraints (e.g., each node in image A matches to exactly one node in image B). Without this, the mathematical search space collapses, rendering the fusion step ineffective.
- Randomized Greedy Proposals: To generate high-quality, diverse proposals, they utilized a dual Block-Coordinate Ascent (BCA) solver. By introducing a randomized greedy heuristic that leverages the solver's reparametrized costs, they generated a diverse population of valid proposals for the fusion step.
- Approximate Fusion via QPBO: To merge proposals rapidly, they employed Quadratic Pseudo-Boolean Optimization (QPBO). This approximate solver is 10-50x faster than exact Integer Linear Programming (ILP) solvers while yielding identical solution quality in practice.
Key Results and Scaling
The proposed method, bca-greedy+qpbo-i, was evaluated on 316 instances across 8 datasets, ranging from small-scale image matching to large-scale bio-imaging tasks.
Unprecedented Performance
- State-of-the-Art Accuracy: The method consistently outperforms existing top-tier dual methods like AMP and HBP in both speed and final energy levels.
- Extreme Speed: Most easy and mid-difficulty problems are solved to optimality in significantly less than one second.
- Massive Scale: On the
pairsdataset, which involves matching over 500 nuclei in C. elegans, the solver finds highly accurate solutions in under a second. These are among the largest graph matching instances ever evaluated in the computer vision literature.
Conclusion and Future Work
By identifying that feasibility is the critical requirement for fusion moves in graph matching, the authors have unlocked a powerful new heuristic. The ability to achieve high accuracy at such high speeds allows for the integration of this solver into end-to-end deep learning frameworks. Future work will focus on plugging this ultra-fast solver into deep graph matching pipelines, enabling neural networks to be trained on significantly larger and more complex graphs than previously possible.
Summary updated