mlsanityData to 7 Oct 2026

SGFormer: Single-Layer Graph Transformers with Approximation-Free Linear Complexity

arXiv 2409.09007 ↗First posted 13 Sep 2024cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Learning representations on large graphs is a long-standing challenge due to the inter-dependence nature. Transformers recently have shown promising performance on small graphs thanks to its global attention for capturing all-pair interactions beyond observed structures. Existing approaches tend to inherit the spirit of Transformers in language and vision tasks, and embrace complicated architectures by stacking deep attention-based propagation layers. In this paper, we attempt to evaluate the necessity of adopting multi-layer attentions in Transformers on graphs, which considerably restricts the efficiency. Specifically, we analyze a generic hybrid propagation layer, comprised of all-pair attention and graph-based propagation, and show that multi-layer propagation can be reduced to one-layer propagation, with the same capability for representation learning. It suggests a new technical path for building powerful and efficient Transformers on graphs, particularly through simplifying model architectures without sacrificing expressiveness. As exemplified by this work, we propose a Simplified Single-layer Graph Transformers (SGFormer), whose main component is a single-layer global attention that scales linearly w.r.t. graph sizes and requires none of any approximation for accommodating all-pair interactions. Empirically, SGFormer successfully scales to the web-scale graph ogbn-papers100M, yielding orders-of-magnitude inference acceleration over peer Transformers on medium-sized graphs, and demonstrates competitiveness with limited labeled data.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 46 of its 70 references that are in the map. First posted on arXiv 13 Sep 2024.

Builds on

46 of 70 references.

References · 46

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2017Graph Attention Networkscited by 8,854
  6. 2017Inductive Representation Learning on Large Graphscited by 6,284
  7. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
  8. 2019Simplifying Graph Convolutional Networkscited by 1,470
  9. 2018Predict then Propagate: Graph Neural Networks meet Personalized PageRankcited by 987
  10. 2018Representation Learning on Graphs with Jumping Knowledge Networkscited by 875
  11. 2020Learning to Simulate Complex Physics with Graph Networkscited by 867
  12. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
34 more
  1. 2020A Generalization of Transformer Networks to Graphscited by 653
  2. 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 624
  3. 2019GraphSAINT: Graph Sampling Based Inductive Learning Methodcited by 618
  4. 2019Multi-scale Attributed Node Embeddingcited by 543
  5. 2019Cluster-GCN: An Efficient Algorithm for Training Deep and Large Graph Convolutional Networkscited by 540
  6. 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
  7. 2023A critical look at the evaluation of GNNs under heterophily: Are we really making progress?cited by 332
  8. 2021OGB-LSC: A Large-Scale Challenge for Machine Learning on Graphscited by 328
  9. 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
  10. 2020SIGN: Scalable Inception Graph Neural Networkscited by 283
  11. 2022Equiformer: Equivariant Graph Attention Transformer for 3D Atomistic Graphscited by 258
  12. 2020The Open Catalyst 2020 (OC20) Dataset and Community Challengescited by 246
  13. 2019Learning Discrete Structures for Graph Neural Networkscited by 228
  14. 2023NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classificationcited by 207
  15. 2020Graph Neural Networks with Heterophilycited by 202
  16. 2022Representing Long-Range Context for Graph Neural Networks with Global Attentioncited by 193
  17. 2022Structure-Aware Transformer for Graph Representation Learningcited by 191
  18. 2022Pure Transformers are Powerful Graph Learnerscited by 188
  19. 2022Finding Global Homophily in Graph Neural Networks When Meeting Heterophilycited by 179
  20. 2020Graph-Bert: Only Attention is Needed for Learning Graph Representationscited by 176
  21. 2016How to learn a graph from smooth signalscited by 146
  22. 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
  23. 2020Characteristic Functions on Graphs: Birds of a Feather, from Statistical Descriptors to Parametric Modelscited by 116
  24. 2021Global Self-Attention as a Replacement for Graph Convolutioncited by 113
  25. 2022Transformer for Graphs: An Overview from Architecture Perspectivecited by 107
  26. 2015Inferring Networks of Substitutable and Complementary Productscited by 91
  27. 2021GNNAutoScale: Scalable and Expressive Graph Neural Networks via Historical Embeddingscited by 90
  28. 2023DIFFormer: Scalable (Graph) Transformers Induced by Energy Constrained Diffusioncited by 85
  29. 2021New Benchmarks for Learning on Non-Homophilous Graphscited by 81
  30. 2022Hierarchical Graph Transformer with Adaptive Node Samplingcited by 72
  31. 2021Gophormer: Ego-Graph Transformer for Node Classificationcited by 63
  32. 2021p-Laplacian Based Graph Neural Networkscited by 39
  33. 2022How Expressive are Transformers in Spectral Domain for Graphs?cited by 15
  34. 2021Implicit vs Unfolded Graph Neural Networkscited by 12

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representations
  2. 2026Teaching LLMs to See Graphs: Unifying Text and Structural Reasoning
  3. 2025Unifying and Enhancing Graph Transformers via a Hierarchical Mask Framework
  4. 2025Attention Beyond Neighborhoods: Reviving Transformer for Graph Clustering
  5. 2024Graph Mamba: Towards Learning on Graphs with State Space Models
  6. 2023Recurrent Distance Filtering for Graph Representation Learning
  7. 2026SGFormer++: Semantic Graph Transformer for Incremental 3D Scene Graph Generation
  8. 2024Understanding Transformer Reasoning Capabilities via Graph Algorithms