mlsanityData to 14 Oct 2026

What Do GNNs Actually Learn? Towards Understanding their Representations

arXiv 2304.10851 ↗First posted 21 Apr 2023cs.LGcited by 4

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

  1. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  2. 2017Graph Attention Networkscited by 8,923
  3. 2018How Powerful are Graph Neural Networks?cited by 4,393
  4. 2017Neural Message Passing for Quantum Chemistrycited by 3,487
  5. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
  6. 2016Convolutional Neural Networks on Graphs with Fast Localized Spectral Filteringcited by 2,089
  7. 2013Spectral Networks and Locally Connected Networks on Graphscited by 1,102
  8. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
  9. 2015Gated Graph Sequence Neural Networkscited by 796
  10. 2018Hierarchical Graph Representation Learning with Differentiable Poolingcited by 787
  11. 2015Convolutional Networks on Graphs for Learning Molecular Fingerprintscited by 754
  12. 2020Benchmarking Graph Neural Networkscited by 680
30 more
  1. 2020Knowledge Graphscited by 621
  2. 2019Graph U-Netscited by 492
  3. 2019MixHop: Higher-Order Graph Convolutional Architectures via Sparsified Neighborhood Mixingcited by 443
  4. 2019Hyperbolic Graph Convolutional Neural Networkscited by 402
  5. 2018Invariant and Equivariant Graph Networkscited by 346
  6. 2016Learning Convolutional Neural Networks for Graphscited by 314
  7. 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 313
  8. 2015Diffusion-Convolutional Neural Networkscited by 268
  9. 2021Weisfeiler and Lehman Go Topological: Message Passing Simplicial Networkscited by 221
  10. 2021Weisfeiler and Lehman Go Cellular: CW Networkscited by 218
  11. 2020The Surprising Power of Graph Neural Networks with Random Node Initializationcited by 198
  12. 2021Identity-aware Graph Neural Networkscited by 198
  13. 2020Random Features Strengthen Graph Neural Networkscited by 186
  14. 2021Equivariant Subgraph Aggregation Networkscited by 154
  15. 2019Relational Pooling for Graph Representationscited by 150
  16. 2021Nested Graph Neural Networkscited by 137
  17. 2020Directional Graph Networkscited by 133
  18. 2021DropGNN: Random Dropouts Increase the Expressiveness of Graph Neural Networkscited by 118
  19. 2021Breaking the Limits of Message Passing Graph Neural Networkscited by 101
  20. 2020Building powerful and equivariant graph neural networks with structural message-passingcited by 97
  21. 2021Reconstruction for Powerful Graph Representationscited by 65
  22. 2019k-hop Graph Neural Networkscited by 57
  23. 2019Coloring graph neural networks for node disambiguationcited by 52
  24. 2019Fast and Deep Graph Neural Networkscited by 35
  25. 2022Graph Neural Networks with Adaptive Readoutscited by 29
  26. 2019GraLSP: Graph Neural Networks with Local Structural Patternscited by 25
  27. 2022Graph Ordering Attention Networkscited by 8
  28. 2022Weisfeiler and Leman go Hyperbolic: Learning Distance Preserving Node Representationscited by 7
  29. 2019Discriminative structural graph classificationcited by 6
  30. 2021Permute Me Softly: Learning Soft Permutations for Graph Representationscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.