On the approximation capability of GNNs in node classification/regression tasks
Not on the map. Why?
Abstract (arXiv)
Graph Neural Networks (GNNs) are a broad class of connectionist models for graph processing. Recent studies have shown that GNNs can approximate any function on graphs, modulo the equivalence relation on graphs defined by the Weisfeiler--Lehman (WL) test. However, these results suffer from some limitations, both because they were derived using the Stone--Weierstrass theorem -- which is existential in nature, -- and because they assume that the target function to be approximated must be continuous. Furthermore, all current results are dedicated to graph classification/regression tasks, where the GNN must produce a single output for the whole graph, while also node classification/regression problems, in which an output is returned for each node, are very common. In this paper, we propose an alternative way to demonstrate the approximation capability of GNNs that overcomes these limitations. Indeed, we show that GNNs are universal approximators in probability for node classification/regression tasks, as they can approximate any measurable function that satisfies the 1--WL equivalence on nodes. The proposed theoretical framework allows the approximation of generic discontinuous target functions and also suggests the GNN architecture that can reach a desired approximation. In addition, we provide a bound on the number of the GNN layers required to achieve the desired degree of approximation, namely 2r-1, where r is the maximum number of nodes for the graphs in the domain.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 28 of its 65 references that are in the map. First posted on arXiv 16 Jun 2021.
Builds on
28 of 65 references.
References · 28
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Graph Attention Networkscited by 8,854
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
- 2013Spectral Networks and Locally Connected Networks on Graphscited by 1,097
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
- 2015Gated Graph Sequence Neural Networkscited by 792
- 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 624
- 2019Provably Powerful Graph Networkscited by 385
16 more
- 2018Invariant and Equivariant Graph Networkscited by 339
- 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 312
- 2021Weisfeiler and Lehman Go Topological: Message Passing Simplicial Networkscited by 219
- 2020Generalization and Representational Limits of Graph Neural Networkscited by 217
- 2021Identity-aware Graph Neural Networkscited by 197
- 2019What graph neural networks cannot learn: depth vs widthcited by 195
- 2020The Surprising Power of Graph Neural Networks with Random Node Initializationcited by 190
- 2020Random Features Strengthen Graph Neural Networkscited by 184
- 2019Universal Invariant and Equivariant Graph Neural Networkscited by 182
- 2020A Survey on The Expressive Power of Graph Neural Networkscited by 111
- 2020Expressive Power of Invariant and Equivariant Graph Neural Networkscited by 100
- 2018Lov'asz Meets Weisfeiler and Lemancited by 26
- 2020The Iteration Number of Colour Refinementcited by 12
- 2020Global Attention Improves Graph Networks Generalizationcited by 8
- 2021Invariance, encodings, and generalization: learning identity effects with neural networkscited by 5
- 2020Generalizing Outside the Training Set: When Can Neural Networks Learn Identity Effects?cited by 4
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 3; 2025: 3.
9 papers.
- 2022Weisfeiler-Lehman goes Dynamic: An Analysis of the Expressive Power of Graph Neural Networks for Attributed and Dynamic Graphscited by 12
- 2024VC dimension of Graph Neural Networks with Pfaffian activation functionscited by 6
- 2023Generalization Limits of Graph Neural Networks in Identity Effects Learningcited by 3
- 2023Neural Lattice Reduction: A Self-Supervised Geometric Deep Learning Approachcited by 3
- 2024Computing Systemic Risk Measures with Graph Neural Networkscited by 3
- 2025Learning from one graph: transductive learning guarantees via the geometry of small random worldscited by 3
- 2024Mesh-Informed Reduced Order Models for Aneurysm Rupture Risk Predictioncited by 0
- 2025A method for the systematic generation of graph XAI benchmarks via Weisfeiler-Leman coloringcited by 0
- 2025Weisfeiler-Lehman meets Events: An Expressivity Analysis for Continuous-Time Dynamic Graph Neural Networkscited by 0
- 2025Learning from one graph: transductive learning guarantees via the geometry of small random worlds8 Sep 2025
- 2025Weisfeiler-Lehman meets Events: An Expressivity Analysis for Continuous-Time Dynamic Graph Neural Networks25 Aug 2025
- 2025A method for the systematic generation of graph XAI benchmarks via Weisfeiler-Leman coloring18 May 2025
- 2024Mesh-Informed Reduced Order Models for Aneurysm Rupture Risk Prediction4 Oct 2024
- 2024Computing Systemic Risk Measures with Graph Neural Networks30 Sep 2024
- 2024VC dimension of Graph Neural Networks with Pfaffian activation functions22 Jan 2024
- 2023Neural Lattice Reduction: A Self-Supervised Geometric Deep Learning Approach14 Nov 2023
- 2023Generalization Limits of Graph Neural Networks in Identity Effects Learning30 Jun 2023
- 2022Weisfeiler-Lehman goes Dynamic: An Analysis of the Expressive Power of Graph Neural Networks for Attributed and Dynamic Graphs8 Oct 2022