Graph Transformers for Large Graphs
Not on the map. Why?
Abstract (arXiv)
Transformers have recently emerged as powerful neural networks for graph learning, showcasing state-of-the-art performance on several graph property prediction tasks. However, these results have been limited to small-scale graphs, where the computational feasibility of the global attention mechanism is possible. The next goal is to scale up these architectures to handle very large graphs on the scale of millions or even billions of nodes. With large-scale graphs, global attention learning is proven impractical due to its quadratic complexity w.r.t. the number of nodes. On the other hand, neighborhood sampling techniques become essential to manage large graph sizes, yet finding the optimal trade-off between speed and accuracy with sampling techniques remains challenging. This work advances representation learning on single large-scale graphs with a focus on identifying model characteristics and critical design constraints for developing scalable graph transformer (GT) architectures. We argue such GT requires layers that can adeptly learn both local and global graph representations while swiftly sampling the graph topology. As such, a key innovation of this work lies in the creation of a fast neighborhood sampling technique coupled with a local attention mechanism that encompasses a 4-hop reception field, but achieved through just 2-hop operations. This local node embedding is then integrated with a global node embedding, acquired via another self-attention layer with an approximate global codebook, before finally sent through a downstream layer for node predictions. The proposed GT framework, named LargeGT, overcomes previous computational bottlenecks and is validated on three large-scale node classification benchmarks. We report a 3x speedup and 16.8% performance gain on ogbn-products and snap-patents, while we also scale LargeGT on ogbn-papers100M with a 5.9% performance improvement.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 50 of its 61 references that are in the map. First posted on arXiv 18 Dec 2023.
Builds on
50 of 61 references.
References · 50
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2017Inductive Representation Learning on Large Graphscited by 6,320
38 more
- 2016Layer Normalizationcited by 5,669
- 2018How Powerful are Graph Neural Networks?cited by 4,393
- 2017Neural Message Passing for Quantum Chemistrycited by 3,487
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
- 2018Graph Convolutional Neural Networks for Web-Scale Recommender Systemscited by 1,138
- 2018Predict then Propagate: Graph Neural Networks meet Personalized PageRankcited by 993
- 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
- 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
- 2020A Generalization of Transformer Networks to Graphscited by 661
- 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 631
- 2019GraphSAINT: Graph Sampling Based Inductive Learning Methodcited by 618
- 2018FastGCN: Fast Learning with Graph Convolutional Networks via Importance Samplingcited by 584
- 2020Masked Label Prediction: Unified Message Passing Model for Semi-Supervised Classificationcited by 506
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
- 2017Residual Gated Graph ConvNetscited by 346
- 2020SIGN: Scalable Inception Graph Neural Networkscited by 284
- 2022Long Range Graph Benchmarkcited by 263
- 2023NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classificationcited by 210
- 2020Combining Label Propagation and Simple Models Out-performs Graph Neural Networkscited by 202
- 2021Is Homophily a Necessity for Graph Neural Networks?cited by 182
- 2018Adaptive Sampling Towards Fast Graph Representation Learningcited by 180
- 2020Graph-Bert: Only Attention is Needed for Learning Graph Representationscited by 177
- 2023Exphormer: Sparse Transformers for Graphscited by 170
- 2021Graph-less Neural Networks: Teaching Old MLPs New Tricks via Distillationcited by 152
- 2021GraphiT: Encoding Graph Structure in Transformerscited by 147
- 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
- 2023DIFFormer: Scalable (Graph) Transformers Induced by Energy Constrained Diffusioncited by 87
- 2023Attending to Graph Transformerscited by 83
- 2021New Benchmarks for Learning on Non-Homophilous Graphscited by 81
- 2022Hierarchical Graph Transformer with Adaptive Node Samplingcited by 72
- 2021Reconstruction for Powerful Graph Representationscited by 65
- 2021Gophormer: Ego-Graph Transformer for Node Classificationcited by 63
- 2023On the Connection Between MPNN and Graph Transformercited by 61
- 2023Demystifying Structural Disparity in Graph Neural Networks: Can One Size Fit All?cited by 41
- 2022Linkless Link Prediction via Relational Distillationcited by 39
- 2022MLPInit: Embarrassingly Simple GNN Training Acceleration with MLP Initializationcited by 31
- 2023Hierarchical Transformer for Scalable Graph Learningcited by 17
Built on by
Citing papers per year: 2024: 4; 2025: 2; 2026: 4.
10 papers.
- 2024Classic GNNs are Strong Baselines: Reassessing GNNs for Node Classificationcited by 85
- 2025Relational Graph Transformercited by 34
- 2024Node Identifiers: Compact, Discrete Representations for Efficient Graph Learningcited by 10
- 2024A Scalable and Effective Alternative to Graph Transformerscited by 4
- 2024Improving Graph Neural Networks by Learning Continuous Edge Directionscited by 3
- 2025From Sequence to Structure: Uncovering Substructure Reasoning in Transformerscited by 3
- 2026Plain Transformers are Surprisingly Powerful Link Predictorscited by 0
- 2026AdvSynGNN: Structure-Adaptive Graph Neural Nets via Adversarial Synthesis and Self-Corrective Propagationcited by 0
- 2026Unifying Graph Neural Networks Through a Common Layer Equationcited by 0
- 2026MetaRTL: Meta-path Attention Enhanced Relational Table Learningcited by 0
- 2026MetaRTL: Meta-path Attention Enhanced Relational Table Learning17 Sep 2026
- 2026Unifying Graph Neural Networks Through a Common Layer Equation17 Aug 2026
- 2026AdvSynGNN: Structure-Adaptive Graph Neural Nets via Adversarial Synthesis and Self-Corrective Propagation19 Feb 2026
- 2026Plain Transformers are Surprisingly Powerful Link Predictors2 Feb 2026
- 2025From Sequence to Structure: Uncovering Substructure Reasoning in Transformers11 Jul 2025
- 2025Relational Graph Transformer16 May 2025
- 2024Improving Graph Neural Networks by Learning Continuous Edge Directions18 Oct 2024
- 2024A Scalable and Effective Alternative to Graph Transformers17 Jun 2024
- 2024Classic GNNs are Strong Baselines: Reassessing GNNs for Node Classification13 Jun 2024
- 2024Node Identifiers: Compact, Discrete Representations for Efficient Graph Learning26 May 2024