mlsanityData to 14 Oct 2026

Structure-Aware Transformer for Graph Representation Learning

arXiv 2202.03036 ↗First posted 7 Feb 2022stat.ML cs.LGcited by 194

Not on the map. Why?

Abstract (arXiv)

The Transformer architecture has gained growing attention in graph representation learning recently, as it naturally overcomes several limitations of graph neural networks (GNNs) by avoiding their strict structural inductive biases and instead only encoding the graph structure via positional encoding. Here, we show that the node representations generated by the Transformer with positional encoding do not necessarily capture structural similarity between them. To address this issue, we propose the Structure-Aware Transformer, a class of simple and flexible graph Transformers built upon a new self-attention mechanism. This new self-attention incorporates structural information into the original self-attention by extracting a subgraph representation rooted at each node before computing the attention. We propose several methods for automatically generating the subgraph representation and show theoretically that the resulting representations are at least as expressive as the subgraph representations. Empirically, our method achieves state-of-the-art performance on five graph prediction benchmarks. Our structure-aware framework can leverage any existing GNN to extract the subgraph representation, and we show that it systematically improves performance relative to the base GNN model, successfully combining the advantages of GNNs and Transformers. Our code is available at https://github.com/BorgwardtLab/SAT.

Key facts. Cited by 194 papers in the map (data through 14 Oct 2026). Builds on 39 of its 64 references that are in the map. First posted on arXiv 7 Feb 2022.

Builds on

39 of 64 references.

References · 39

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
  4. 2017Graph Attention Networkscited by 8,923
  5. 2017Inductive Representation Learning on Large Graphscited by 6,320
  6. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  7. 2018How Powerful are Graph Neural Networks?cited by 4,393
  8. 2017Neural Message Passing for Quantum Chemistrycited by 3,487
  9. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,163
  10. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  11. 2018Self-Attention with Relative Position Representationscited by 1,120
  12. 2018Deeper Insights into Graph Convolutional Networks for Semi-Supervised Learningcited by 1,102
27 more
  1. 2019Strategies for Pre-training Graph Neural Networkscited by 971
  2. 2018Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networkscited by 881
  3. 2020Efficient Transformers: A Surveycited by 790
  4. 2018Hierarchical Graph Representation Learning with Differentiable Poolingcited by 787
  5. 2019Graph Neural Networks for Social Recommendationcited by 714
  6. 2020Benchmarking Graph Neural Networkscited by 680
  7. 2020A Generalization of Transformer Networks to Graphscited by 661
  8. 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 631
  9. 2019Measuring and Relieving the Over-smoothing Problem for Graph Neural Networks from the Topological Viewcited by 545
  10. 2019DeepGCNs: Can GCNs Go as Deep as CNNs?cited by 527
  11. 2020Masked Label Prediction: Unified Message Passing Model for Semi-Supervised Classificationcited by 506
  12. 2019Graph U-Netscited by 492
  13. 2020Principal Neighbourhood Aggregation for Graph Netscited by 478
  14. 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
  15. 2021Graph Neural Networks with Learnable Structural and Positional Representationscited by 333
  16. 2017Community Detection and Stochastic Block Modelscited by 319
  17. 2020DeeperGCN: All You Need to Train Deeper GCNscited by 250
  18. 2021Weisfeiler and Lehman Go Cellular: CW Networkscited by 218
  19. 2019Position-aware Graph Neural Networkscited by 203
  20. 2022Representing Long-Range Context for Graph Neural Networks with Global Attentioncited by 195
  21. 2020Graph-Bert: Only Attention is Needed for Learning Graph Representationscited by 177
  22. 2021GraphiT: Encoding Graph Structure in Transformerscited by 147
  23. 2017On the Properties of the Softmax Function with Application in Game Theory and Reinforcement Learningcited by 142
  24. 2021Nested Graph Neural Networkscited by 137
  25. 2021Topological Graph Neural Networkscited by 87
  26. 2020Subgraph Neural Networkscited by 73
  27. 2020Rethinking pooling in graph neural networkscited by 73

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 16; 2023: 51; 2024: 62; 2025: 39; 2026: 26.

194 papers.

Sort:

By area:

  1. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
  2. 2023Exphormer: Sparse Transformers for Graphscited by 170
  3. 2023Graph Inductive Biases in Transformers without Message Passingcited by 153
  4. 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
  5. 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 134
  6. 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 133
  7. 2023Graph Foundation Models: Concepts, Opportunities and Challengescited by 103
  8. 2022A Generalization of ViT/MLP-Mixer to Graphscited by 93
  9. 2024Classic GNNs are Strong Baselines: Reassessing GNNs for Node Classificationcited by 85
  10. 2023Attending to Graph Transformerscited by 83
  11. 2023SimTeG: A Frustratingly Simple Approach Improves Textual Graph Learningcited by 73
  12. 2023A Comprehensive Survey on Deep Graph Representation Learningcited by 72
38 more
  1. 2023GIMLET: A Unified Graph-Text Model for Instruction-Based Molecule Zero-Shot Learningcited by 70
  2. 2024Feature Re-Embedding: Towards Foundation Model-Level Performance in Computational Pathologycited by 67
  3. 2024Polynormer: Polynomial-Expressive Graph Transformer in Linear Timecited by 65
  4. 2023A Complete Expressiveness Hierarchy for Subgraph GNNs via Subgraph Weisfeiler-Lehman Testscited by 64
  5. 2023On the Connection Between MPNN and Graph Transformercited by 61
  6. 2022Does GNN Pretraining Help Molecular Representation?cited by 60
  7. 2022A Survey on Graph Neural Networks and Graph Transformers in Computer Vision: A Task-Oriented Perspectivecited by 56
  8. 2023Virtual Node Tuning for Few-shot Node Classificationcited by 46
  9. 2022Relational Attention: Generalizing Transformers for Graph-Structured Taskscited by 41
  10. 2023Transformers Meet Directed Graphscited by 40
  11. 2024Beyond Weisfeiler-Lehman: A Quantitative Framework for GNN Expressivenesscited by 39
  12. 2023HINormer: Representation Learning On Heterogeneous Information Networks with Graph Transformercited by 35
  13. 2024VCR-Graphormer: A Mini-batch Graph Transformer via Virtual Connectionscited by 34
  14. 2023Graph Positional and Structural Encodercited by 33
  15. 2024GITA: Graph to Visual and Textual Integration for Vision-Language Graph Reasoningcited by 33
  16. 2024Graph Transformers: A Surveycited by 32
  17. 2023Can We Scale Transformers to Predict Parameters of Diverse ImageNet Models?cited by 29
  18. 2023Probabilistically Rewired Message-Passing Neural Networkscited by 26
  19. 2025Can Classic GNNs Be Strong Baselines for Graph-level Tasks? Simple Architectures Meet Excellencecited by 26
  20. 2023G-Adapter: Towards Structure-Aware Parameter-Efficient Transfer Learning for Graph Transformer Networkscited by 25
  21. 2023Adaptive Message Passing: A General Framework to Mitigate Oversmoothing, Oversquashing, and Underreachingcited by 24
  22. 2025A Survey of Representation Learning, Optimization Strategies, and Applications for Omnidirectional Visioncited by 24
  23. 2022Transformers over Directed Acyclic Graphscited by 23
  24. 2023Exposition on over-squashing problem on GNNs: Current Methods, Benchmarks and Challengescited by 22
  25. 2024MART: MultiscAle Relational Transformer Networks for Multi-agent Trajectory Predictioncited by 21
  26. 2023Graph Meets LLMs: Towards Large Graph Modelscited by 20
  27. 2023On Structural Expressive Power of Graph Transformerscited by 19
  28. 2024Learning Graph Quantized Tokenizerscited by 19
  29. 2024Learning Long Range Dependencies on Graphs via Random Walkscited by 18
  30. 2023Hierarchical Transformer for Scalable Graph Learningcited by 17
  31. 2023GraphGPT: Generative Pre-trained Graph Eulerian Transformercited by 17
  32. 2024Positional Knowledge is All You Need: Position-induced Transformer (PiT) for Operator Learningcited by 17
  33. 2025Graph Generative Pre-trained Transformercited by 17
  34. 2025Beyond Message Passing: Neural Graph Pattern Machinecited by 17
  35. 2023Enhancing Graph Transformers with Hierarchical Distance Structural Encodingcited by 16
  36. 2023Are More Layers Beneficial to Graph Transformers?cited by 15
  37. 2023Expressive Sign Equivariant Networks for Spectral Geometric Learningcited by 15
  38. 2024Probabilistic Graph Rewiring via Virtual Nodescited by 15

50 most cited of 194 All 194 (JSON)