mlsanityData to 7 Oct 2026

Gradformer: Graph Transformer with Exponential Decay

arXiv 2404.15729 ↗First posted 24 Apr 2024cs.LGcited by 10

Not on the map. Why?

Abstract (arXiv)

Graph Transformers (GTs) have demonstrated their advantages across a wide range of tasks. However, the self-attention mechanism in GTs overlooks the graph's inductive biases, particularly biases related to structure, which are crucial for the graph tasks. Although some methods utilize positional encoding and attention bias to model inductive biases, their effectiveness is still suboptimal analytically. Therefore, this paper presents Gradformer, a method innovatively integrating GT with the intrinsic inductive bias by applying an exponential decay mask to the attention matrix. Specifically, the values in the decay mask matrix diminish exponentially, correlating with the decreasing node proximities within the graph structure. This design enables Gradformer to retain its ability to capture information from distant nodes while focusing on the graph's local details. Furthermore, Gradformer introduces a learnable constraint into the decay mask, allowing different attention heads to learn distinct decay masks. Such an design diversifies the attention heads, enabling a more effective assimilation of diverse structural information within the graph. Extensive experiments on various benchmarks demonstrate that Gradformer consistently outperforms the Graph Neural Network and GT baseline models in various graph classification and regression tasks. Additionally, Gradformer has proven to be an effective method for training deep GT models, maintaining or even enhancing accuracy compared to shallow models as the network deepens, in contrast to the significant accuracy drop observed in other GT models.Codes are available at urlhttps://github.com/LiuChuang0059/Gradformer.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 32 of its 42 references that are in the map. First posted on arXiv 24 Apr 2024.

Builds on

32 of 42 references.

References · 32

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  4. 2017Graph Attention Networkscited by 8,854
  5. 2018How Powerful are Graph Neural Networks?cited by 4,355
  6. 2019Fast Graph Representation Learning with PyTorch Geometriccited by 2,414
  7. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
  8. 2015Gated Graph Sequence Neural Networkscited by 792
  9. 2020TUDataset: A collection of benchmark datasets for learning with graphscited by 718
  10. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 702
  11. 2020Benchmarking Graph Neural Networkscited by 672
  12. 2020A Generalization of Transformer Networks to Graphscited by 653
20 more
  1. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  2. 2021Rethinking Graph Transformers with Spectral Attentioncited by 468
  3. 2023NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classificationcited by 207
  4. 2022Representing Long-Range Context for Graph Neural Networks with Global Attentioncited by 193
  5. 2022Structure-Aware Transformer for Graph Representation Learningcited by 191
  6. 2021Global Self-Attention as a Replacement for Graph Convolutioncited by 113
  7. 2022Transformer for Graphs: An Overview from Architecture Perspectivecited by 107
  8. 2023DIFFormer: Scalable (Graph) Transformers Induced by Energy Constrained Diffusioncited by 85
  9. 2021Gophormer: Ego-Graph Transformer for Node Classificationcited by 63
  10. 2022Relational Attention: Generalizing Transformers for Graph-Structured Taskscited by 41
  11. 2021From block-Toeplitz matrices to differential equations on graphs: towards a general theory for scalable masked Transformerscited by 38
  12. 2020Self-Attention with Cross-Lingual Position Representationcited by 27
  13. 2021Learning Attributed Graph Representations with Communicative Message Passing Transformercited by 20
  14. 2023Graph Decision Transformercited by 20
  15. 2023Graph Transformer GANs for Graph-Constrained House Generationcited by 19
  16. 2023Are More Layers Beneficial to Graph Transformers?cited by 14
  17. 2023Multimodal Graph Transformer for Multimodal Question Answeringcited by 10
  18. 2022Entity Alignment with Reliable Path Reasoning and Relation-Aware Heterogeneous Graph Transformercited by 7
  19. 2022Unleashing the Power of Transformer for Graphscited by 6
  20. 2023Exploring Sparsity in Graph Transformerscited by 3

Built on by

Cited by year (2026 to 7 Oct)

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

10 papers.