Generalization Analysis of Message Passing Neural Networks on Large Random Graphs
Sohir Maskey, Ron Levie, Yunseok Lee, Gitta Kutyniok
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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
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
