Fused Gromov-Wasserstein Alignment for Graph Edit Distance Computation and Beyond
Jianheng Tang, Xi Zhao, Lemin Kong, Xiaofang Zhou, Jia Li
Abstract
Graph Edit Distance (GED) is a widely recognized metric for measuring graph similarity, yet its NP-complete nature poses challenges for fast and accurate computation. This paper introduces FGWAlign, an Optimal Transport (OT)-based approach for graph alignment and GED computation. We take the first step to theoretically demonstrate and that computing GED can be transformed into optimizing a particular OT variant—the Fused Gromov-Wasserstein distance. Tailored to the GED problem structure, we further implement three key enhancements to the standard FGW solver: (1) a random exploration scheme to better locate the global optimum, (2) a diverse projection strategy for post-processing the transportation plan to escape local optima, and (3) a novel extension to accommodate multi-relational graphs with edge labels. With O (| V || E |) time complexity and O (| V | 2 ) space complexity, where | V | and | E | are the maximum number of nodes and edges between the two compared graphs, FGWAlign achieves a superior balance of efficiency, accuracy, and scalability. Empirical results show that, compared with 12 representative GED computation methods across different categories on 4 real-world graph datasets, FGWAlign reduces computation errors by over 80% and achieves 15–60× speedup. It also demonstrates promising resutls on downstream applications including labeled graph alignment and graph-level anomaly detection, highlighting its versatility. FGWAlign opens up promising avenues for future applications in graph data management.
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.
Cited by top-tier papers2
- MGRAG: Semantic Subgraph Matching and Graph-Aware Caching for Multimodal Retrieval-Augmented GenerationYubo Wang, Haoyang Li, Lei ChenVLDB 2026
- Rethinking Flexible Graph Similarity Computation: One-Step Alignment with Global GuidanceZhouyang Liu, Ning Liu, Yixin Chen, Jiezhong He et al.ICDE 2026
Builds on13
- Graph Optimal Transport for Cross-Domain AlignmentLiqun Chen, Zhe Gan, Yu Cheng, Linjie Li et al.ICML 2020 · 193 citations
- Towards Self-Interpretable Graph-Level Anomaly DetectionYixin Liu, Kaize Ding, Qinghua Lu, Fuyi Li et al.NeurIPS 2023 · 104 citations
- Unsupervised Graph Alignment with Wasserstein Distance DiscriminatorJi Gao, Xiao Huang, Jundong LiKDD 2021 · 53 citations
- Computing Graph Edit Distance via Neural Graph MatchingChengzhi Piao, Tingyang Xu, Xiangguo Sun, Yu Rong et al.VLDB 2023 · 49 citations
- Robust Attributed Graph Alignment via Joint Structure Learning and Optimal TransportJianheng Tang, Weiqi Zhang, Jiajin Li, Kangfei Zhao et al.ICDE 2023 · 32 citations
Related papers
- Computing Approximate Graph Edit Distance via Optimal TransportQihao Cheng, Da Yan, Tianhao Wu, Zhongyi Huang et al.SIGMOD 2025 · 5 citations
- Noah: Neural-optimized A* Search Algorithm for Graph Edit Distance ComputationLei Yang, Lei ZouICDE 2021 · 20 citations
- OTKGE: Multi-modal Knowledge Graph Embeddings via Optimal TransportZongsheng Cao, Qianqian Xu, Zhiyong Yang, Yuan He et al.NeurIPS 2022 · 117 citations
- Hierarchical Multi-Marginal Optimal Transport for Network AlignmentZhichen Zeng, Boxin Du, Si Zhang, Yinglong Xia et al.AAAI 2024 · 39 citations
- Interpretable Graph Similarity Computation via Differentiable Optimal Alignment of Node EmbeddingsKhoa D. Doan, Saurav Manchanda, Suchismit Mahapatra, Chandan K. ReddySIGIR 2021 · 26 citations
