What Do GNNs Actually Learn? Towards Understanding their Representations
Not on the map. Why?
Abstract (arXiv)
In recent years, graph neural networks (GNNs) have achieved great success in the field of graph representation learning. Although prior work has shed light on the expressiveness of those models (ie whether they can distinguish pairs of non-isomorphic graphs), it is still not clear what structural information is encoded into the node representations that are learned by those models. In this paper, we address this gap by studying the node representations learned by four standard GNN models. We find that some models produce identical representations for all nodes, while the representations learned by other models are linked to some notion of walks of specific length that start from the nodes. We establish Lipschitz bounds for these models with respect to the number of (normalized) walks. Additionally, we investigate the influence of node features on the learned representations. We find that if the initial representations of all nodes point in the same direction, the representations learned at the k-th layer of the models are also related to the initial features of nodes that can be reached in exactly k steps. We also apply our findings to understand the phenomenon of oversquashing that occurs in GNNs. Our theoretical analysis is validated through experiments on synthetic and real-world datasets.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 42 of its 56 references that are in the map. First posted on arXiv 21 Apr 2023.
Builds on
42 of 56 references.
References · 42
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2017Neural Message Passing for Quantum Chemistrycited by 3,487
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
- 2016Convolutional Neural Networks on Graphs with Fast Localized Spectral Filteringcited by 2,089
- 2013Spectral Networks and Locally Connected Networks on Graphscited by 1,102
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
- 2015Gated Graph Sequence Neural Networkscited by 796
- 2018Hierarchical Graph Representation Learning with Differentiable Poolingcited by 787
- 2015Convolutional Networks on Graphs for Learning Molecular Fingerprintscited by 754
- 2020Benchmarking Graph Neural Networkscited by 680
30 more
- 2020Knowledge Graphscited by 621
- 2019Graph U-Netscited by 492
- 2019MixHop: Higher-Order Graph Convolutional Architectures via Sparsified Neighborhood Mixingcited by 443
- 2019Hyperbolic Graph Convolutional Neural Networkscited by 402
- 2018Invariant and Equivariant Graph Networkscited by 346
- 2016Learning Convolutional Neural Networks for Graphscited by 314
- 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 313
- 2015Diffusion-Convolutional Neural Networkscited by 268
- 2021Weisfeiler and Lehman Go Topological: Message Passing Simplicial Networkscited by 221
- 2021Weisfeiler and Lehman Go Cellular: CW Networkscited by 218
- 2020The Surprising Power of Graph Neural Networks with Random Node Initializationcited by 198
- 2021Identity-aware Graph Neural Networkscited by 198
- 2020Random Features Strengthen Graph Neural Networkscited by 186
- 2021Equivariant Subgraph Aggregation Networkscited by 154
- 2019Relational Pooling for Graph Representationscited by 150
- 2021Nested Graph Neural Networkscited by 137
- 2020Directional Graph Networkscited by 133
- 2021DropGNN: Random Dropouts Increase the Expressiveness of Graph Neural Networkscited by 118
- 2021Breaking the Limits of Message Passing Graph Neural Networkscited by 101
- 2020Building powerful and equivariant graph neural networks with structural message-passingcited by 97
- 2021Reconstruction for Powerful Graph Representationscited by 65
- 2019k-hop Graph Neural Networkscited by 57
- 2019Coloring graph neural networks for node disambiguationcited by 52
- 2019Fast and Deep Graph Neural Networkscited by 35
- 2022Graph Neural Networks with Adaptive Readoutscited by 29
- 2019GraLSP: Graph Neural Networks with Local Structural Patternscited by 25
- 2022Graph Ordering Attention Networkscited by 8
- 2022Weisfeiler and Leman go Hyperbolic: Learning Distance Preserving Node Representationscited by 7
- 2019Discriminative structural graph classificationcited by 6
- 2021Permute Me Softly: Learning Soft Permutations for Graph Representationscited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2026Aitchison Embeddings for Learning Compositional Graph Representationscited by 2
- 2025Positional Encoding meets Persistent Homology on Graphscited by 1
- 2026Rank Is Not Capacity: Spectral Occupancy for Latent Graph Modelscited by 1
- 2026TACENR: Task-Agnostic Contrastive Explanations for Node Representationscited by 0
- 2026Rank Is Not Capacity: Spectral Occupancy for Latent Graph Models11 May 2026
- 2026Aitchison Embeddings for Learning Compositional Graph Representations1 May 2026
- 2026TACENR: Task-Agnostic Contrastive Explanations for Node Representations21 Apr 2026
- 2025Positional Encoding meets Persistent Homology on Graphs6 Jun 2025