On the power of graph neural networks and the role of the activation function
Not on the map. Why?
Abstract (arXiv)
In this article we present new results about the expressivity of Graph Neural Networks (GNNs). We prove that for any GNN with piecewise polynomial activations, whose architecture size does not grow with the graph input sizes, there exists a pair of non-isomorphic rooted trees of depth two such that the GNN cannot distinguish their root vertex up to an arbitrary number of iterations. In contrast, it was already known that unbounded GNNs (those whose size is allowed to change with the graph sizes) with piecewise polynomial activations can distinguish these vertices in only two iterations. It was also known prior to our work that with ReLU (piecewise linear) activations, bounded GNNs are weaker than unbounded GNNs [ACI+22]. Our approach adds to this result by extending it to handle any piecewise polynomial activation function, which goes towards answering an open question formulated by [2021, Grohe] more completely. Our second result states that if one allows activations that are not piecewise polynomial, then in two iterations a single neuron perceptron can distinguish the root vertices of any pair of nonisomorphic trees of depth two (our results hold for activations like the sigmoid, hyperbolic tan and others). This shows how the power of graph neural networks can change drastically if one changes the activation function of the neural networks. The proof of this result utilizes the Lindemann-Weierstrauss theorem from transcendental number theory.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 21 of its 29 references that are in the map. First posted on arXiv 10 Jul 2023.
Builds on
21 of 29 references.
References · 21
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2016Convolutional Neural Networks on Graphs with Fast Localized Spectral Filteringcited by 2,089
- 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,576
- 2016Geometric deep learning: going beyond Euclidean datacited by 1,048
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
- 2020Learning to Simulate Complex Physics with Graph Networkscited by 880
- 2015Convolutional Networks on Graphs for Learning Molecular Fingerprintscited by 754
- 2017Learning Combinatorial Optimization Algorithms over Graphscited by 561
- 2016Interaction Networks for Learning about Objects, Relations and Physicscited by 509
- 2021Combinatorial optimization and reasoning with graph neural networkscited by 268
- 2018Modeling polypharmacy side effects with graph convolutional networkscited by 237
- 2019Universal Invariant and Equivariant Graph Neural Networkscited by 183
9 more
- 2019On the Universality of Invariant Networkscited by 152
- 2020Expressive Power of Invariant and Equivariant Graph Neural Networkscited by 100
- 2021The Logic of Graph Neural Networkscited by 85
- 2019Cognitive Graph for Multi-Hop Reading Comprehension at Scalecited by 65
- 2022Expressiveness and Approximation Properties of Graph Neural Networkscited by 64
- 2022Theory of Graph Neural Networks: Representation and Learningcited by 61
- 2022A Short Tutorial on The Weisfeiler-Lehman Test And Its Variantscited by 52
- 2023Neural Injective Functions for Multisets, Measures and Graphs via a Finite Witness Theoremcited by 34
- 2022Exponentially Improving the Complexity of Simulating the Weisfeiler-Lehman Test with Graph Neural Networkscited by 21
Built on by
Citing papers per year: 2023: 1; 2024: 4; 2025: 1; 2026: 2.
8 papers.
- 2024Weisfeiler Leman for Euclidean Equivariant Machine Learningcited by 10
- 2025A Logical View of GNN-Style Computation and the Role of Activation Functionscited by 3
- 2024DiGRAF: Diffeomorphic Graph-Adaptive Activation Functioncited by 2
- 2024Graph Neural Networks Need Cluster-Normalize-Activate Modulescited by 2
- 2024A note on the VC dimension of 1-dimensional GNNscited by 1
- 2023The logic of rational graph neural networkscited by 0
- 2026Lost in Aggregation: On a Fundamental Expressivity Limit of Message-Passing Graph Neural Networkscited by 0
- 2026Constant-Depth Rational-Weight GNNs and their Connection to Schanuel's Conjecturecited by 0
- 2026Constant-Depth Rational-Weight GNNs and their Connection to Schanuel's Conjecture12 Oct 2026
- 2026Lost in Aggregation: On a Fundamental Expressivity Limit of Message-Passing Graph Neural Networks16 Mar 2026
- 2025A Logical View of GNN-Style Computation and the Role of Activation Functions22 Dec 2025
- 2024Graph Neural Networks Need Cluster-Normalize-Activate Modules5 Dec 2024
- 2024A note on the VC dimension of 1-dimensional GNNs10 Oct 2024
- 2024DiGRAF: Diffeomorphic Graph-Adaptive Activation Function2 Jul 2024
- 2024Weisfeiler Leman for Euclidean Equivariant Machine Learning4 Feb 2024
- 2023The logic of rational graph neural networks19 Oct 2023