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

Runzhong Wang, Junchi Yan, Xiaokang Yang
11/26/2019
cs.LGcs.CVstat.ML

Official code: Thinklab-SJTU/ThinkMatch (883 stars, Python, last commit 2026-08-13).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

A research protocol for deep graph matching.

883117Python, C++Sep 6, 20193 months agoNOASSERTION
combinatorial-optimizationgraph-matchingneural-graph-matchingquadratic-assignment-problem

Similar Papers

Cite this paper

@article{wang2019neural,
  title  = {Neural Graph Matching Network: Learning Lawler's Quadratic Assignment Problem with Extension to Hypergraph and Multiple-graph Matching},
  author = {Runzhong Wang and Junchi Yan and Xiaokang Yang},
  year   = {2019},
  eprint = {1911.11308},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.11308}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1911.11308.svg)](https://codeofpaper.com/paper/1911.11308)

Discussion