mlsanityData to 14 Oct 2026

Tackling Size Generalization of Graph Neural Networks on Biological Data from a Spectral Perspective

arXiv 2305.15611 ↗First posted 24 May 2023cs.LG cs.AIcited by 3

Not on the map. Why?

Abstract (arXiv)

We address the key challenge of size-induced distribution shifts in graph neural networks (GNNs) and their impact on the generalization of GNNs to larger graphs. Existing literature operates under diverse assumptions about distribution shifts, resulting in varying conclusions about the generalizability of GNNs. In contrast to prior work, we adopt a data-driven approach to identify and characterize the types of size-induced distribution shifts and explore their impact on GNN performance from a spectral standpoint, a perspective that has been largely underexplored. Leveraging the significant variance in graph sizes in real biological datasets, we analyze biological graphs and find that spectral differences, driven by subgraph patterns (e.g., average cycle length), strongly correlate with GNN performance on larger, unseen graphs. Based on these insights, we propose three model-agnostic strategies to enhance GNNs' awareness of critical subgraph patterns, identifying size-intensive attention as the most effective approach. Extensive experiments with six GNN architectures and seven model-agnostic strategies across five datasets show that our size-intensive attention strategy significantly improves graph classification on test graphs 2 to 10 times larger than the training graphs, boosting F1 scores by up to 8% over strong baselines.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 23 of its 55 references that are in the map. First posted on arXiv 24 May 2023.

Builds on

23 of 55 references.

References · 23

  1. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  2. 2017Graph Attention Networkscited by 8,923
  3. 2017Inductive Representation Learning on Large Graphscited by 6,320
  4. 2018How Powerful are Graph Neural Networks?cited by 4,393
  5. 2017Neural Message Passing for Quantum Chemistrycited by 3,487
  6. 2020Learning to Simulate Complex Physics with Graph Networkscited by 880
  7. 2018Hierarchical Graph Representation Learning with Differentiable Poolingcited by 787
  8. 2019GNNExplainer: Generating Explanations for Graph Neural Networkscited by 737
  9. 2020Can Graph Neural Networks Count Substructures?cited by 236
  10. 2020How Neural Networks Extrapolate: From Feedforward to Graph Neural Networkscited by 222
  11. 2017CayleyNets: Graph Convolutional Neural Networks with Complex Rational Spectral Filterscited by 203
  12. 2019Understanding Attention and Generalization in Graph Neural Networkscited by 169
11 more
  1. 2019Relational Pooling for Graph Representationscited by 150
  2. 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphscited by 144
  3. 2020From Local Structures to Size Generalization in Graph Neural Networkscited by 124
  4. 2019Neural Execution of Graph Algorithmscited by 121
  5. 2021Breaking the Limits of Message Passing Graph Neural Networkscited by 101
  6. 2020Building powerful and equivariant graph neural networks with structural message-passingcited by 97
  7. 2019Transferability of Spectral Graph Convolutional Neural Networkscited by 92
  8. 2021Size-Invariant Graph Representations for Graph Classification Extrapolationscited by 84
  9. 2022OOD Link Prediction Generalization Capabilities of Message-Passing GNNs in Larger Test Graphscited by 38
  10. 2020Neural Execution Engines: Learning to Execute Subroutinescited by 36
  11. 2021Bridging the Gap between Spatial and Spectral Domains: A Unified Framework for Graph Neural Networkscited by 19

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 0; 2026: 2.

3 papers.