A PAC-Bayesian Approach to Generalization Bounds for Graph Neural Networks
Renjie Liao, Raquel Urtasun, Richard S. Zemel
Abstract
In this paper, we derive generalization bounds for the two primary classes of graph neural networks (GNNs), namely graph convolutional networks (GCNs) and message passing GNNs (MPGNNs), via a PAC-Bayesian approach. Our result reveals that the maximum node degree and spectral norm of the weights govern the generalization bounds of both models. We also show that our bound for GCNs is a natural generalization of the results developed in arXiv:1707.09564v2 [cs.LG] for fully-connected and convolutional neural networks. For message passing GNNs, our PAC-Bayes bound improves over the Rademacher complexity based bound in arXiv:2002.06157v1 [cs.LG], showing a tighter dependency on the maximum node degree and the maximum hidden dimension. The key ingredients of our proofs are a perturbation analysis of GNNs and the generalization of PAC-Bayes analysis to non-homogeneous GNNs. We perform an empirical study on several real-world graph datasets and verify that our PAC-Bayes bound is tighter than others.
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 papers57
- Learning Invariant Graph Representations for Out-of-Distribution GeneralizationHaoyang Li, Ziwei Zhang, Xin Wang, Wenwu ZhuNeurIPS 2022 · 170 citations
- Debiasing Graph Neural Networks via Learning Disentangled Causal SubstructureShaohua Fan, Xiao Wang, Yanhu Mo, Chuan Shi et al.NeurIPS 2022 · 168 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
- GFT: Graph Foundation Model with Transferable Tree VocabularyZehong Wang, Zheyuan Zhang, Nitesh V. Chawla, Chuxu Zhang et al.NeurIPS 2024 · 108 citations
- Subgroup Generalization and Fairness of Graph Neural NetworksJiaqi Ma, Junwei Deng, Qiaozhu MeiNeurIPS 2021 · 102 citations
Builds on1
Related papers
- Generalization Analysis of Message Passing Neural Networks on Large Random GraphsSohir Maskey, Ron Levie, Yunseok Lee, Gitta KutyniokNeurIPS 2022 · 73 citations
- Minimax Sample Complexity of Graph Neural Networks: Lower Bounds and Structural EffectsAhmad Ghasemi, Hossein Pishro-NikICLR 2026
- Let's Agree to Degree: Comparing Graph Convolutional Networks in the Message-Passing FrameworkFloris Geerts, Filip Mazowiecki, Guillermo A. PérezICML 2021 · 42 citations
- Generalization Error of Graph Neural Networks in the Mean-field RegimeGholamali Aminian, Yixuan He, Gesine Reinert, Lukasz Szpruch et al.ICML 2024 · 4 citations
- Towards Generalization Bounds of GCNs for Adversarially Robust Node ClassificationWen Wen, Han Li, Tieliang Gong, Hong ChenICLR 2025
