Lune

SIGMOD2025Top-tier venue

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 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.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Semantics-aware Approach for Graph Edit Distance Estimation over Knowledge Graphs cites Strategies for Pre-training Graph Neural Networks
  • A Semantics-aware Approach for Graph Edit Distance Estimation over Knowledge Graphs cites Computing Graph Edit Distance via Neural Graph Matching
  • Computing Graph Edit Distance via Neural Graph Matching cites A Learned Sketch for Subgraph Counting
  • GREED: A Neural Framework for Learning Graph Distance Functions cites Strategies for Pre-training Graph Neural Networks
  • Fused Gromov-Wasserstein Alignment for Graph Edit Distance Computation and Beyond cites Computing Graph Edit Distance via Neural Graph Matching
  • Towards Unsupervised Training of Matching-based Graph Edit Distance Solver via Preference-aware GAN cites Computing Graph Edit Distance via Neural Graph Matching
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. 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
  2. Fused Gromov-Wasserstein Alignment for Graph Edit Distance Computation and BeyondJianheng Tang, Xi Zhao, Lemin Kong, Xiaofang Zhou et al.VLDB 2025 · 2 citations
  3. 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
  4. Belidor: A Specification Language for Operationalizing Structural Analogies Between User InterfacesMatthew T. Beaudouin-Lafon, Devamardeep Hayatpur, Arvind Satyanarayan, Haijun XiaCHI 2026 · 1 citation
  5. A Semantics-aware Approach for Graph Edit Distance Estimation over Knowledge GraphsYingli Zhou, Huizhong Wang, Chenhao Ma, Yixiang FangVLDB 2026

Builds on18

  1. Strategies for Pre-training Graph Neural NetworksWeihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik et al.ICLR 2020 · 1,744 citations
  2. GREED: A Neural Framework for Learning Graph Distance FunctionsRishabh Ranjan, Siddharth Grover, Sourav Medya, Venkatesan T. Chakaravarthy et al.NeurIPS 2022 · 70 citations
  3. Computing Graph Edit Distance via Neural Graph MatchingChengzhi Piao, Tingyang Xu, Xiangguo Sun, Yu Rong et al.VLDB 2023 · 49 citations
  4. Explainable Legal Case Matching via Inverse Optimal Transport-based Rationale ExtractionWeijie Yu, Zhongxiang Sun, Jun Xu, Zhenhua Dong et al.SIGIR 2022 · 45 citations
  5. A Learned Sketch for Subgraph CountingKangfei Zhao, Jeffrey Xu Yu, Hao Zhang, Qiyan Li et al.SIGMOD 2021 · 43 citations

Related papers

  1. Graph Edit Distance with General Costs Using Neural Set DivergenceEeshaan Jain, Indradyumna Roy, Saswat Meher, Soumen Chakrabarti et al.NeurIPS 2024 · 26 citations
  2. Noah: Neural-optimized A* Search Algorithm for Graph Edit Distance ComputationLei Yang, Lei ZouICDE 2021 · 20 citations
  3. Towards Generative Graph Matching for Graph Edit Distance ComputationWei Huang, Hanchen Wang, Dong Wen, Wenjie Zhang et al.ICML 2026
  4. Gelato: Graph Edit Distance via Autoregressive Neural Combinatorial OptimizationPaolo Pellizzoni, Till Hendrik Schulz, Karsten M. BorgwardtICLR 2026
  5. Rethinking Flexible Graph Similarity Computation: One-Step Alignment with Global GuidanceZhouyang Liu, Ning Liu, Yixin Chen, Jiezhong He et al.ICDE 2026
Dusk over the sea between two cliffs drawn in fine vertical lines