Abstract
We study the quadratic assignment problem (QAP), also known as graph matching in computer vision. Two leading solvers for this problem optimize Lagrange decomposition duals with sub-gradient and dual ascent (message passing) updates. We explore this direction further and propose several additional Lagrangean relaxations of the graph matching problem along with corresponding algorithms based on a common dual ascent framework. Our extensive empirical evaluation gives several theoretical insights and suggests a new state-of-the-art anytime solver for the considered problem. Our improvement over state-of-the-art is particularly visible on a new dataset with large-scale sparse problem instances containing more than 500 graph nodes each.
Introduction
Graph matching is a fundamental challenge in computer vision, used for tasks such as tracking objects across video frames or matching 3D shapes. Formally, it is treated as a Quadratic Assignment Problem (QAP), where the goal is to find a one-to-one correspondence between nodes in two different graphs that minimizes a global cost function.
While graph matching resembles Maximum-A-Posteriori (MAP) inference in Graphical Models, it is complicated by the uniqueness constraint: each label can be assigned to at most one node. This constraint breaks traditional, efficient message-passing algorithms. Existing solvers typically rely on slow sub-gradient methods or struggle to scale to the large, sparse graphs common in modern computer vision applications.
Methods: The IRPS-LP Framework
We introduce a general framework called IRPS-LP (Integer Relaxed Pairwise Separable Linear Programs) to unify several Lagrangean relaxations of the graph matching problem. We propose five specific relaxations:
- GM as CRF (GM-O): Converts the problem into a standard Graphical Model.
- Label Factors (AMP): Introduces "label factors" to track node-to-label assignments efficiently.
- Network Flow Factor (AMCF): Utilizes a bipartite matching/min-cost flow sub-problem to handle the uniqueness constraint.
- Coupled Formulations (AMP-C & AMCF-C): Solves the original matching problem and its inverse simultaneously to improve convergence on dense graphs.
A core contribution is the adaptation of the Sequential Reweighted Message Passing (SRMP) schedule to our dual ascent framework. We found that the order of message updates is as critical as the mathematical relaxation itself; switching to an SRMP-style schedule provided speedups of 1–2 orders of magnitude over traditional MPLP-style schedules.
Datasets and Experimental Setup
Our evaluation spans six datasets of varying complexity and scale, including a new large-scale benchmark:
The Worms dataset represents a significant jump in scale, featuring up to 600 nodes and 1500 labels, specifically designed for annotating nuclei in C. elegans.
Results and Discussion
Our empirical results highlight the strengths of the proposed dual ascent solvers, particularly the AMP solver.
Key Findings:
- The "Anytime" Advantage: The AMP solver (Label Factors) emerged as an exceptional anytime solver. As seen in Figure 1, it achieves tight lower bounds in the first few iterations, which is critical for real-time systems or for pruning branches in global Branch-and-Bound searches.
- Scalability: While Dual Decomposition (DD) is effective for small, dense graphs like House and Hotel, it fails to scale to the larger Worms or Graph Flow datasets. In contrast, AMP significantly outperforms DD and previous state-of-the-art methods like HBP on large-scale sparse problems.
- Scheduling Impact: The AMCF solver, utilizing min-cost flow, proved significantly faster than the similar HBP algorithm, primarily due to the improved SRMP message-passing schedule.
- Density Trade-offs: Coupled formulations (AMP-C) are robust for dense graphs but become computationally expensive for sparse graphs where the "inverse" graph may become dense.
Conclusion
By treating graph matching through the lens of specialized MAP-inference and optimizing the message-passing schedule, we have developed a suite of solvers that significantly advance the state-of-the-art. The AMP solver, in particular, provides a powerful tool for large-scale, sparse graph matching problems, offering superior anytime performance and tighter lower bounds than previous methods.
Summary updated