Efficient Graph Similarity Computation with Alignment Regularization
Wei Zhuo, Guang Tan
Abstract
We consider the graph similarity computation (GSC) task based on graph edit distance (GED) estimation. State-of-the-art methods treat GSC as a learning-based prediction task using Graph Neural Networks (GNNs). To capture fine-grained interactions between pair-wise graphs, these methods mostly contain a node-level matching module in the end-to-end learning pipeline, which causes high computational costs in both the training and inference stages. We show that the expensive node-to-node matching module is not necessary for GSC, and high-quality learning can be attained with a simple yet powerful regularization technique, which we call the Alignment Regularization (AReg). In the training stage, the AReg term imposes a node-graph correspondence constraint on the GNN encoder. In the inference stage, the graph-level representations learned by the GNN encoder are directly used to compute the similarity score without using AReg again to speed up inference. We further propose a multi-scale GED discriminator to enhance the expressive ability of the learned representations. Extensive experiments on real-world datasets demonstrate the effectiveness, efficiency and transferability of our approach.
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 83f5c667-c267-4a93-912c-6f18d0a58ecfCited by top-tier papers16
- Partitioning Message Passing for Graph Fraud DetectionWei Zhuo, Zemin Liu, Bryan Hooi, Bingsheng He et al.ICLR 2024 · 50 citations
- Graph Edit Distance with General Costs Using Neural Set DivergenceEeshaan Jain, Indradyumna Roy, Saswat Meher, Soumen Chakrabarti et al.NeurIPS 2024 · 26 citations
- Iteratively Refined Early Interaction Alignment for Subgraph Matching based Graph RetrievalAshwin Ramachandran, Vaibhav Raj, Indradyumna Roy, Soumen Chakrabarti et al.NeurIPS 2024 · 7 citations
- 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
- Modality-free Graph In-context AlignmentWei Zhuo, Siqiang LuoICLR 2026 · 2 citations
Builds on5
- Learning-Based Efficient Graph Similarity Computation via Multi-Scale Convolutional Set MatchingYunsheng Bai, Hao Ding, Ken Gu, Yizhou Sun et al.AAAI 2020 · 130 citations
- Slow Learning and Fast Inference: Efficient Graph Similarity Computation via Knowledge DistillationCan Qin, Handong Zhao, Lichen Wang, Huan Wang et al.NeurIPS 2021 · 45 citations
- GHashing: Semantic Graph Hashing for Approximate Similarity Search in Graph DatabasesZongyue Qin, Yunsheng Bai, Yizhou SunKDD 2020 · 29 citations
- Interpretable Graph Similarity Computation via Differentiable Optimal Alignment of Node EmbeddingsKhoa D. Doan, Saurav Manchanda, Suchismit Mahapatra, Chandan K. ReddySIGIR 2021 · 26 citations
- Combinatorial Learning of Graph Edit Distance via Dynamic EmbeddingRunzhong Wang, Tianqi Zhang, Tianshu Yu, Junchi Yan et al.CVPR 2021
Related papers
- Noah: Neural-optimized A* Search Algorithm for Graph Edit Distance ComputationLei Yang, Lei ZouICDE 2021 · 20 citations
- Computing Graph Edit Distance via Neural Graph MatchingChengzhi Piao, Tingyang Xu, Xiangguo Sun, Yu Rong et al.VLDB 2023 · 49 citations
- GraSP: Simple Yet Effective Graph Similarity PredictionsHaoran Zheng, Jieming Shi, Renchi YangAAAI 2025 · 1 citation
- Rethinking Flexible Graph Similarity Computation: One-Step Alignment with Global GuidanceZhouyang Liu, Ning Liu, Yixin Chen, Jiezhong He et al.ICDE 2026
- TaGSim: Type-aware Graph Similarity Learning and ComputationJiyang Bai, Peixiang ZhaoVLDB 2022 · 29 citations
