Lune

ICLR2023Top-tier venue

Boosting the Cycle Counting Power of Graph Neural Networks with I2^2-GNNs

Yinan Huang, Xingang Peng, Jianzhu Ma, Muhan Zhang

Abstract

Message Passing Neural Networks (MPNNs) are a widely used class of Graph Neural Networks (GNNs). The limited representational power of MPNNs inspires the study of provably powerful GNN architectures. However, knowing one model is more powerful than another gives little insight about what functions they can or cannot express. It is still unclear whether these models are able to approximate specific functions such as counting certain graph substructures, which is essential for applications in biology, chemistry and social network analysis. Motivated by this, we propose to study the counting power of Subgraph MPNNs, a recent and popular class of powerful GNN models that extract rooted subgraphs for each node, assign the root node a unique identifier and encode the root node's representation within its rooted subgraph. Specifically, we prove that Subgraph MPNNs fail to count more-than-4-cycles at node level, implying that node representations cannot correctly encode the surrounding substructures like ring systems with more than four atoms. To overcome this limitation, we propose I2^2-GNNs to extend Subgraph MPNNs by assigning different identifiers for the root node and its neighbors in each subgraph. I2^2-GNNs' discriminative power is shown to be strictly stronger than Subgraph MPNNs and partially stronger than the 3-WL test. More importantly, I2^2-GNNs are proven capable of counting all 3, 4, 5 and 6-cycles, covering common substructures like benzene rings in organic chemistry, while still keeping linear complexity. To the best of our knowledge, it is the first linear-time GNN model that can count 6-cycles with theoretical guarantees. We validate its counting power in cycle counting tasks and demonstrate its competitive performance in molecular prediction benchmarks.

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.

39 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Tests cites Identity-aware Graph Neural Networks
  • A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Tests cites Weisfeiler and Lehman Go Cellular: CW Networks
  • A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Tests cites Principal Neighbourhood Aggregation for Graph Nets
  • Provably Powerful Graph Neural Networks for Directed Multigraphs cites Identity-aware Graph Neural Networks
  • Provably Powerful Graph Neural Networks for Directed Multigraphs cites Strategies for Pre-training Graph Neural Networks
  • Weisfeiler and Lehman Go Cellular: CW Networks cites Strategies for Pre-training Graph Neural Networks
  • Weisfeiler and Lehman Go Cellular: CW Networks cites Principal Neighbourhood Aggregation for Graph Nets
  • Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN Expressiveness cites A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Tests
  • Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN Expressiveness cites Identity-aware Graph Neural Networks
  • Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN Expressiveness cites Weisfeiler and Lehman Go Cellular: CW Networks
  • Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN Expressiveness cites Principal Neighbourhood Aggregation for Graph Nets
  • Unifying Generation and Prediction on Graphs with Latent Graph Diffusion cites A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Tests
  • Unifying Generation and Prediction on Graphs with Latent Graph Diffusion cites Weisfeiler and Lehman Go Cellular: CW Networks
  • Unifying Generation and Prediction on Graphs with Latent Graph Diffusion cites Strategies for Pre-training Graph Neural Networks
  • Unifying Generation and Prediction on Graphs with Latent Graph Diffusion cites Principal Neighbourhood Aggregation for Graph Nets
  • WL meet VC cites A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Tests
  • WL meet VC cites Identity-aware Graph Neural Networks
  • WL meet VC cites Weisfeiler and Lehman Go Cellular: CW Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers39

  1. 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
  2. Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN ExpressivenessBohang Zhang, Jingchu Gai, Yiheng Du, Qiwei Ye et al.ICLR 2024 · 59 citations
  3. Provably Powerful Graph Neural Networks for Directed MultigraphsBéni Egressy, Luc von Niederhäusern, Jovan Blanusa, Erik R. Altman et al.AAAI 2024 · 40 citations
  4. Unifying Generation and Prediction on Graphs with Latent Graph DiffusionCai Zhou, Xiyuan Wang, Muhan ZhangNeurIPS 2024 · 37 citations
  5. WL meet VCChristopher Morris, Floris Geerts, Jan Tönshoff, Martin GroheICML 2023 · 36 citations

Builds on20

  1. Strategies for Pre-training Graph Neural NetworksWeihua Hu, Bowen Liu, Joseph Gomes, Marinka Zitnik et al.ICLR 2020 · 1,744 citations
  2. Directional Message Passing for Molecular GraphsJohannes Klicpera, Janek Groß, Stephan GünnemannICLR 2020 · 1,079 citations
  3. Principal Neighbourhood Aggregation for Graph NetsGabriele Corso, Luca Cavalleri, Dominique Beaini, Pietro Liò et al.NeurIPS 2020 · 914 citations
  4. Weisfeiler and Lehman Go Cellular: CW NetworksCristian Bodnar, Fabrizio Frasca, Nina Otter, Yuguang Wang et al.NeurIPS 2021 · 330 citations
  5. Identity-aware Graph Neural NetworksJiaxuan You, Jonathan Michael Gomes Selman, Rex Ying, Jure LeskovecAAAI 2021 · 316 citations

Related papers

  1. Can Graph Neural Networks Count Substructures?Zhengdao Chen, Lei Chen, Soledad Villar, Joan BrunaNeurIPS 2020 · 392 citations
  2. Distance-Restricted Folklore Weisfeiler-Leman GNNs with Provable Cycle Counting PowerJunru Zhou, Jiarui Feng, Xiyuan Wang, Muhan ZhangNeurIPS 2023 · 15 citations
  3. Counting Graph Substructures with Graph Neural NetworksCharilaos I. Kanatsoulis, Alejandro RibeiroICLR 2024 · 17 citations
  4. Graph Neural Networks Can (Often) Count SubstructuresPaolo Pellizzoni, Till Hendrik Schulz, Karsten M. BorgwardtICLR 2025
  5. Theoretically Improving Graph Neural Networks via Anonymous Walk Graph KernelsQingqing Long, Yilun Jin, Yi Wu, Guojie SongWWW 2021 · 42 citations
Dusk over the sea between two cliffs drawn in fine vertical lines