How hard is to distinguish graphs with graph neural networks?
Abstract
A hallmark of graph neural networks is their ability to distinguish the isomorphism class of their inputs. This study derives hardness results for the classification variant of graph isomorphism in the message-passing model (MPNN). MPNN encompasses the majority of graph neural networks used today and is universal when nodes are given unique features. The analysis relies on the introduced measure of communication capacity. Capacity measures how much information the nodes of a network can exchange during the forward pass and depends on the depth, message-size, global state, and width of the architecture. It is shown that the capacity of MPNN needs to grow linearly with the number of nodes so that a network can distinguish trees and quadratically for general connected graphs. The derived bounds concern both worst- and average-case behavior and apply to networks with/without unique features and adaptive architecture -- they are also up to two orders of magnitude tighter than those given by simpler arguments. An empirical study involving 12 graph classification tasks and 420 networks reveals strong alignment between actual performance and theoretical predictions.
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.
18 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
- Generalization and Representational Limits of Graph Neural Networks cites What graph neural networks cannot learn: depth vs width
- Provably expressive temporal graph networks cites What graph neural networks cannot learn: depth vs width
- Provably expressive temporal graph networks cites Generalization and Representational Limits of Graph Neural Networks
- Provably expressive temporal graph networks cites Building powerful and equivariant graph neural networks with structural message-passing
- Building powerful and equivariant graph neural networks with structural message-passing cites What graph neural networks cannot learn: depth vs width
- Building powerful and equivariant graph neural networks with structural message-passing cites Generalization and Representational Limits of Graph Neural Networks
- Building powerful and equivariant graph neural networks with structural message-passing cites Neural Execution of Graph Algorithms
- Building powerful and equivariant graph neural networks with structural message-passing cites Principal Neighbourhood Aggregation for Graph Nets
- From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness cites What graph neural networks cannot learn: depth vs width
- From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness cites Building powerful and equivariant graph neural networks with structural message-passing
- From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awareness cites Principal Neighbourhood Aggregation for Graph Nets
- Principal Neighbourhood Aggregation for Graph Nets cites Generalization and Representational Limits of Graph Neural Networks
- Principal Neighbourhood Aggregation for Graph Nets cites Neural Execution of Graph Algorithms
- Graph Convolution for Semi-Supervised Classification: Improved Linear Separability and Out-of-Distribution Generalization cites What graph neural networks cannot learn: depth vs width
- Graph Convolution for Semi-Supervised Classification: Improved Linear Separability and Out-of-Distribution Generalization cites Generalization and Representational Limits of Graph Neural Networks
Cited by top-tier papers18
- GraphNorm: A Principled Approach to Accelerating Graph Neural Network TrainingTianle Cai, Shengjie Luo, Keyulu Xu, Di He et al.ICML 2021 · 224 citations
- From Stars to Subgraphs: Uplifting Any GNN with Local Structure AwarenessLingxiao Zhao, Wei Jin, Leman Akoglu, Neil ShahICLR 2022 · 213 citations
- Building powerful and equivariant graph neural networks with structural message-passingClément Vignac, Andreas Loukas, Pascal FrossardNeurIPS 2020 · 141 citations
- Provably expressive temporal graph networksAmauri H. Souza, Diego Mesquita, Samuel Kaski, Vikas GargNeurIPS 2022 · 89 citations
- Graph Convolution for Semi-Supervised Classification: Improved Linear Separability and Out-of-Distribution GeneralizationAseem Baranwal, Kimon Fountoulakis, Aukosh JagannathICML 2021 · 89 citations
Builds on7
- Principal Neighbourhood Aggregation for Graph NetsGabriele Corso, Luca Cavalleri, Dominique Beaini, Pietro Liò et al.NeurIPS 2020 · 914 citations
- Generalization and Representational Limits of Graph Neural NetworksVikas K. Garg, Stefanie Jegelka, Tommi S. JaakkolaICML 2020 · 363 citations
- What graph neural networks cannot learn: depth vs widthAndreas LoukasICLR 2020 · 336 citations
- Neural Execution of Graph AlgorithmsPetar Velickovic, Rex Ying, Matilde Padovano, Raia Hadsell et al.ICLR 2020 · 192 citations
- Building powerful and equivariant graph neural networks with structural message-passingClément Vignac, Andreas Loukas, Pascal FrossardNeurIPS 2020 · 141 citations
Related papers
- Fine-grained Expressivity of Graph Neural NetworksJan Böker, Ron Levie, Ningyuan Huang, Soledad Villar et al.NeurIPS 2023 · 34 citations
- On dimensionality of feature vectors in MPNNsCésar Bravo, Alexander Kozachinskiy, Cristobal RojasICML 2024 · 8 citations
- Let's Agree to Degree: Comparing Graph Convolutional Networks in the Message-Passing FrameworkFloris Geerts, Filip Mazowiecki, Guillermo A. PérezICML 2021 · 42 citations
- What Expressivity Theory Misses: Message Passing Complexity for GNNsNiklas Kemper, Tom Wollschläger, Stephan GünnemannNeurIPS 2025 · 3 citations
- Fundamental Limits in Formal Verification of Message-Passing Neural NetworksMarco Sälzer, Martin LangeICLR 2023 · 2 citations
