Different Statistical Perspectives for Understanding Generalisation in Graph Neural Networks

Nil Ayday, Mahalakshmi Sabanayagam, Debarghya GhoshdastidararXiv 2026

TL;DR

This paper provides a comprehensive overview of the mathematical frameworks used to understand how Graph Neural Networks (GNNs) generalize to unseen data. By organizing the literature into three distinct statistical perspectives—classical learning theory, deep learning asymptotics, and random graph models—the authors clarify how graph structure impacts learning and highlight critical open questions in GNN theory.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) have achieved massive empirical success in fields ranging from social network analysis to drug discovery. However, our theoretical understanding of why they perform so well remains limited. Classical machine learning theory often fails to explain deep learning phenomena, and graphs introduce unique statistical dependencies that standard independent and identically distributed (i.i.d.) data theories cannot handle.

To bridge this gap, researchers have developed various mathematical frameworks to analyze GNN generalization error (the difference between performance on training data versus unseen data). This paper synthesizes these fragmented approaches into a unified taxonomy, outlining their core insights, inherent limitations, and paths forward.

Methods

As a review and synthesis paper, the authors categorize the theoretical literature into three broad methodological frameworks:

  1. Statistical Learning Theory: This approach uses classical tools like Rademacher complexity and Vapnik-Chervonenkis (VC) dimension to derive uniform convergence bounds. It explicitly links a GNN's expressive power (its inductive bias) to graph theory—specifically the 1-Weisfeiler-Leman (1-WL) graph isomorphism test, which determines whether a network can structurally distinguish different graphs.
  2. Deep Learning Asymptotics: To make non-linear architectures mathematically tractable, this framework simplifies GNNs by taking infinite limits. This includes width asymptotics (approximating infinitely wide GNNs as Neural Gaussian Processes or Neural Tangent Kernels) and graph-size asymptotics (modeling infinitely large graphs using continuous continuous operators called graphons).
  3. Statistical Network Models: This perspective moves away from data-agnostic bounds to study GNNs under explicit random graph distributions, most notably the Contextual Stochastic Block Model (CSBM). It leverages high-dimensional statistics to compute exact, non-asymptotic error rates.

Datasets

Because this is a theoretical review paper, the authors do not introduce new datasets or run empirical benchmarks. However, they reference standard datasets from the literature, such as the CORA citation network, to illustrate how asymptotic kernel methods (like Graph NTK) preserve the underlying community block structures of real-world graphs.

Key Insights and Ideas

  • The Expressivity-Generalization Trade-off: While designing more complex GNN architectures allows them to pass stricter graph isomorphism tests (reducing inductive bias), it simultaneously inflates the complexity of the hypothesis class, which can severely worsen the estimation error.
  • Topology Dictates Complexity: In classical learning theory bounds, the generalization error is explicitly tied to the graph's physical properties. For instance, Rademacher complexity bounds scale with the maximum node degree ($b$) of the graph, meaning denser graphs require more training samples to guarantee generalization.
  • Why Asymptotics Matter: Approximating GNNs as infinite-width kernel machines (Graph NTK/NNGP) allows researchers to mathematically prove why specific design choices work. For example, NTK analysis explains why row-normalised convolutions and skip connections successfully mitigate the dreaded "oversmoothing" problem in deep GNNs.
  • Graph Structure as a Feature Separator: Under the CSBM framework, theory proves that a 1-layer Graph Convolutional Network (GCN) can achieve exact community recovery even when node features are completely inseparable linearly. This provides a rigorous justification for why combining graph topology with node features beats using features alone.

Key Results

The paper highlights several landmark theoretical guarantees:

  • Graph-Level Bounds: For an $L$-layer GNN with $d$-dimensional embeddings, the empirical Rademacher complexity is bounded by $\mathcal{O}\left(\frac{d\sqrt{L\cdot b}}{\sqrt{m}}\right)$, where $b$ is the maximum node degree and $m$ is the number of training graphs.
  • Node-Level Bounds: For node classification, the transductive Rademacher complexity depends heavily on the choice of the convolution operator $S$ and its interaction with node features $SX$, proving that VC-dimension approaches yield trivial bounds in transductive settings.
  • CSBM Exact Recovery: Theorem 4 outlines the precise signal-to-noise ratios required for GCNs and Graph Attention Networks (GATs) to perfectly cluster nodes in a random graph, demonstrating that GATs face unique challenges when attention mechanisms are learned from weak feature signals.
Comparison of Graph NTK and Graph NNGP kernels on the CORA dataset, showing prominent community block structures.

Limitations and Future Work

The authors identify major gaps unique to each perspective:

  • Learning Theory: The derived bounds are often data-agnostic and far too loose to explain practical phenomena like benign overfitting or performance on heterophilic graphs (where connected nodes have different labels).
  • Asymptotics: Infinite-width limits turn GNNs into linear or kernel models, completely ignoring the actual non-linear feature learning dynamics that occur during gradient descent.
  • Random Graph Models: Current precise error rates under models like CSBM are almost exclusively restricted to linear GCNs or models with fixed, untrained parameters.

Primary Open Question: The central challenge moving forward is deriving the generalization error of a trained, non-linear GNN under sparse random graph models. Resolving this would finally answer whether GNNs are statistically optimal compared to traditional spectral or message-passing estimators.

Summary updated

BibTeX
@misc{ayday2026different,
  author = {Nil Ayday and Mahalakshmi Sabanayagam and Debarghya Ghoshdastidar},
  title = {{Different Statistical Perspectives for Understanding Generalisation in Graph Neural Networks}},
  year = {2026},
  eprint = {2605.25452},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.25452},
}
Figure