mlsanityData to 7 Oct 2026

Representing Long-Range Context for Graph Neural Networks with Global Attention

arXiv 2201.08821 ↗First posted 21 Jan 2022cs.LGcited by 193

Not on the map. Why?

Abstract (arXiv)

Graph neural networks are powerful architectures for structured datasets. However, current methods struggle to represent long-range dependencies. Scaling the depth or width of GNNs is insufficient to broaden receptive fields as larger GNNs encounter optimization instabilities such as vanishing gradients and representation oversmoothing, while pooling-based approaches have yet to become as universally useful as in computer vision. In this work, we propose the use of Transformer-based self-attention to learn long-range pairwise relationships, with a novel "readout" mechanism to obtain a global graph embedding. Inspired by recent computer vision results that find position-invariant attention performant in learning long-range relationships, our method, which we call GraphTrans, applies a permutation-invariant Transformer module after a standard GNN module. This simple architecture leads to state-of-the-art results on several graph classification tasks, outperforming methods that explicitly encode graph structure. Our results suggest that purely-learning-based approaches without graph structure may be suitable for learning high-level, long-range relationships on graphs. Code for GraphTrans is available at https://github.com/ucbrise/graphtrans.

Key facts. Cited by 193 papers in the map (data through 7 Oct 2026). Builds on 31 of its 43 references that are in the map. First posted on arXiv 21 Jan 2022.

Builds on

31 of 43 references.

References · 31

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2020End-to-End Object Detection with Transformerscited by 7,384
  5. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  6. 2018How Powerful are Graph Neural Networks?cited by 4,355
  7. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
  8. 2016Convolutional Neural Networks on Graphs with Fast Localized Spectral Filteringcited by 2,085
  9. 2020Reformer: The Efficient Transformercited by 1,658
  10. 2020Rethinking Attention with Performerscited by 1,584
  11. 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
  12. 2018Deeper Insights into Graph Convolutional Networks for Semi-Supervised Learningcited by 1,099
19 more
  1. 2018Representation Learning on Graphs with Jumping Knowledge Networkscited by 875
  2. 2018Hierarchical Graph Representation Learning with Differentiable Poolingcited by 786
  3. 2020A Generalization of Transformer Networks to Graphscited by 653
  4. 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 624
  5. 2019Measuring and Relieving the Over-smoothing Problem for Graph Neural Networks from the Topological Viewcited by 544
  6. 2019Graph U-Netscited by 489
  7. 2020Principal Neighbourhood Aggregation for Graph Netscited by 477
  8. 2019Self-Attention Graph Poolingcited by 421
  9. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  10. 2019On the Relationship between Self-Attention and Convolutional Layerscited by 299
  11. 2019A Fair Comparison of Graph Neural Networks for Graph Classificationcited by 244
  12. 2015Order Matters: Sequence to sequence for setscited by 236
  13. 2020Graph-Bert: Only Attention is Needed for Learning Graph Representationscited by 176
  14. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  15. 2020Lite Transformer with Long-Short Range Attentioncited by 127
  16. 2020Rethinking pooling in graph neural networkscited by 73
  17. 2021Directed Acyclic Graph Neural Networkscited by 70
  18. 2020Memory-Based Graph Networkscited by 56
  19. 2021Temporal Memory Attention for Video Semantic Segmentationcited by 49

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 27; 2023: 42; 2024: 64; 2025: 40; 2026: 20.

193 papers.

Sort:

By area:

  1. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
  2. 2022Structure-Aware Transformer for Graph Representation Learningcited by 191
  3. 2022NAGphormer: A Tokenized Graph Transformer for Node Classification in Large Graphscited by 137
  4. 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 132
  5. 2023SGFormer: Simplifying and Empowering Transformers for Large-Graph Representationscited by 131
  6. 2022Transformer for Graphs: An Overview from Architecture Perspectivecited by 107
  7. 2022A Generalization of ViT/MLP-Mixer to Graphscited by 93
  8. 2023Attending to Graph Transformerscited by 81
  9. 2023SimTeG: A Frustratingly Simple Approach Improves Textual Graph Learningcited by 73
  10. 2023A Comprehensive Survey on Deep Graph Representation Learningcited by 72
  11. 2023GIMLET: A Unified Graph-Text Model for Instruction-Based Molecule Zero-Shot Learningcited by 70
  12. 2022A Survey on Graph Representation Learning Methodscited by 66
38 more
  1. 2023On the Connection Between MPNN and Graph Transformercited by 60
  2. 2023Rethinking Tokenizer and Decoder in Masked Graph Modeling for Moleculescited by 49
  3. 2022Shortest Path Networks for Graph Property Predictioncited by 46
  4. 2022Relational Attention: Generalizing Transformers for Graph-Structured Taskscited by 41
  5. 2024Hypformer: Exploring Efficient Transformer Fully in Hyperbolic Spacecited by 39
  6. 2023HINormer: Representation Learning On Heterogeneous Information Networks with Graph Transformercited by 35
  7. 2024VCR-Graphormer: A Mini-batch Graph Transformer via Virtual Connectionscited by 34
  8. 2024FairGT: A Fairness-aware Graph Transformercited by 29
  9. 2023Probabilistically Rewired Message-Passing Neural Networkscited by 26
  10. 2023Automated 3D Pre-Training for Molecular Property Predictioncited by 24
  11. 2025Can Classic GNNs Be Strong Baselines for Graph-level Tasks? Simple Architectures Meet Excellencecited by 24
  12. 2022Transformers over Directed Acyclic Graphscited by 23
  13. 2023Over-Squashing in Graph Neural Networks: A Comprehensive surveycited by 23
  14. 2022PACE: A Parallelizable Computation Encoder for Directed Acyclic Graphscited by 20
  15. 2023FormNetV2: Multimodal Graph Contrastive Learning for Form Document Information Extractioncited by 20
  16. 2024Gramformer: Learning Crowd Counting via Graph-Modulated Transformercited by 19
  17. 2024Learning Graph Quantized Tokenizerscited by 19
  18. 2024Learning Long Range Dependencies on Graphs via Random Walkscited by 18
  19. 2023HIGT: Hierarchical Interaction Graph-Transformer for Whole Slide Image Analysiscited by 17
  20. 2023Joint-Relation Transformer for Multi-Person Motion Predictioncited by 16
  21. 2025Graph Generative Pre-trained Transformercited by 16
  22. 2022How Expressive are Transformers in Spectral Domain for Graphs?cited by 15
  23. 2024Probabilistic Graph Rewiring via Virtual Nodescited by 15
  24. 2022Equivariant Hypergraph Neural Networkscited by 14
  25. 2023Are More Layers Beneficial to Graph Transformers?cited by 14
  26. 2024Understanding Virtual Nodes: Oversquashing and Node Heterogeneitycited by 14
  27. 2024What Improves the Generalization of Graph Transformers? A Theoretical Dive into the Self-attention and Positional Encodingcited by 14
  28. 2024GraphFM: A generalist graph transformer that learns transferable representations across diverse domainscited by 14
  29. 2022Pretraining Graph Neural Networks for few-shot Analog Circuit Modeling and Designcited by 13
  30. 2024Benchmarking Positional Encodings for GNNs and Graph Transformerscited by 13
  31. 2022Capturing Graphs with Hypo-Elliptic Diffusionscited by 12
  32. 2024Triplet Interaction Improves Graph Transformers: Accurate Molecular Graph Learning with Triplet Graph Transformerscited by 12
  33. 2022From Local to Global: Spectral-Inspired Graph Neural Networkscited by 11
  34. 2023Recurrent Distance Filtering for Graph Representation Learningcited by 11
  35. 2024Attending to Topological Spaces: The Cellular Transformercited by 11
  36. 2025Long-range Brain Graph Transformercited by 11
  37. 2022Learnable Spectral Wavelets on Dynamic Graphs to Capture Global Interactionscited by 10
  38. 2023GNN-based physics solver for time-independent PDEscited by 10

50 most cited of 193 All 193 (JSON)