Equivariant Neural Primal-Dual Assignment for Maximum Common Edge Subgraphs
Jiaqing Xie, Yanchao Li, Zhuo Yang, Yuxin Wang, Tianfan Fu, Yuqiang Li
Key points
From the paper's conclusion- We introduce Equivariant Neural Primal-Dual Assignment (ENPDA), which learns a shared matching policy and applies it to new pairs without further training, answering queries roughly three orders of magnitude faster and recovering its training cost after a few dozen queries.
- ENPDA recomputes exact objective marginals for candidate matches and learns corrections and step sizes that update their scores. Four update rounds and a Hungarian projection produce a partial one-to-one matching.
- On three molecular benchmarks with disjoint train/validation/test splits, ENPDA improves over an analytic counterpart with the same update and projection budget by 7.4-8.6 accuracy points; after one second of refinement search, 2.5-3 points of the gain remain.
Abstract
Maximum common edge subgraph (MCES) matching finds a partial vertex correspondence between two labeled graphs that preserves as many labeled edges as possible. Molecular similarity search requires matching many graph pairs, making the cost of repeated queries important. The strongest baseline attains accurate MCES solutions but trains a separate network for each pair. We introduce Equivariant Neural Primal-Dual Assignment (ENPDA), which learns a shared matching policy and applies it to new pairs without further training, answering queries roughly three orders of magnitude faster and recovering its training cost after a few dozen queries. The policy recomputes exact objective marginals for candidate matches and learns corrections and step sizes that update their scores. Target prices respond to competition when several source vertices favor the same target. Four update rounds and a Hungarian projection produce a partial one-to-one matching. We prove per-pair guarantees that hold for any network parameters. In exact arithmetic, reordering either graph permutes the assignment and price states, the projected matching is one-to-one, and repaired prices give a valid MCES upper bound. Subtracting the preserved-edge count bounds the optimality gap; combined with structural caps, these certificates prove global optimality for 60 of 291 native test pairs. On three molecular benchmarks with disjoint train/validation/test splits, ENPDA improves over an analytic counterpart with the same update and projection budget by 7.4-8.6 accuracy points; after one second of refinement search, 2.5-3 points of the gain remain. Transferred without fine-tuning to edge-deletion tasks from social and protein graphs, the policy gains 9.1-17.6 points over the analytic counterpart. When output matchings must keep aromatic rings intact, ENPDA recovers more reference bonds than the baselines on all three datasets.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- We introduce Equivariant Neural Primal-Dual Assignment (ENPDA), which learns a shared matching policy and applies it to new pairs without further training, answering queries roughly three orders of magnitude faster and recovering its training cost after a few dozen queries.
- ENPDA recomputes exact objective marginals for candidate matches and learns corrections and step sizes that update their scores. Four update rounds and a Hungarian projection produce a partial one-to-one matching.
- On three molecular benchmarks with disjoint train/validation/test splits, ENPDA improves over an analytic counterpart with the same update and projection budget by 7.4-8.6 accuracy points; after one second of refinement search, 2.5-3 points of the gain remain.
Readers' thoughts
No reader thoughts yet.
Related papers
- A Unified Dual Method for Matching ProblemsarXiv · 2026
- Critical Mass: Structure-Disjoint Splits Drift With the Libraries They Are Built OnarXiv · 2026
- Learning to Compare Neural Representations from Parameterized Computation GraphsarXiv · 2026
- Mechanistic Reaction Prediction via Discrete Flow Matching on Graph-Structured Electron OccupationarXiv · 2026
- Rapid Exploration of the Assembly Chemical Space of Molecular GraphsJournal of Chemical Information and Modeling · 2025
- Degree-bounded Satisfiability of Local MPNNs with Sum Aggregation is NEXPTIME-hardarXiv · 2026