Weisfeiler and Leman Go Loopy: A New Hierarchy for Graph Representational Learning
Raffaele Paolino, Sohir Maskey, Pascal Welke, Gitta Kutyniok
Abstract
We introduce -loopy Weisfeiler-Leman (-WL), a novel hierarchy of graph isomorphism tests and a corresponding GNN framework, -MPNN, that can count cycles up to length . Most notably, we show that -WL can count homomorphisms of cactus graphs. This strictly extends classical 1-WL, which can only count homomorphisms of trees and, in fact, is incomparable to -WL for any fixed . We empirically validate the expressive and counting power of the proposed -MPNN on several synthetic datasets and present state-of-the-art predictive performance on various real-world datasets. The code is available at https://github.com/RPaolino/loopy
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 85e6447f-61ca-4c01-ac1d-c8cb8230f234Cited by top-tier papers5
- Graph Representational Learning: When Does More Expressivity Hurt Generalization?Sohir Maskey, Raffaele Paolino, Fabian Jogl, Gitta Kutyniok et al.ICLR 2026 · 4 citations
- Deep Homomorphism NetworksTakanori Maehara, Hoang NTNeurIPS 2024 · 2 citations
- On the trade-off between expressivity and privacy in graph representation learningPatrick Indri, Tamara Drucks, Thomas GärtnerICLR 2026
- Message Passing on the Edge: Towards Scalable and Expressive GNNsPablo Barcelo, Fabian Jogl, Alexander Kozachinskiy, Matthias Lanzinger et al.ICML 2026
- Graph Neural Networks Can (Often) Count SubstructuresPaolo Pellizzoni, Till Hendrik Schulz, Karsten M. BorgwardtICLR 2025
Builds on20
- Strategies for Pre-training Graph Neural NetworksWeihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik et al.ICLR 2020 · 1,744 citations
- Can Graph Neural Networks Count Substructures?Zhengdao Chen, Lei Chen, Soledad Villar, Joan BrunaNeurIPS 2020 · 392 citations
- Weisfeiler and Lehman Go Cellular: CW NetworksCristian Bodnar, Fabrizio Frasca, Nina Otter, Yuguang Wang et al.NeurIPS 2021 · 330 citations
- Identity-aware Graph Neural NetworksJiaxuan You, Jonathan Michael Gomes Selman, Rex Ying, Jure LeskovecAAAI 2021 · 316 citations
- Equivariant Subgraph Aggregation NetworksBeatrice Bevilacqua, Fabrizio Frasca, Derek Lim, Balasubramaniam Srinivasan et al.ICLR 2022 · 217 citations
Related papers
- 𝒩-WL: A New Hierarchy of Expressivity for Graph Neural NetworksQing Wang, Dillon Ze Chen, Asiri Wijesinghe, Shouheng Li et al.ICLR 2023
- On Graph Neural Networks versus Graph-Augmented MLPsLei Chen, Zhengdao Chen, Joan BrunaICLR 2021 · 9 citations
- From Relational Pooling to Subgraph GNNs: A Universal Framework for More Expressive Graph Neural NetworksCai Zhou, Xiyuan Wang, Muhan ZhangICML 2023 · 22 citations
- Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN ExpressivenessBohang Zhang, Jingchu Gai, Yiheng Du, Qiwei Ye et al.ICLR 2024 · 59 citations
- A Practical, Progressively-Expressive GNNLingxiao Zhao, Neil Shah, Leman AkogluNeurIPS 2022 · 28 citations
