Fast Approximate Quadratic Programming for Graph Matching

Joshua T Vogelstein, John M. Conroy, Vince Lyzinski, Louis J. Podrazik, Steven G. Kratzer, Eric T. Harley, Donniell E. Fishkind, R. Jacob Vogelstein, Carey E. PriebePLoS 2015

Abstract

Quadratic assignment problems arise in a wide variety of domains, spanning operations research, graph theory, computer vision, and neuroscience, to name a few. The graph matching problem is a special case of the quadratic assignment problem, and graph matching is increasingly important as graph-valued data is becoming more prominent. With the aim of efficiently and accurately matching the large graphs common in big data, we present our graph matching algorithm, the Fast Approximate Quadratic assignment algorithm. We empirically demonstrate that our algorithm is faster and achieves a lower objective value on over 80% of the QAPLIB benchmark library, compared with the previous state-of-the-art. Applying our algorithm to our motivating example, matching C. elegans connectomes (brain-graphs), we find that it efficiently achieves performance.

Introduction

Graph matching (GM) involves finding the optimal alignment between the vertices of two graphs to minimize edge disagreements. This problem is central to fields such as computer vision and neuroscience, particularly in the comparison of "brain-graphs" or connectomes. However, GM is a special case of the Quadratic Assignment Problem (QAP), which is NP-hard. Consequently, finding exact solutions for large-scale graphs is computationally prohibitive.

Existing approximation methods often struggle with a trade-off between speed and accuracy. Many previous approaches utilized convex optimization, but these simplifications can inadvertently lead solvers away from the global optimum. This paper introduces the Fast Approximate Quadratic assignment (FAQ) algorithm, which leverages an indefinite relaxation to achieve superior performance.

Methods: The FAQ Algorithm

The FAQ algorithm approaches graph matching through an indefinite relaxation rather than a convex one. The optimization is performed using the Frank-Wolfe (FW) method, an iterative procedure consisting of three primary phases:

  1. Initialization: The algorithm starts at a "neutral" point, the barycenter of the set of possible mappings.
  2. Iterative Optimization:
    • Gradient Computation: The gradient of the objective function is calculated. By exploiting the Kronecker product structure, the authors reduce the complexity of this step from $O(n^4)$ to $O(n^3)$.
  3. Direction Finding: A Linear Assignment Problem (LAP) is solved using the Hungarian Algorithm to determine the optimal search direction.
  4. Line Search: An exact line search identifies the optimal step size, facilitated by the quadratic nature of the objective function.
  5. Projection: Upon convergence to a "doubly stochastic" matrix (a fuzzy mapping), the result is projected back onto the nearest permutation matrix (a hard 1-to-1 mapping) via a final LAP.

While the worst-case complexity is $O(n^3)$ per iteration, the authors show that the leading constant is remarkably small (roughly $10^{-9}$), making it practical for real-world use.

Experimental Results

The FAQ algorithm was evaluated against several established benchmarks and a unique biological dataset:

  • QAPLIB Benchmarks: On 137 standard problems, FAQ achieved a lower objective value than the previous state-of-the-art (PATH) in over 80% of cases. When compared against a suite of four top algorithms (PATH, QCV, RANK, and Umeyama), FAQ outperformed the best of them on approximately 94% of the benchmarks.
  • C. elegans Connectome: In matching chemical synapse networks of the C. elegans worm (~300 neurons), FAQ achieved 100% accuracy in recovering permuted mappings, a feat none of the competing algorithms could replicate.
  • Computational Efficiency: FAQ consistently demonstrated faster runtimes and better scaling than the PATH algorithm as graph size increased.

Discussion and Conclusion

A key insight of this work is that indefinite relaxation is theoretically superior for graph matching; the global minimum of an indefinite relaxation is guaranteed to be the correct isomorphism if one exists. Furthermore, the use of multiple restarts with random starting points significantly improves the likelihood of finding the global optimum in the presence of local minima.

Despite its efficiency, the $O(n^3)$ complexity remains a challenge for massive graphs (e.g., 100,000+ vertices). Future work will explore dimensionality reduction, parallelization of the Linear Assignment Problem, and improved robustness to noise in experimental data. In summary, FAQ represents a significant advancement in the scalable and accurate matching of complex graph structures.

Summary updated

BibTeX
@inproceedings{vogelstein2015fast,
  author = {Joshua T Vogelstein and John M. Conroy and Vince Lyzinski and Louis J. Podrazik and Steven G. Kratzer and Eric T. Harley and Donniell E. Fishkind and R. Jacob Vogelstein and Carey E. Priebe},
  title = {{Fast Approximate Quadratic Programming for Graph Matching}},
  booktitle = {PLoS},
  year = {2015},
  doi = {10.1371/journal.pone.0121002},
}
Figure