mlsanityData to 14 Oct 2026

Graph Transformers for Large Graphs

arXiv 2312.11109 ↗First posted 18 Dec 2023cs.LGcited by 10

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  6. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  7. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  8. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  9. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  10. 2017Graph Attention Networkscited by 8,923
  11. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  12. 2017Inductive Representation Learning on Large Graphscited by 6,320
38 more
  1. 2016Layer Normalizationcited by 5,669
  2. 2018How Powerful are Graph Neural Networks?cited by 4,393
  3. 2017Neural Message Passing for Quantum Chemistrycited by 3,487
  4. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  5. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
  6. 2018Graph Convolutional Neural Networks for Web-Scale Recommender Systemscited by 1,138
  7. 2018Predict then Propagate: Graph Neural Networks meet Personalized PageRankcited by 993
  8. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
  9. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
  10. 2020A Generalization of Transformer Networks to Graphscited by 661
  11. 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 631
  12. 2019GraphSAINT: Graph Sampling Based Inductive Learning Methodcited by 618
  13. 2018FastGCN: Fast Learning with Graph Convolutional Networks via Importance Samplingcited by 584
  14. 2020Masked Label Prediction: Unified Message Passing Model for Semi-Supervised Classificationcited by 506
  15. 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
  16. 2017Residual Gated Graph ConvNetscited by 346
  17. 2020SIGN: Scalable Inception Graph Neural Networkscited by 284
  18. 2022Long Range Graph Benchmarkcited by 263
  19. 2023NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classificationcited by 210
  20. 2020Combining Label Propagation and Simple Models Out-performs Graph Neural Networkscited by 202
  21. 2021Is Homophily a Necessity for Graph Neural Networks?cited by 182
  22. 2018Adaptive Sampling Towards Fast Graph Representation Learningcited by 180
  23. 2020Graph-Bert: Only Attention is Needed for Learning Graph Representationscited by 177
  24. 2023Exphormer: Sparse Transformers for Graphscited by 170
  25. 2021Graph-less Neural Networks: Teaching Old MLPs New Tricks via Distillationcited by 152
  26. 2021GraphiT: Encoding Graph Structure in Transformerscited by 147
  27. 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
  28. 2023DIFFormer: Scalable (Graph) Transformers Induced by Energy Constrained Diffusioncited by 87
  29. 2023Attending to Graph Transformerscited by 83
  30. 2021New Benchmarks for Learning on Non-Homophilous Graphscited by 81
  31. 2022Hierarchical Graph Transformer with Adaptive Node Samplingcited by 72
  32. 2021Reconstruction for Powerful Graph Representationscited by 65
  33. 2021Gophormer: Ego-Graph Transformer for Node Classificationcited by 63
  34. 2023On the Connection Between MPNN and Graph Transformercited by 61
  35. 2023Demystifying Structural Disparity in Graph Neural Networks: Can One Size Fit All?cited by 41
  36. 2022Linkless Link Prediction via Relational Distillationcited by 39
  37. 2022MLPInit: Embarrassingly Simple GNN Training Acceleration with MLP Initializationcited by 31
  38. 2023Hierarchical Transformer for Scalable Graph Learningcited by 17

Built on by

Cited by year (2026 to 14 Oct)

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

10 papers.