Scaling Graph Transformers: A Comparative Study of Sparse and Dense Attention

Leon Dimitrov
8/24/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

Graphs have become a central representation in machine learning for capturing relational and structured data across various domains. Traditional graph neural networks often struggle to capture long-range dependencies between nodes due to their local structure. Graph transformers overcome this by using attention mechanisms that allow nodes to exchange information globally. However, there are two types of attention in graph transformers: dense and sparse. In this paper, we compare these two attention mechanisms, analyze their trade-offs, and highlight when to use each. We also outline current challenges and problems in designing attention for graph transformers.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{dimitrov2025scaling,
  title  = {Scaling Graph Transformers: A Comparative Study of Sparse and Dense Attention},
  author = {Leon Dimitrov},
  year   = {2025},
  eprint = {2508.17175},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.17175v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2508.17175.svg)](https://codeofpaper.com/paper/2508.17175)

Discussion