Distance-Restricted Folklore Weisfeiler-Leman GNNs with Provable Cycle Counting Power
Not on the map. Why?
Abstract (arXiv)
The ability of graph neural networks (GNNs) to count certain graph substructures, especially cycles, is important for the success of GNNs on a wide range of tasks. It has been recently used as a popular metric for evaluating the expressive power of GNNs. Many of the proposed GNN models with provable cycle counting power are based on subgraph GNNs, i.e., extracting a bag of subgraphs from the input graph, generating representations for each subgraph, and using them to augment the representation of the input graph. However, those methods require heavy preprocessing, and suffer from high time and memory costs. In this paper, we overcome the aforementioned limitations of subgraph GNNs by proposing a novel class of GNNs -- d-Distance-Restricted FWL(2) GNNs, or d-DRFWL(2) GNNs. d-DRFWL(2) GNNs use node pairs whose mutual distances are at most d as the units for message passing to balance the expressive power and complexity. By performing message passing among distance-restricted node pairs in the original graph, d-DRFWL(2) GNNs avoid the expensive subgraph extraction operations in subgraph GNNs, making both the time and space complexity lower. We theoretically show that the discriminative power of d-DRFWL(2) GNNs strictly increases as d increases. More importantly, d-DRFWL(2) GNNs have provably strong cycle counting power even with d=2: they can count all 3, 4, 5, 6-cycles. Since 6-cycles (e.g., benzene rings) are ubiquitous in organic molecules, being able to detect and count them is crucial for achieving robust and generalizable performance on molecular tasks. Experiments on both synthetic datasets and molecular datasets verify our theory. To the best of our knowledge, our model is the most efficient GNN model to date (both theoretically and empirically) that can count up to 6-cycles.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 47 of its 61 references that are in the map. First posted on arXiv 10 Sep 2023.
Builds on
47 of 61 references.
References · 47
- 2017Attention Is All You Needcited by 60,361
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2017Neural Message Passing for Quantum Chemistrycited by 3,487
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
- 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,434
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
- 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,576
- 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,051
- 2019Strategies for Pre-training Graph Neural Networkscited by 971
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
35 more
- 2020Simple and Deep Graph Convolutional Networkscited by 860
- 2020Benchmarking Graph Neural Networkscited by 680
- 2020A Generalization of Transformer Networks to Graphscited by 661
- 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 652
- 2020Directional Message Passing for Molecular Graphscited by 561
- 2020Principal Neighbourhood Aggregation for Graph Netscited by 478
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
- 2019Provably Powerful Graph Networkscited by 389
- 2017Residual Gated Graph ConvNetscited by 346
- 2018Invariant and Equivariant Graph Networkscited by 346
- 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 313
- 2019Cormorant: Covariant Molecular Neural Networkscited by 263
- 2022Long Range Graph Benchmarkcited by 263
- 2020Can Graph Neural Networks Count Substructures?cited by 236
- 2021Weisfeiler and Lehman Go Cellular: CW Networkscited by 218
- 2020The Surprising Power of Graph Neural Networks with Random Node Initializationcited by 198
- 2021Identity-aware Graph Neural Networkscited by 198
- 2019On the equivalence between graph isomorphism testing and function approximation with GNNscited by 172
- 2021From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awarenesscited by 155
- 2021Equivariant Subgraph Aggregation Networkscited by 154
- 2019On the Universality of Invariant Networkscited by 152
- 2021Nested Graph Neural Networkscited by 137
- 2020Directional Graph Networkscited by 133
- 2022Understanding and Extending Subgraph GNNs by Rethinking Their Symmetriescited by 112
- 2021Breaking the Limits of Message Passing Graph Neural Networkscited by 101
- 2021Reconstruction for Powerful Graph Representationscited by 65
- 2020OrbNet: Deep Learning for Quantum Chemistry Using Symmetry-Adapted Atomic-Orbital Featurescited by 64
- 2023A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Testscited by 64
- 2018On Weisfeiler-Leman Invariance: Subgraph Counts and Related Graph Propertiescited by 63
- 2020Hierarchical Inter-Message Passing for Learning on Molecular Graphscited by 59
- 2022Ordered Subgraph Aggregation Networkscited by 57
- 2022Boosting the Cycle Counting Power of Graph Neural Networks with I2-GNNscited by 56
- 2022A Short Tutorial on The Weisfeiler-Lehman Test And Its Variantscited by 52
- 2020Counting Substructures with Higher-Order Graph Neural Networks: Possibility and Impossibility Resultscited by 19
- 2017On the Combinatorial Power of the Weisfeiler-Lehman Algorithmcited by 18
Built on by
Citing papers per year: 2023: 1; 2024: 7; 2025: 1; 2026: 3.
12 papers.
- 2024Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN Expressivenesscited by 39
- 2023Efficient Link Prediction via GNN Layers Induced by Negative Samplingcited by 6
- 2024Demystifying Higher-Order Graph Neural Networkscited by 4
- 2024Foundations and Frontiers of Graph Learning Theorycited by 3
- 2025Plain Transformers Can be Powerful Graph Learnerscited by 3
- 2024Weisfeiler and Leman Go Loopy: A New Hierarchy for Graph Representational Learningcited by 2
- 2024How Hard Is It for Message-Passing GNNs to Simulate One Weisfeiler-Lehman Color-Refinement Step?cited by 2
- 2024Towards Stable, Globally Expressive Graph Representations with Laplacian Eigenvectorscited by 2
- 2024Fine-Grained Expressive Power of Weisfeiler-Leman: A Homomorphism Counting Perspectivecited by 1
- 2026Weisfeiler Lehman Test on Combinatorial Complexes: Generalized Expressive Power of Topological Neural Networkscited by 0
- 2026Weisfeiler-Leman Is Incomplete on Simple Spectrum Graphs, so Canonicalize Themcited by 0
- 2026Random Probing for Structural Self-Interactions in Graph Neural Networkscited by 0
- 2026Random Probing for Structural Self-Interactions in Graph Neural Networks13 Oct 2026
- 2026Weisfeiler-Leman Is Incomplete on Simple Spectrum Graphs, so Canonicalize Them22 May 2026
- 2026Weisfeiler Lehman Test on Combinatorial Complexes: Generalized Expressive Power of Topological Neural Networks1 May 2026
- 2025Plain Transformers Can be Powerful Graph Learners17 Apr 2025
- 2024Towards Stable, Globally Expressive Graph Representations with Laplacian Eigenvectors13 Oct 2024
- 2024Fine-Grained Expressive Power of Weisfeiler-Leman: A Homomorphism Counting Perspective4 Oct 2024
- 2024How Hard Is It for Message-Passing GNNs to Simulate One Weisfeiler-Lehman Color-Refinement Step?2 Oct 2024
- 2024Foundations and Frontiers of Graph Learning Theory3 Jul 2024
- 2024Demystifying Higher-Order Graph Neural Networks18 Jun 2024
- 2024Weisfeiler and Leman Go Loopy: A New Hierarchy for Graph Representational Learning20 Mar 2024
- 2024Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN Expressiveness16 Jan 2024
- 2023Efficient Link Prediction via GNN Layers Induced by Negative Sampling14 Oct 2023