Generalization Analysis of Message Passing Neural Networks on Large Random Graphs
Abstract
Message passing neural networks (MPNN) have seen a steep rise in popularity since their introduction as generalizations of convolutional neural networks to graph-structured data, and are now considered state-of-the-art tools for solving a large variety of graph-focused problems. We study the generalization error of MPNNs in graph classification and regression. We assume that graphs of different classes are sampled from different random graph models. We show that, when training a MPNN on a dataset sampled from such a distribution, the generalization gap increases in the complexity of the MPNN, and decreases, not only with respect to the number of training samples, but also with the average number of nodes in the graphs. This shows how a MPNN with high complexity can generalize from a small dataset of graphs, as long as the graphs are large. The generalization bound is derived from a uniform convergence result, that shows that any MPNN, applied on a graph, approximates the MPNN applied on the geometric model that the graph discretizes.
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.
34 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A graphon-signal analysis of graph neural networks cites Convergence and Stability of Graph Convolutional Networks on Large Random Graphs
- A graphon-signal analysis of graph neural networks cites Generalization and Representational Limits of Graph Neural Networks
- A graphon-signal analysis of graph neural networks cites WL meet VC
- A graphon-signal analysis of graph neural networks cites A PAC-Bayesian Approach to Generalization Bounds for Graph Neural Networks
- Joint Learning of Label and Environment Causal Independence for Graph Out-of-Distribution Generalization cites From Local Structures to Size Generalization in Graph Neural Networks
- From Local Structures to Size Generalization in Graph Neural Networks cites Generalization and Representational Limits of Graph Neural Networks
- From Local Structures to Size Generalization in Graph Neural Networks cites A PAC-Bayesian Approach to Generalization Bounds for Graph Neural Networks
- WL meet VC cites Generalization and Representational Limits of Graph Neural Networks
- WL meet VC cites From Local Structures to Size Generalization in Graph Neural Networks
- WL meet VC cites A PAC-Bayesian Approach to Generalization Bounds for Graph Neural Networks
- A PAC-Bayesian Approach to Generalization Bounds for Graph Neural Networks cites Generalization and Representational Limits of Graph Neural Networks
- OOD Link Prediction Generalization Capabilities of Message-Passing GNNs in Larger Test Graphs cites Convergence and Stability of Graph Convolutional Networks on Large Random Graphs
- OOD Link Prediction Generalization Capabilities of Message-Passing GNNs in Larger Test Graphs cites From Local Structures to Size Generalization in Graph Neural Networks
Cited by top-tier papers34
- Joint Learning of Label and Environment Causal Independence for Graph Out-of-Distribution GeneralizationShurui Gui, Meng Liu, Xiner Li, Youzhi Luo et al.NeurIPS 2023 · 54 citations
- OOD Link Prediction Generalization Capabilities of Message-Passing GNNs in Larger Test GraphsYangze Zhou, Gitta Kutyniok, Bruno RibeiroNeurIPS 2022 · 52 citations
- RAGraph: A General Retrieval-Augmented Graph Learning FrameworkXinke Jiang, Rihong Qiu, Yongxin Xu, Wentao Zhang et al.NeurIPS 2024 · 42 citations
- A graphon-signal analysis of graph neural networksRon LevieNeurIPS 2023 · 36 citations
- WL meet VCChristopher Morris, Floris Geerts, Jan Tönshoff, Martin GroheICML 2023 · 36 citations
Builds on5
- Generalization and Representational Limits of Graph Neural NetworksVikas K. Garg, Stefanie Jegelka, Tommi S. JaakkolaICML 2020 · 363 citations
- From Local Structures to Size Generalization in Graph Neural NetworksGilad Yehudai, Ethan Fetaya, Eli A. Meirom, Gal Chechik et al.ICML 2021 · 167 citations
- Convergence and Stability of Graph Convolutional Networks on Large Random GraphsNicolas Keriven, Alberto Bietti, Samuel VaiterNeurIPS 2020 · 111 citations
- A PAC-Bayesian Approach to Generalization Bounds for Graph Neural NetworksRenjie Liao, Raquel Urtasun, Richard S. ZemelICLR 2021 · 109 citations
- Interpretable Stability Bounds for Spectral Graph FiltersHenry Kenlay, Dorina Thanou, Xiaowen DongICML 2021 · 45 citations
Related papers
- A Graphop Analysis of Graph Neural Networks on Sparse Graphs: Generalization and Universal ApproximationOfek Amran, Tom Gilat, Ron LevieICML 2026
- Generalization Error of Graph Neural Networks in the Mean-field RegimeGholamali Aminian, Yixuan He, Gesine Reinert, Lukasz Szpruch et al.ICML 2024 · 4 citations
- Graph Neural Networks are Inherently Good Generalizers: Insights by Bridging GNNs and MLPsChenxiao Yang, Qitian Wu, Jiahua Wang, Junchi YanICLR 2023 · 16 citations
- Minimax Sample Complexity of Graph Neural Networks: Lower Bounds and Structural EffectsAhmad Ghasemi, Hossein Pishro-NikICLR 2026
- Wasserstein Barycenter Matching for Graph Size Generalization of Message Passing Neural NetworksXu Chu, Yujie Jin, Xin Wang, Shanghang Zhang et al.ICML 2023 · 6 citations
