mlsanityData to 7 Oct 2026

From Local Structures to Size Generalization in Graph Neural Networks

arXiv 2010.08853 ↗First posted 17 Oct 2020cs.LG cs.NE stat.MLcited by 119

Not on the map. Why?

Abstract (arXiv)

Graph neural networks (GNNs) can process graphs of different sizes, but their ability to generalize across sizes, specifically from small to large graphs, is still not well understood. In this paper, we identify an important type of data where generalization from small to large graphs is challenging: graph distributions for which the local structure depends on the graph size. This effect occurs in multiple important graph learning domains, including social and biological networks. We first prove that when there is a difference between the local structures, GNNs are not guaranteed to generalize across sizes: there are "bad" global minima that do well on small graphs but fail on large graphs. We then study the size-generalization problem empirically and demonstrate that when there is a discrepancy in local structure, GNNs tend to converge to non-generalizing solutions. Finally, we suggest two approaches for improving size generalization, motivated by our findings. Notably, we propose a novel Self-Supervised Learning (SSL) task aimed at learning meaningful representations of local structures that appear in large graphs. Our SSL task improves classification accuracy on several popular datasets.

Key facts. Cited by 119 papers in the map (data through 7 Oct 2026). First posted on arXiv 17 Oct 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 4; 2022: 25; 2023: 33; 2024: 24; 2025: 19; 2026: 14.

119 papers.

Sort:

By area:

  1. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 319
  2. 2021Combinatorial optimization and reasoning with graph neural networkscited by 267
  3. 2022Exploring Length Generalization in Large Language Modelscited by 204
  4. 2022Handling Distribution Shifts on Graphs: An Invariance Perspectivecited by 163
  5. 2022Learning Causally Invariant Representations for Out-of-Distribution Generalization on Graphscited by 144
  6. 2022Universal Prompt Tuning for Graph Neural Networkscited by 100
  7. 2022Out-Of-Distribution Generalization on Graphs: A Surveycited by 97
  8. 2023Towards Foundation Models for Knowledge Graph Reasoningcited by 83
  9. 2021Size-Invariant Graph Representations for Graph Classification Extrapolationscited by 82
  10. 2023Attending to Graph Transformerscited by 81
  11. 2021OOD-GNN: Out-of-Distribution Generalized Graph Neural Networkcited by 78
  12. 2022A Survey on Graph Representation Learning Methodscited by 66
38 more
  1. 2022Theory of Graph Neural Networks: Representation and Learningcited by 60
  2. 2022Generalization Analysis of Message Passing Neural Networks on Large Random Graphscited by 58
  3. 2022A Generalist Neural Algorithmic Learnercited by 58
  4. 2023Does Invariant Graph Learning via Environment Augmentation Learn Invariance?cited by 42
  5. 2024Softmax is not Enough (for Sharp Size Generalisation)cited by 42
  6. 2023Towards Understanding the Generalization of Graph Neural Networkscited by 41
  7. 2022Tree Mover's Distance: Bridging Graph Metrics and Stability of Graph Neural Networkscited by 39
  8. 2023Generalization in Graph Neural Networks: Improved PAC-Bayesian Bounds on Graph Diffusioncited by 39
  9. 2022OOD Link Prediction Generalization Capabilities of Message-Passing GNNs in Larger Test Graphscited by 38
  10. 2022Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shiftcited by 38
  11. 2022SizeShiftReg: a Regularization Method for Improving Size-Generalization in Graph Neural Networkscited by 36
  12. 2023Neural Graph Reasoning: Complex Logical Query Answering Meets Graph Databasescited by 35
  13. 2023WL meet VCcited by 30
  14. 2023Neural Algorithmic Reasoning with Causal Regularisationcited by 30
  15. 2024Graph Out-of-Distribution Generalization via Causal Interventioncited by 30
  16. 2025Self-Improving Transformers Overcome Easy-to-Hard and Length Generalization Challengescited by 30
  17. 2022Towards Better Out-of-Distribution Generalization of Neural Algorithmic Reasoning Taskscited by 29
  18. 2023Joint Learning of Label and Environment Causal Independence for Graph Out-of-Distribution Generalizationcited by 29
  19. 2023Learning on Graphs with Out-of-Distribution Nodescited by 29
  20. 2022Inductive Logical Query Answering in Knowledge Graphscited by 25
  21. 2024Pairwise Alignment Improves Graph Domain Adaptationcited by 25
  22. 2024Cayley Graph Propagationcited by 21
  23. 2024Graph Domain Adaptation with Dual-branch Encoder and Two-level Alignment for Whole Slide Image-based Survival Predictioncited by 20
  24. 2023GraphMETRO: Mitigating Complex Graph Distribution Shifts via Mixture of Aligned Expertscited by 19
  25. 2023Graph Invariant Learning with Subgraph Co-mixup for Out-Of-Distribution Generalizationcited by 18
  26. 2022Federated Learning with Heterogeneous Architectures using Graph HyperNetworkscited by 17
  27. 2022RouteNet-Fermi: Network Modeling with Graph Neural Networkscited by 17
  28. 2023Limits, approximation and size transferability for GNNs on sparse graphs via graphopscited by 17
  29. 2023Efficient Subgraph GNNs by Learning Effective Selection Policiescited by 17
  30. 2023Graph Neural Tangent Kernel: Convergence on Large Graphscited by 16
  31. 2024A Manifold Perspective on the Statistical Generalization of Graph Neural Networkscited by 16
  32. 2024A Survey of Deep Graph Learning under Distribution Shifts: from Graph Out-of-Distribution Generalization to Adaptationcited by 16
  33. 2023Individual and Structural Graph Information Bottlenecks for Out-of-Distribution Generalizationcited by 15
  34. 2023Explaining and Adapting Graph Conditional Shiftcited by 14
  35. 2024Weisfeiler-Leman at the margin: When more expressivity matterscited by 13
  36. 2024How Interpretable Are Interpretable Graph Neural Networks?cited by 13
  37. 2025Extrapolation by Association: Length Generalization Transfer in Transformerscited by 13
  38. 2022FakeEdge: Alleviate Dataset Shift in Link Predictioncited by 12

50 most cited of 119 All 119 (JSON)