Towards Bridging Generalization and Expressivity of Graph Neural Networks
Abstract
Expressivity and generalization are two critical aspects of graph neural networks (GNNs). While significant progress has been made in studying the expressivity of GNNs, much less is known about their generalization capabilities, particularly when dealing with the inherent complexity of graph-structured data. In this work, we address the intricate relationship between expressivity and generalization in GNNs. Theoretical studies conjecture a trade-off between the two: highly expressive models risk overfitting, while those focused on generalization may sacrifice expressivity. However, empirical evidence often contradicts this assumption, with expressive GNNs frequently demonstrating strong generalization. We explore this contradiction by introducing a novel framework that connects GNN generalization to the variance in graph structures they can capture. This leads us to propose a k-variance margin-based generalization bound that characterizes the structural properties of graph embeddings in terms of their upper-bounded expressive power. Our analysis does not rely on specific GNN architectures, making it broadly applicable across GNN models. We further uncover a trade-off between intra-class concentration and inter-class separation, both of which are crucial for effective generalization. Through case studies and experiments on real-world datasets, we demonstrate that our theoretical findings align with empirical results, offering a deeper understanding of how expressivity can enhance GNN generalization.
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.
5 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
- Message Passing on the Edge: Towards Scalable and Expressive GNNs cites Nested Graph Neural Networks
- Message Passing on the Edge: Towards Scalable and Expressive GNNs cites Weisfeiler and Leman go sparse: Towards scalable higher-order graph embeddings
- Message Passing on the Edge: Towards Scalable and Expressive GNNs cites Graph Representational Learning: When Does More Expressivity Hurt Generalization?
- Equivariant Subgraph Aggregation Networks cites Weisfeiler and Leman go sparse: Towards scalable higher-order graph embeddings
- Nested Graph Neural Networks cites Weisfeiler and Leman go sparse: Towards scalable higher-order graph embeddings
- Weisfeiler and Leman go sparse: Towards scalable higher-order graph embeddings cites Generalization and Representational Limits of Graph Neural Networks
- Which Algorithms Can Graph Neural Networks Learn? cites Generalization and Representational Limits of Graph Neural Networks
- Which Algorithms Can Graph Neural Networks Learn? cites Equivariant Subgraph Aggregation Networks
- Which Algorithms Can Graph Neural Networks Learn? cites Covered Forest: Fine-grained generalization analysis of graph neural networks
- Graph Representational Learning: When Does More Expressivity Hurt Generalization? cites Generalization and Representational Limits of Graph Neural Networks
- Graph Representational Learning: When Does More Expressivity Hurt Generalization? cites Equivariant Subgraph Aggregation Networks
- Graph Representational Learning: When Does More Expressivity Hurt Generalization? cites Weisfeiler and Leman go sparse: Towards scalable higher-order graph embeddings
- Graph Representational Learning: When Does More Expressivity Hurt Generalization? cites Covered Forest: Fine-grained generalization analysis of graph neural networks
- From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness cites Equivariant Subgraph Aggregation Networks
- From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness cites Nested Graph Neural Networks
- From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness cites Weisfeiler and Leman go sparse: Towards scalable higher-order graph embeddings
- Covered Forest: Fine-grained generalization analysis of graph neural networks cites Generalization and Representational Limits of Graph Neural Networks
Cited by top-tier papers5
- Graph Representational Learning: When Does More Expressivity Hurt Generalization?Sohir Maskey, Raffaele Paolino, Fabian Jogl, Gitta Kutyniok et al.ICLR 2026 · 4 citations
- Memorization in Graph Neural NetworksAdarsh Jamadandi, Jing Xu, Adam Dziedzic, Franziska BoenischNeurIPS 2025 · 3 citations
- Message Passing on the Edge: Towards Scalable and Expressive GNNsPablo Barcelo, Fabian Jogl, Alexander Kozachinskiy, Matthias Lanzinger et al.ICML 2026
- Which Algorithms Can Graph Neural Networks Learn?Solveig Wittig, Antonis Vasileiou, Robert R. Nerem, Timo Stoll et al.ICML 2026
- Covered Forest: Fine-grained generalization analysis of graph neural networksAntonis Vasileiou, Ben Finkelshtein, Floris Geerts, Ron Levie et al.ICML 2025
Builds on25
- Generalization and Representational Limits of Graph Neural NetworksVikas K. Garg, Stefanie Jegelka, Tommi S. JaakkolaICML 2020 · 363 citations
- Equivariant Subgraph Aggregation NetworksBeatrice Bevilacqua, Fabrizio Frasca, Derek Lim, Balasubramaniam Srinivasan et al.ICLR 2022 · 217 citations
- Nested Graph Neural NetworksMuhan Zhang, Pan LiNeurIPS 2021 · 213 citations
- From Stars to Subgraphs: Uplifting Any GNN with Local Structure AwarenessLingxiao Zhao, Wei Jin, Leman Akoglu, Neil ShahICLR 2022 · 213 citations
- Weisfeiler and Leman go sparse: Towards scalable higher-order graph embeddingsChristopher Morris, Gaurav Rattan, Petra MutzelNeurIPS 2020 · 190 citations
Related papers
- Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN ExpressivenessBohang Zhang, Jingchu Gai, Yiheng Du, Qiwei Ye et al.ICLR 2024 · 59 citations
- Measuring Generalization with Optimal TransportChing-Yao Chuang, Youssef Mroueh, Kristjan H. Greenewald, Antonio Torralba et al.NeurIPS 2021 · 33 citations
- WL meet VCChristopher Morris, Floris Geerts, Jan Tönshoff, Martin GroheICML 2023 · 36 citations
- Bridging Theory and Practice in Link Representation with Graph Neural NetworksVeronica Lachi, Francesco Ferrini, Antonio Longa, Bruno Lepri et al.NeurIPS 2025 · 5 citations
- Towards Understanding Generalization of Graph Neural NetworksHuayi Tang, Yong LiuICML 2023 · 2 citations
