The Expressive Power of Path-Based Graph Neural Networks
Caterina Graziani, Tamara Drucks, Fabian Jogl, Monica Bianchini, Franco Scarselli, Thomas Gärtner
Abstract
We systematically investigate the expressive power of path-based graph neural networks. While it has been shown that path-based graph neural networks can achieve strong empirical results, an investigation into their expressive power is lacking. Therefore, we propose PATH-WL, a general class of color refinement algorithms based on paths and shortest path distance information. We show that PATH-WL is incomparable to a wide range of expressive graph neural networks, can count cycles, and achieves strong empirical results on the notoriously difficult family of strongly regular graphs. Our theoretical results indicate that PATH-WL forms a new hierarchy of highly expressive graph neural networks.
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.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Beyond Message Passing: Neural Graph Pattern Machine cites Weisfeiler and Lehman Go Cellular: CW Networks
- Beyond Message Passing: Neural Graph Pattern Machine cites Do Transformers Really Perform Badly for Graph Representation?
- Beyond Message Passing: Neural Graph Pattern Machine cites Can Graph Neural Networks Count Substructures?
- Weisfeiler and Lehman Go Cellular: CW Networks cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Weisfeiler and Lehman Go Cellular: CW Networks cites Can Graph Neural Networks Count Substructures?
- Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning cites Can Graph Neural Networks Count Substructures?
- Do Transformers Really Perform Badly for Graph Representation? cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Do Transformers Really Perform Badly for Graph Representation? cites Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning
- Can Graph Neural Networks Count Substructures? cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Graph Representational Learning: When Does More Expressivity Hurt Generalization? cites Weisfeiler and Lehman Go Cellular: CW Networks
- Random Search Neural Networks for Efficient and Expressive Graph Learning cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
- Hierarchical Shortest-Path Graph Kernel Network cites Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation Learning
Cited by top-tier papers7
- Graph Representational Learning: When Does More Expressivity Hurt Generalization?Sohir Maskey, Raffaele Paolino, Fabian Jogl, Gitta Kutyniok et al.ICLR 2026 · 4 citations
- Random Search Neural Networks for Efficient and Expressive Graph LearningMichael Ito, Danai Koutra, Jenna WiensNeurIPS 2025 · 1 citation
- Hierarchical Shortest-Path Graph Kernel NetworkJiaxin Wang, Wenxuan Tu, Jieren ChengNeurIPS 2025 · 1 citation
- Beyond Message Passing: Neural Graph Pattern MachineZehong Wang, Zheyuan Zhang, Tianyi Ma, Nitesh V. Chawla et al.ICML 2025
- When do GFlowNets learn the right distribution?Tiago da Silva, Rodrigo Barreto Alves, Eliezer de Souza da Silva, Amauri H. Souza et al.ICLR 2025
Builds on25
- Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
- Do Transformers Really Perform Badly for Graph Representation?Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng et al.NeurIPS 2021 · 1,632 citations
- Can Graph Neural Networks Count Substructures?Zhengdao Chen, Lei Chen, Soledad Villar, Joan BrunaNeurIPS 2020 · 392 citations
- Distance Encoding: Design Provably More Powerful Neural Networks for Graph Representation LearningPan Li, Yanbang Wang, Hongwei Wang, Jure LeskovecNeurIPS 2020 · 391 citations
- Weisfeiler and Lehman Go Cellular: CW NetworksCristian Bodnar, Fabrizio Frasca, Nina Otter, Yuguang Wang et al.NeurIPS 2021 · 330 citations
Related papers
- Path Neural Networks: Expressive and Accurate Graph Neural NetworksGaspard Michel, Giannis Nikolentzos, Johannes F. Lutzeyer, Michalis VazirgiannisICML 2023 · 45 citations
- A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman TestsBohang Zhang, Guhao Feng, Yiheng Du, Di He et al.ICML 2023 · 84 citations
- A Theoretical Comparison of Graph Neural Network ExtensionsPál András Papp, Roger WattenhoferICML 2022 · 52 citations
- Distance-Restricted Folklore Weisfeiler-Leman GNNs with Provable Cycle Counting PowerJunru Zhou, Jiarui Feng, Xiyuan Wang, Muhan ZhangNeurIPS 2023 · 15 citations
- Repetition Makes Perfect: Recurrent Graph Neural Networks Match Message Passing LimitEran Rosenbluth, Martin GroheAAAI 2026 · 1 citation
