mlsanityData to 14 Oct 2026

Distance-Restricted Folklore Weisfeiler-Leman GNNs with Provable Cycle Counting Power

arXiv 2309.04941 ↗First posted 10 Sep 2023cs.LGcited by 12

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  3. 2017Graph Attention Networkscited by 8,923
  4. 2018How Powerful are Graph Neural Networks?cited by 4,393
  5. 2017Neural Message Passing for Quantum Chemistrycited by 3,487
  6. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
  7. 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,434
  8. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
  9. 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,576
  10. 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,051
  11. 2019Strategies for Pre-training Graph Neural Networkscited by 971
  12. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
35 more
  1. 2020Simple and Deep Graph Convolutional Networkscited by 860
  2. 2020Benchmarking Graph Neural Networkscited by 680
  3. 2020A Generalization of Transformer Networks to Graphscited by 661
  4. 2018Junction Tree Variational Autoencoder for Molecular Graph Generationcited by 652
  5. 2020Directional Message Passing for Molecular Graphscited by 561
  6. 2020Principal Neighbourhood Aggregation for Graph Netscited by 478
  7. 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
  8. 2019Provably Powerful Graph Networkscited by 389
  9. 2017Residual Gated Graph ConvNetscited by 346
  10. 2018Invariant and Equivariant Graph Networkscited by 346
  11. 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 313
  12. 2019Cormorant: Covariant Molecular Neural Networkscited by 263
  13. 2022Long Range Graph Benchmarkcited by 263
  14. 2020Can Graph Neural Networks Count Substructures?cited by 236
  15. 2021Weisfeiler and Lehman Go Cellular: CW Networkscited by 218
  16. 2020The Surprising Power of Graph Neural Networks with Random Node Initializationcited by 198
  17. 2021Identity-aware Graph Neural Networkscited by 198
  18. 2019On the equivalence between graph isomorphism testing and function approximation with GNNscited by 172
  19. 2021From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awarenesscited by 155
  20. 2021Equivariant Subgraph Aggregation Networkscited by 154
  21. 2019On the Universality of Invariant Networkscited by 152
  22. 2021Nested Graph Neural Networkscited by 137
  23. 2020Directional Graph Networkscited by 133
  24. 2022Understanding and Extending Subgraph GNNs by Rethinking Their Symmetriescited by 112
  25. 2021Breaking the Limits of Message Passing Graph Neural Networkscited by 101
  26. 2021Reconstruction for Powerful Graph Representationscited by 65
  27. 2020OrbNet: Deep Learning for Quantum Chemistry Using Symmetry-Adapted Atomic-Orbital Featurescited by 64
  28. 2023A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Testscited by 64
  29. 2018On Weisfeiler-Leman Invariance: Subgraph Counts and Related Graph Propertiescited by 63
  30. 2020Hierarchical Inter-Message Passing for Learning on Molecular Graphscited by 59
  31. 2022Ordered Subgraph Aggregation Networkscited by 57
  32. 2022Boosting the Cycle Counting Power of Graph Neural Networks with I2-GNNscited by 56
  33. 2022A Short Tutorial on The Weisfeiler-Lehman Test And Its Variantscited by 52
  34. 2020Counting Substructures with Higher-Order Graph Neural Networks: Possibility and Impossibility Resultscited by 19
  35. 2017On the Combinatorial Power of the Weisfeiler-Lehman Algorithmcited by 18

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 7; 2025: 1; 2026: 3.

12 papers.