Enhancing Graph Edit Distance Computation: Stronger and Orientation-based ILP Formulations
Andrea D'Ascenzo, Julian Meffert, Petra Mutzel, Fabrizio Rossi
Abstract
The graph edit distance (GED) is among the most widely used graph similarity measures in practice. It asks for a minimum cost edit path between two given labeled graphs G and H , where the edit path is defined as a sequence of operations (e.g., node and edge insertions, deletions or substitutions) that successively transform the graph G into H.
In this work, we suggest a new ILP formulation (FORI) based on orienting the corresponding edge variables. Moreover, we suggest enhancing two state-of-the-art ILP formulations by incorporating additional inequalities. We theoretically compare the strength of the formulations with respect to their Linear Programming relaxations. The result is a hierarchy with (FORI) at the top. Our extensive evaluation on widely used benchmark sets shows that our improved formulations run significantly faster than the previous ones. These allow to solve to proven optimality all the reference instances from common databases, such as the IAM Graph Database, many of which were prohibitive with state-of-the-art methods. Moreover, we are able to compute the GED of a small pattern and a large graph such as CORA and PUBMED, having up to 19,717 nodes and 44,327 edges.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
1 top-tier paper has cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Computing Graph Edit Distance via Neural Graph Matching cites Speeding Up GED Verification for Graph Similarity Search
- Computing Graph Edit Distance via Neural Graph Matching cites TaGSim: Type-aware Graph Similarity Learning and Computation
- GREED: A Neural Framework for Learning Graph Distance Functions cites H2MN: Graph Similarity Learning with Hierarchical Hypergraph Matching Networks
- GREED: A Neural Framework for Learning Graph Distance Functions cites TaGSim: Type-aware Graph Similarity Learning and Computation
- TaGSim: Type-aware Graph Similarity Learning and Computation cites Speeding Up GED Verification for Graph Similarity Search
Cited by top-tier papers1
Builds on7
- GREED: A Neural Framework for Learning Graph Distance FunctionsRishabh Ranjan, Siddharth Grover, Sourav Medya, Venkatesan T. Chakaravarthy et al.NeurIPS 2022 · 70 citations
- Computing Graph Edit Distance via Neural Graph MatchingChengzhi Piao, Tingyang Xu, Xiangguo Sun, Yu Rong et al.VLDB 2023 · 49 citations
- H2MN: Graph Similarity Learning with Hierarchical Hypergraph Matching NetworksZhen Zhang, Jiajun Bu, Martin Ester, Zhao Li et al.KDD 2021 · 41 citations
- Speeding Up GED Verification for Graph Similarity SearchLijun Chang, Xing Feng, Xuemin Lin, Lu Qin et al.ICDE 2020 · 31 citations
- TaGSim: Type-aware Graph Similarity Learning and ComputationJiyang Bai, Peixiang ZhaoVLDB 2022 · 29 citations
Related papers
- Towards Generative Graph Matching for Graph Edit Distance ComputationWei Huang, Hanchen Wang, Dong Wen, Wenjie Zhang et al.ICML 2026
- Rethinking Flexible Graph Similarity Computation: One-Step Alignment with Global GuidanceZhouyang Liu, Ning Liu, Yixin Chen, Jiezhong He et al.ICDE 2026
- Gelato: Graph Edit Distance via Autoregressive Neural Combinatorial OptimizationPaolo Pellizzoni, Till Hendrik Schulz, Karsten M. BorgwardtICLR 2026
- Graph Edit Distance with General Costs Using Neural Set DivergenceEeshaan Jain, Indradyumna Roy, Saswat Meher, Soumen Chakrabarti et al.NeurIPS 2024 · 26 citations
- Combinatorial Learning of Graph Edit Distance via Dynamic EmbeddingRunzhong Wang, Tianqi Zhang, Tianshu Yu, Junchi Yan et al.CVPR 2021
