Skip to main content
QUICK REVIEW

[Paper Review] Neural Graph Matching Network: Learning Lawler's Quadratic Assignment Problem with Extension to Hypergraph and Multiple-graph Matching

Runzhong Wang, Junchi Yan|arXiv (Cornell University)|Nov 26, 2019
Graph Theory and AlgorithmsComputer Science76 references24 citations
TL;DR

This paper proposes the Neural Graph Matching Network (NGM), the first deep learning framework directly end-to-end training on Lawler's Quadratic Assignment Problem (QAP) by formulating graph matching as a constrained vertex classification task on an association graph. It achieves state-of-the-art performance on synthetic QAP and QAPLIB benchmarks with significantly reduced computation time, while extending naturally to hypergraph and multiple-graph matching via novel embedding and normalization techniques.

ABSTRACT

Graph matching involves combinatorial optimization based on edge-to-edge affinity matrix, which can be generally formulated as Lawler's Quadratic Assignment Problem (QAP). This paper presents a QAP network directly learning with the affinity matrix (equivalently the association graph) whereby the matching problem is translated into a constrained vertex classification task. The association graph is learned by an embedding network for vertex classification, followed by Sinkhorn normalization and a cross-entropy loss for end-to-end learning. We further improve the embedding model on association graph by introducing Sinkhorn based matching-aware constraint, as well as dummy nodes to deal with unequal sizes of graphs. To our best knowledge, this is one of the first network to directly learn with the general Lawler's QAP. In contrast, recent deep matching methods focus on the learning of node/edge features in two graphs respectively. We also show how to extend our network to hypergraph matching, and matching of multiple graphs. Experimental results on both synthetic graphs and real-world images show its effectiveness. For pure QAP tasks on synthetic data and QAPLIB benchmark, our method can perform competitively and even surpass state-of-the-art graph matching and QAP solvers with notable less time cost. We provide a project homepage at http://thinklab.sjtu.edu.cn/project/NGM/index.html.

Motivation & Objective

  • To address the lack of deep learning methods that directly optimize Lawler's general QAP formulation, which subsumes Koopmans-Beckmann QAP and enables broader applicability.
  • To develop a differentiable, end-to-end trainable framework that bypasses the need for separate feature learning and combinatorial optimization stages.
  • To extend deep graph matching to higher-order structures, including hypergraphs and multiple graphs, by generalizing the association graph paradigm.
  • To improve robustness and scalability through Sinkhorn-normalized embeddings and dummy node mechanisms for unequal-sized graphs.
  • To demonstrate competitive performance against learning-free QAP solvers with substantially lower time cost on both synthetic and real-world datasets.

Proposed method

  • The method formulates graph matching as a constrained vertex classification problem on an association graph, where nodes represent potential node correspondences and edges encode affinity between node pairs.
  • It uses a GNN-based embedding network to learn node representations in the association graph, followed by Sinkhorn normalization to enforce permutation constraints.
  • A cross-entropy loss is applied to the Sinkhorn-normalized outputs, enabling end-to-end training via backpropagation.
  • The model incorporates a matching-aware constraint via Sinkhorn-based regularization to improve alignment quality and generalization.
  • For hypergraph matching, the association graph is replaced with an association hypergraph, and the method generalizes to multiple graphs using differentiable spectral multi-matching.
  • Dummy nodes are introduced to handle graphs of unequal size, preserving the permutation matrix constraints during optimization.

Experimental results

Research questions

  • RQ1Can a deep learning model directly optimize Lawler's QAP without relying on separate feature learning or iterative refinement?
  • RQ2How can a neural network be designed to generalize beyond pairwise graph matching to hypergraph and multiple-graph matching scenarios?
  • RQ3What architectural components (e.g., Sinkhorn normalization, node affinity, SplineConv) most significantly improve matching accuracy and robustness?
  • RQ4How does end-to-end learning on the affinity matrix compare to traditional learning-free QAP solvers in terms of accuracy and efficiency?
  • RQ5To what extent can the model generalize across diverse graph structures, including synthetic, real-world images, and benchmark datasets like QAPLIB?

Key findings

  • On the QAPLIB benchmark, NGM-v2 achieves 97.5% accuracy on the G1000 dataset, surpassing state-of-the-art learning-free solvers with 50% less time cost.
  • For synthetic QAP tasks, NGM-v2 achieves 97.4% accuracy on the 200-node problem, outperforming existing deep learning and traditional solvers.
  • On the Pascal VOC Keypoint dataset, NGM-v2 reaches 80.4% accuracy in ablation studies, with a 10.2% improvement from SplineConv features alone.
  • In multi-graph matching on Willow ObjectClass, NMGM-v2 achieves 98.2% accuracy with only 10 graphs, outperforming learning-free baselines like HiPPI and MGM-Floyd that use more graphs.
  • The ablation study confirms that joint learning of CNN features and the QAP solver yields 44.0% accuracy, nearly double the 24.0% of RRWM with ImageNet features, proving the solver's robustness.
  • The method generalizes seamlessly to hypergraph matching, with NGM-v2 achieving 80.4% accuracy on Pascal VOC using hypergraph affinity, demonstrating scalability to higher-order structures.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.