arXiv:2610.19324cs.LGOct 2026

Manuscript Offprint

arXiv:2610.19324

Why don't Graph Transformers attend to the same token?

Alexandre Bismuth

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In large language models (LLMs), attention concentrates heavily on the first token. This ‘attention sink’ is believed to protect deep models against over-mixing. Even though graph transformers face a related pressure, we find that a SoTA graph transformer, GRIT, rarely forms sinks on molecules, and that it sinks less when trained on larger graphs, the opposite of the trend in LLMs. In principle, a graph can prevent sinks: we prove and show empirically that its symmetry and locality limit the attention any node can receive. On molecules, however, with distinguishable atoms and global attention, neither limit prevents sinks; what stops them lies in the model. We find that the attention scoring function is the main cause. Replacing GRIT’s gated logit with a dot product raises its sink rate from 0.09 to 0.68 on identical graphs. In Graph Transformers using dot-product attention, removing the sink gives about the same error as removing a random node, while GRIT’s most-attended nodes matter to its predictions. Attention sinks are therefore a property of dot-product attention rather than of Transformers. In our experiments, they form when dot-product scoring has a distinguishable node to concentrate on. 1^{1}

1 Introduction

A striking empirical property of Large Language Models (LLMs) is the attention sink (Xiao et al., 2024). In Transformers, an attention sink is a token that receives a large share of all attention: in Llama 3.1 405B, nearly 80% of attention heads sink on the semantically meaningless <BOS> token (sink metric of Gu et al., 2025 at threshold ε=0.8\varepsilon = 0.8; Barbero et al., 2025). Far from wasting compute, sinks are thought to slow the mixing of information between tokens and so protect deep models against ‘over-mixing’ (Dong et al., 2021; Barbero et al., 2024; Di Giovanni et al., 2023; Barbero et al., 2025), and larger models and longer training contexts both bring stronger sinks (Barbero et al., 2025).

Graph Transformers face a related pressure: depth causes over-smoothing (Zhang et al., 2024), and global attention makes it worse, since softmax over ever more nodes must disperse toward uniform mixing (Veličković et al., 2025). A designated sink node might be a natural defence, yet nothing in an ordinary graph plays the role of <BOS>: a graph has no first token, and permutation equivariance forbids preferring one of two nodes the model cannot tell apart. Sinks are documented beyond causally masked LLMs, in bidirectional diffusion language models (Rulli et al., 2025), as massive activations in attentional GNNs (Bini et al., 2024), and when LLMs read serialised graphs (Guan et al., 2025); concurrent work argues that graphs lack natural sinks (Liu et al., 2026). What is missing is an account of where a sink can form on a graph at all, and of which architectural ingredient decides whether one does.

We ask whether Graph Transformers form attention sinks and, if not, what prevents them. We study GRIT (Ma et al., 2023), a state-of-the-art Graph Transformer without message passing, so attention

1^{1}The code can be found at https://github.com/alexandre-bismuth/graph-transformer-sinks.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Geometric Distributional Deep Learning.

Figure

Figure 1: Changing only the scoring function creates a sink. Each atom of a 23-atom ZINC test molecule is shaded by the attention it receives, averaged over queries and heads at each model's peak-sinking layer: blue below the uniform share 1/23, red above. Swapping only GRIT's gated logit for a dot product (middle) moves attention off the other atoms and onto one, as in GraphGPS (right).

alone mixes information between nodes. We find that GRIT rarely forms sinks on molecules, and sinks even less when trained on larger graphs (Section 2), but that swapping in dot-product attention makes it sink far more often (Section 4). We investigate two suspects. The graph itself is not the barrier: we prove three bounds on received attention, from symmetry, locality, and the spread of attention scores, and find both graph-side bounds loose on real molecules (Section 3). The attention scoring function is the main cause, as the logit swap of Figure 1 and accuracy-matched controls show (Section 4).

References (31)