mlsanityData to 14 Oct 2026

Benchmarking Positional Encodings for GNNs and Graph Transformers

arXiv 2411.12732 ↗First posted 19 Nov 2024cs.LG cs.AIcited by 13

Not on the map. Why?

Abstract (arXiv)

Positional Encodings (PEs) are essential for injecting structural information into Graph Neural Networks (GNNs), particularly Graph Transformers, yet their empirical impact remains insufficiently understood. We introduce a unified benchmarking framework that decouples PEs from architectural choices, enabling a fair comparison across 8 GNN and Transformer models, 9 PEs, and 10 synthetic and real-world datasets. Across more than 500 model-PE-dataset configurations, we find that commonly used expressiveness proxies, including Weisfeiler-Lehman distinguishability, do not reliably predict downstream performance. In particular, highly expressive PEs frequently fail to improve, and can even degrade performance on real-world tasks. At the same time, we identify several simple and previously overlooked model-PE combinations that match or outperform recent state-of-the-art methods. Our results demonstrate the strong task-dependence of PEs and underscore the need for empirical validation beyond theoretical expressiveness. To support reproducible research, we release an open-source benchmarking framework for evaluating PEs for graph learning tasks.

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 35 of its 45 references that are in the map. First posted on arXiv 19 Nov 2024.

Builds on

35 of 45 references.

References · 35

  1. 2017Attention Is All You Needcited by 60,361
  2. 2017Graph Attention Networkscited by 8,923
  3. 2017Inductive Representation Learning on Large Graphscited by 6,320
  4. 2018How Powerful are Graph Neural Networks?cited by 4,393
  5. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,919
  6. 2018Predict then Propagate: Graph Neural Networks meet Personalized PageRankcited by 993
  7. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
  8. 2020Benchmarking Graph Neural Networkscited by 680
  9. 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 631
  10. 2020Principal Neighbourhood Aggregation for Graph Netscited by 478
  11. 2017Residual Gated Graph ConvNetscited by 346
  12. 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 333
23 more
  1. 2022Long Range Graph Benchmarkcited by 263
  2. 2020Generalization and Representational Limits of Graph Neural Networkscited by 218
  3. 2021Weisfeiler and Lehman Go Cellular: CW Networkscited by 218
  4. 2023NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classificationcited by 210
  5. 2022Representing Long-Range Context for Graph Neural Networks with Global Attentioncited by 195
  6. 2022Pure Transformers are Powerful Graph Learnerscited by 188
  7. 2020Random Features Strengthen Graph Neural Networkscited by 186
  8. 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 179
  9. 2019On the equivalence between graph isomorphism testing and function approximation with GNNscited by 172
  10. 2021From Stars to Subgraphs: Uplifting Any GNN with Local Structure Awarenesscited by 155
  11. 2023Graph Inductive Biases in Transformers without Message Passingcited by 153
  12. 2021GraphiT: Encoding Graph Structure in Transformerscited by 147
  13. 2021Nested Graph Neural Networkscited by 137
  14. 2018Learning graphs from data: A signal representation perspectivecited by 119
  15. 2021Global Self-Attention as a Replacement for Graph Convolutioncited by 114
  16. 2022A Generalization of ViT/MLP-Mixer to Graphscited by 93
  17. 2023Everything is Connected: Graph Neural Networkscited by 85
  18. 2023Where Did the Gap Go? Reassessing the Long-Range Graph Benchmarkcited by 85
  19. 2021Walking Out of the Weisfeiler Leman Hierarchy: Graph Learning Beyond Message Passingcited by 47
  20. 2024Comparing Graph Transformers via Positional Encodingscited by 20
  21. 2024Distinguished In Uniform: Self Attention Vs. Virtual Nodescited by 20
  22. 2024Spatio-Spectral Graph Neural Networkscited by 17
  23. 2023What functions can Graph Neural Networks compute on random graphs? The role of Positional Encodingcited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 6.

13 papers.

Sort:

By area: