Learning Partial Graph Matching via Optimal Partial Transport
Gathika Ratnayaka, James Nichols, Qing Wang
TL;DR
This work tackles partial graph matching, where only a subset of nodes across two graphs should be matched, by linking it to optimal partial transport (OPT).It introduces a POT-inspired objective that uses a weighted total variation divergence to promote valid, biased-aware partial assignments and proves an exact reduction to a linear sum assignment problem solvable by the Hungarian algorithm in $O(n^3)$ time.A deep graph matching architecture is proposed that learns cross-graph affinities, per-node matching biases, and a partial matching loss for end-to-end optimization.Empirical results on image keypoint benchmarks and protein interaction networks demonstrate strong accuracy and efficiency advantages over competitive baselines, with ablations highlighting the benefits of learned matching biases and the method's robustness under varying conditions.
Abstract
Partial graph matching extends traditional graph matching by allowing some nodes to remain unmatched, enabling applications in more complex scenarios. However, this flexibility introduces additional complexity, as both the subset of nodes to match and the optimal mapping must be determined. While recent studies have explored deep learning techniques for partial graph matching, a significant limitation remains: the absence of an optimization objective that fully captures the problem's intrinsic nature while enabling efficient solutions. In this paper, we propose a novel optimization framework for partial graph matching, inspired by optimal partial transport. Our approach formulates an objective that enables partial assignments while incorporating matching biases, using weighted total variation as the divergence function to guarantee optimal partial assignments. Our method can achieve efficient, exact solutions within cubic worst case time complexity. Our contributions are threefold: (i) we introduce a novel optimization objective that balances matched and unmatched nodes; (ii) we establish a connection between partial graph matching and linear sum assignment problem, enabling efficient solutions; (iii) we propose a deep graph matching architecture with a novel partial matching loss, providing an end-to-end solution. The empirical evaluations on standard graph matching benchmarks demonstrate the efficacy of the proposed approach.
