Wasserstein Graph Distance Based on L1-Approximated Tree Edit Distance between Weisfeiler-Lehman Subtrees
Zhongxi Fang, Jianming Huang, Xun Su, Hiroyuki Kasai
Abstract
The Weisfeiler-Lehman (WL) test is a widely used algorithm in graph machine learning, including graph kernels, graph metrics, and graph neural networks. However, it focuses only on the consistency of the graph, which means that it is unable to detect slight structural differences. Consequently, this limits its ability to capture structural information, which also limits the performance of existing models that rely on the WL test. This limitation is particularly severe for traditional metrics defined by the WL test, which cannot precisely capture slight structural differences. In this paper, we propose a novel graph metric called the Wasserstein WL Subtree (WWLS) distance to address this problem. Our approach leverages the WL subtree as structural information for node neighborhoods and defines node metrics using the L 1 -approximated tree edit distance (L 1 -TED) between WL subtrees of nodes. Subsequently, we combine the Wasserstein distance and the L 1 -TED to define the WWLS distance, which can capture slight structural differences that may be difficult to detect using conventional metrics. We demonstrate that the proposed WWLS distance outperforms baselines in both metric validation and graph classification experiments.
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 a0f19082-9384-4bfb-8389-884cf6999e3fCited by top-tier papers2
- TopoFormer: Topology Meets Attention for Graph LearningMd Joshem Uddin, Astrit Tola, Cuneyt Gurcan Akcora, Baris CoskunuzerICLR 2026 · 2 citations
- TopER: Topological Embeddings in Graph Representation LearningAstrit Tola, Funmilola Mary Taiwo, Cuneyt Gurcan Akcora, Baris CoskunuzerNeurIPS 2025 · 1 citation
Builds on3
- A Fair Comparison of Graph Neural Networks for Graph ClassificationFederico Errica, Marco Podda, Davide Bacciu, Alessio MicheliICLR 2020 · 508 citations
- Weisfeiler and Lehman Go Topological: Message Passing Simplicial NetworksCristian Bodnar, Fabrizio Frasca, Yuguang Wang, Nina Otter et al.ICML 2021 · 315 citations
- A New Perspective on "How Graph Neural Networks Go Beyond Weisfeiler-Lehman?"Asiri Wijesinghe, Qing WangICLR 2022 · 120 citations
Related papers
- Weisfeiler-Lehman Meets Gromov-WassersteinSamantha Chen, Sunhyuk Lim, Facundo Mémoli, Zhengchao Wan et al.ICML 2022 · 20 citations
- Exploring Consistency in Graph Representations: from Graph Kernels to Graph Neural NetworksXuyuan Liu, Yinghao Cai, Qihui Yang, Yujun YanNeurIPS 2024 · 3 citations
- Generalizing Weisfeiler-Lehman Kernels to SubgraphsDongkwan Kim, Alice OhICLR 2025
- Weisfeiler and Leman Go Walking: Random Walk Kernels RevisitedNils M. KriegeNeurIPS 2022 · 22 citations
- A graph similarity for deep learningSeongmin OkNeurIPS 2020 · 16 citations
