Generalizable Insights for Graph Transformers in Theory and Practice
Not on the map. Why?
Abstract (arXiv)
Graph Transformers (GTs) have shown strong empirical performance, yet current architectures vary widely in their use of attention mechanisms, positional embeddings (PEs), and expressivity. Existing expressivity results are often tied to specific design choices and lack comprehensive empirical validation on large-scale data. This leaves a gap between theory and practice, preventing generalizable insights that exceed particular application domains. Here, we propose the Generalized-Distance Transformer (GDT), a GT architecture using standard attention that incorporates many advancements for GTs from recent years, and develop a fine-grained understanding of the GDT's representation power in terms of attention and PEs. Through extensive experiments, we identify design choices that consistently perform well across various applications, tasks, and model scales, demonstrating strong performance in a few-shot transfer setting without fine-tuning. Our evaluation covers over eight million graphs with roughly 270M tokens across diverse domains, including image-based object detection, molecular property prediction, code summarization, and out-of-distribution algorithmic reasoning. We distill our theoretical and practical findings into several generalizable insights about effective GT design, training, and inference.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 70 of its 90 references that are in the map. First posted on arXiv 11 Nov 2025.
Builds on
70 of 90 references.
References · 70
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2017Inductive Representation Learning on Large Graphscited by 6,284
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
38 more
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
- 2020Rethinking Attention with Performerscited by 1,584
- 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,571
- 2018Graph Convolutional Neural Networks for Web-Scale Recommender Systemscited by 1,133
- 2021Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gaugescited by 1,131
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 878
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
- 2020A Generalization of Transformer Networks to Graphscited by 653
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
- 2018Invariant and Equivariant Graph Networkscited by 339
- 2021OGB-LSC: A Large-Scale Challenge for Machine Learning on Graphscited by 328
- 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 326
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 286
- 2022Long Range Graph Benchmarkcited by 258
- 2018Modeling polypharmacy side effects with graph convolutional networkscited by 237
- 2017Learning to Represent Programs with Graphscited by 219
- 2023NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classificationcited by 207
- 2023What Algorithms can Transformers Learn? A Study in Length Generalizationcited by 198
- 2022Structure-Aware Transformer for Graph Representation Learningcited by 191
- 2022Pure Transformers are Powerful Graph Learnerscited by 188
- 2022Sign and Basis Invariant Networks for Spectral Graph Representation Learningcited by 176
- 2021Self-attention Does Not Need O(n2) Memorycited by 152
- 2019On the Universality of Invariant Networkscited by 151
- 2023Graph Inductive Biases in Transformers without Message Passingcited by 150
- 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 137
- 2019On the Turing Completeness of Modern Neural Network Architecturescited by 129
- 2025Why do LLMs attend to the first token?cited by 122
- 2023Rethinking the Expressive Power of GNNs via Graph Biconnectivitycited by 119
- 2022Teaching Algorithmic Reasoning via In-context Learningcited by 111
- 2022The CLRS Algorithmic Reasoning Benchmarkcited by 103
- 2023Specformer: Spectral Graph Neural Networks Meet Transformerscited by 102
- 2020Expressive Power of Invariant and Equivariant Graph Neural Networkscited by 100
- 2024Transformers need glasses! Information over-squashing in language taskscited by 87
- 2024Transformers Can Achieve Length Generalization But Not Robustlycited by 82
- 2023Attending to Graph Transformerscited by 81
- 2024Understanding Transformer Reasoning Capabilities via Graph Algorithmscited by 64
50 most cited of 70 All 70 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.