Computing Approximate Graph Edit Distance via Optimal Transport
Qihao Cheng, Da Yan, Tianhao Wu, Zhongyi Huang, Qin Zhang
Abstract
Given a graph pair (G 1 , G 2 ), graph edit distance (GED) is defined as the minimum number of edit operations converting G 1 to G 2 . GED is a fundamental operation widely used in many applications, but its exact computation is NP-hard, so the approximation of GED has gained a lot of attention. Data-driven learning-based methods have been found to provide superior results compared to classical approximate algorithms, but they directly fit the coupling relationship between a pair of vertices from their vertex features. We argue that while pairwise vertex features can capture the coupling cost (discrepancy) of a pair of vertices, the vertex coupling matrix should be derived from the vertex-pair cost matrix through a more well-established method that is aware of the global context of the graph pair, such as optimal transport. In this paper, we propose an ensemble approach that integrates a supervised learning-based method and an unsupervised method, both based on optimal transport. Our learning method, GEDIOT, is based on inverse optimal transport that leverages a learnable Sinkhorn algorithm to generate the coupling matrix. Our unsupervised method, GEDGW, models GED computation as a linear combination of optimal transport and its variant, Gromov-Wasserstein discrepancy, for node and edge operations, respectively, which can be solved efficiently without needing the ground truth. Our ensemble method, GEDHOT, combines GEDIOT and GEDGW to further boost the performance. Extensive experiments demonstrate that our methods significantly outperform the existing methods in terms of the performance of GED computation, edit path generation, and model generalizability.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 04ea9a4a-70af-4fb7-a47a-8952326230feCited by top-tier papers8
- Towards Unsupervised Training of Matching-based Graph Edit Distance Solver via Preference-aware GANWei Huang, Hanchen Wang, Dong Wen, Shaozhen Ma et al.NeurIPS 2025 · 4 citations
- Fused Gromov-Wasserstein Alignment for Graph Edit Distance Computation and BeyondJianheng Tang, Xi Zhao, Lemin Kong, Xiaofang Zhou et al.VLDB 2025 · 2 citations
- Optimal Transport for Brain-Image Alignment: Unveiling Redundancy and Synergy in Neural Information ProcessingYang Xiao, Wang Lu, Jie Ji, Ruimeng Ye et al.ICCV 2025 · 1 citation
- Belidor: A Specification Language for Operationalizing Structural Analogies Between User InterfacesMatthew T. Beaudouin-Lafon, Devamardeep Hayatpur, Arvind Satyanarayan, Haijun XiaCHI 2026 · 1 citation
- A Semantics-aware Approach for Graph Edit Distance Estimation over Knowledge GraphsYingli Zhou, Huizhong Wang, Chenhao Ma, Yixiang FangVLDB 2026
Builds on18
- Strategies for Pre-training Graph Neural NetworksWeihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik et al.ICLR 2020 · 1,744 citations
- 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
- Explainable Legal Case Matching via Inverse Optimal Transport-based Rationale ExtractionWeijie Yu, Zhongxiang Sun, Jun Xu, Zhenhua Dong et al.SIGIR 2022 · 45 citations
- A Learned Sketch for Subgraph CountingKangfei Zhao, Jeffrey Xu Yu, Hao Zhang, Qiyan Li et al.SIGMOD 2021 · 43 citations
Related papers
- Graph Edit Distance with General Costs Using Neural Set DivergenceEeshaan Jain, Indradyumna Roy, Saswat Meher, Soumen Chakrabarti et al.NeurIPS 2024 · 26 citations
- Noah: Neural-optimized A* Search Algorithm for Graph Edit Distance ComputationLei Yang, Lei ZouICDE 2021 · 20 citations
- Towards Generative Graph Matching for Graph Edit Distance ComputationWei Huang, Hanchen Wang, Dong Wen, Wenjie Zhang et al.ICML 2026
- Gelato: Graph Edit Distance via Autoregressive Neural Combinatorial OptimizationPaolo Pellizzoni, Till Hendrik Schulz, Karsten M. BorgwardtICLR 2026
- Rethinking Flexible Graph Similarity Computation: One-Step Alignment with Global GuidanceZhouyang Liu, Ning Liu, Yixin Chen, Jiezhong He et al.ICDE 2026
