mlsanityData to 7 Oct 2026

On Structural Expressive Power of Graph Transformers

arXiv 2305.13987 ↗First posted 23 May 2023cs.LG cs.AIcited by 19

Not on the map. Why?

Abstract (arXiv)

Graph Transformer has recently received wide attention in the research community with its outstanding performance, yet its structural expressive power has not been well analyzed. Inspired by the connections between Weisfeiler-Lehman (WL) graph isomorphism test and graph neural network (GNN), we introduce SEG-WL test (Structural Encoding enhanced Global Weisfeiler-Lehman test), a generalized graph isomorphism test algorithm as a powerful theoretical tool for exploring the structural discriminative power of graph Transformers. We theoretically prove that the SEG-WL test is an expressivity upper bound on a wide range of graph Transformers, and the representational power of SEG-WL test can be approximated by a simple Transformer network arbitrarily under certain conditions. With the SEG-WL test, we show how graph Transformers' expressive power is determined by the design of structural encodings, and present conditions that make the expressivity of graph Transformers beyond WL test and GNNs. Moreover, motivated by the popular shortest path distance encoding, we follow the theory-oriented principles and develop a provably stronger structural encoding method, Shortest Path Induced Subgraph (textitSPIS) encoding. Our theoretical findings provide a novel and practical paradigm for investigating the expressive power of graph Transformers, and extensive synthetic and real-world experiments empirically verify the strengths of our proposed methods.

Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 37 of its 57 references that are in the map. First posted on arXiv 23 May 2023.

Builds on

37 of 57 references.

References · 37

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  4. 2017Graph Attention Networkscited by 8,854
  5. 2017Inductive Representation Learning on Large Graphscited by 6,284
  6. 2016Layer Normalizationcited by 5,579
  7. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  8. 2018How Powerful are Graph Neural Networks?cited by 4,355
  9. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
  10. 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,037
  11. 2020On Layer Normalization in the Transformer Architecturecited by 906
  12. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
25 more
  1. 2020TUDataset: A collection of benchmark datasets for learning with graphscited by 718
  2. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
  3. 2020Benchmarking Graph Neural Networkscited by 672
  4. 2020A Generalization of Transformer Networks to Graphscited by 653
  5. 2020Principal Neighbourhood Aggregation for Graph Netscited by 477
  6. 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
  7. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 404
  8. 2019Provably Powerful Graph Networkscited by 385
  9. 2021OGB-LSC: A Large-Scale Challenge for Machine Learning on Graphscited by 328
  10. 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
  11. 2020Improving Graph Neural Network Expressivity via Subgraph Isomorphism Countingcited by 312
  12. 2021Identity-aware Graph Neural Networkscited by 197
  13. 2022Structure-Aware Transformer for Graph Representation Learningcited by 191
  14. 2020Random Features Strengthen Graph Neural Networkscited by 184
  15. 2018Optimal Transport for structured data with application on graphscited by 170
  16. 2021Global Self-Attention as a Replacement for Graph Convolutioncited by 113
  17. 2020Expressive Power of Invariant and Equivariant Graph Neural Networkscited by 100
  18. 2020Building powerful and equivariant graph neural networks with structural message-passingcited by 95
  19. 2022Hierarchical Graph Transformer with Adaptive Node Samplingcited by 72
  20. 2022GRPE: Relative Positional Encoding for Graph Transformercited by 67
  21. 2018MotifNet: a motif-based Graph Convolutional Network for directed graphscited by 63
  22. 2018On Weisfeiler-Leman Invariance: Subgraph Counts and Related Graph Propertiescited by 63
  23. 2021Gophormer: Ego-Graph Transformer for Node Classificationcited by 63
  24. 2018RetGK: Graph Kernels based on Return Probabilities of Random Walkscited by 32
  25. 2019Neural Subgraph Isomorphism Countingcited by 27

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 8; 2025: 4; 2026: 5.

19 papers.

Sort:

  1. 2024Comparing Graph Transformers via Positional Encodingscited by 20
  2. 2024Learning Long Range Dependencies on Graphs via Random Walkscited by 18
  3. 2025Towards A Universal Graph Structural Encodercited by 7
  4. 2024NeuroPath: A Neural Pathway Transformer for Joining the Dots of Human Connectomescited by 6
  5. 2024Powerformer: A Section-adaptive Transformer for Power Flow Adjustmentcited by 5
  6. 2024Future Directions in the Theory of Graph Machine Learningcited by 5
  7. 2023Transformers are efficient hierarchical chemical graph learnerscited by 4
  8. 2024NRFormer: Nationwide Nuclear Radiation Forecasting with Spatio-Temporal Transformercited by 4
  9. 2024Foundations and Frontiers of Graph Learning Theorycited by 3
  10. 2025Inductive Link Prediction on N-ary Relational Facts via Semantic Hypergraph Reasoningcited by 3
  11. 2023Topology-guided Hypergraph Transformer Network: Unveiling Structural Insights for Improved Representationcited by 2
  12. 2024Towards Graph Prompt Learning: A Survey and Beyondcited by 1
7 more
  1. 2026GraViti: Graph-Level Variational Autoencoders with Relaxed Permutation Invariancecited by 1
  2. 2025A method for the systematic generation of graph XAI benchmarks via Weisfeiler-Leman coloringcited by 0
  3. 2025HeSRN: Representation Learning On Heterogeneous Graphs via Slot-Aware Retentive Networkcited by 0
  4. 2026k-Maximum Inner Product Attention for Graph Transformers and the Expressive Power of GraphGPScited by 0
  5. 2026Invariant-Based Weight Sharing for Message Passingcited by 0
  6. 2026A Weisfeiler-Leman Characterization of Global-Attention Graph Transformers for Mixed-Integer Linear Programscited by 0
  7. 2026DBMol: Design of High-Affinity, Target-Specific Small Molecules through Structure Prediction Modelscited by 0