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

cs.LG Alexandre Bismuth · Oct 14, 2026
Local to this browser
What it does
While large language models concentrate attention on initial tokens to prevent over-mixing, state-of-the-art graph transformers rarely exhibit this 'attention sink' behavior. This paper identifies the attention scoring function—not graph...
Why it matters
This paper identifies the attention scoring function—not graph symmetry or locality—as the decisive factor, showing that replacing GRIT's gated logit with a standard dot product raises sink rates dramatically. The finding reframes...
Main concern
The paper presents a focused and methodologically clean investigation into attention sinks in graph transformers, convincingly arguing that sink formation is driven by the scoring function. Its central ablation—swapping only the logit...
Community signal
0
0 up · 0 down
Sign in to vote with arrows
AI Review AI reviewed
Plain-language introduction

While large language models concentrate attention on initial tokens to prevent over-mixing, state-of-the-art graph transformers rarely exhibit this 'attention sink' behavior. This paper identifies the attention scoring function—not graph symmetry or locality—as the decisive factor, showing that replacing GRIT's gated logit with a standard dot product raises sink rates dramatically. The finding reframes attention sinks as an artifact of dot-product scoring rather than an inherent property of deep transformers.

Critical review
Verdict
Bottom line

The paper presents a focused and methodologically clean investigation into attention sinks in graph transformers, convincingly arguing that sink formation is driven by the scoring function. Its central ablation—swapping only the logit computation while holding all other components fixed—yields a stark difference in sink rates and is supported by both theoretical bounds and norm-intervention experiments. However, the evidence is narrowly scoped to GRIT on molecular graphs at modest depth, and the broader claim that sinks are a property of dot-product attention 'rather than of Transformers' outpaces the experiments, which test only one gated architecture.

“Replacing only GRIT's logit with $z^{\mathrm{dot}}$ ... raises its sink rate from $0.090 \pm 0.028$ to $0.680 \pm 0.098$”
Paper under review · Section 4
“We observe an interesting phenomenon, namely attention sink, that keeping the KV of initial tokens will largely recover the performance of window attention.”
Xiao et al., 2024 · Abstract
What holds up

The strongest evidence comes from the controlled scoring-function ablation and the norm-intervention analysis. By changing only $z_{uj}$ from GRIT's clipped, pair-dependent gated score to a simple dot product, the sink rate jumps from under 0.1 to over 0.68 on identical ZINC molecules, while GRIT's saturated nonlinear score keeps coordinate activations pinned at the clipping bounds and barely responds to scaled node norms. The three theoretical bounds on received attention—from automorphism orbits, local neighborhoods, and logit spread—also provide a clear diagnostic framework and correctly predict that symmetry, not locality, prevents sinks on regular graphs.

“Replacing only GRIT's logit with $z^{\mathrm{dot}}$ ... raises its sink rate from $0.090 \pm 0.028$ to $0.680 \pm 0.098$”
Paper under review · Section 4
“GRIT's score instead saturates: in layers 2 to 10, at least 96% of its coordinates sit at 0 or 5”
Paper under review · Section 4
Main concerns

The title and closing claims generalize beyond the evidence, which covers only one gated-score architecture (GRIT), one graph domain (molecules and symmetric cycles), and models of only ten layers. The authors candidly acknowledge these limits, noting that 'our 10-layer models show little over-smoothing to prevent,' which leaves the functional motivation for sinks in graph transformers unresolved. Additionally, the accuracy-matched controls achieved at much higher error (test MAE ~0.54) are far from the state-of-the-art operating point, so it remains unclear whether the scoring-function effect dominates when all models are trained to convergence at competitive accuracy.

“Our study has limits: one gated-score architecture against dot-product baselines, on molecular graphs alone, at 10 layers”
Paper under review · Section 5
“Whether sinks protect Graph Transformers against over-mixing remains open: our 10-layer models show little over-smoothing to prevent”
Paper under review · Section 5
Evidence and comparison

Within its scope, the evidence is persuasive. The ablation ratios in Table 1 separate functional importance from mere reception: removing the most-attended node in GRIT doubles error relative to a random node, whereas dot-product sinks are close to no-ops. The comparison to GraphGPS is fair but incomplete because several components differ at once; the paper rightly addresses this by isolating the scoring function. Comparisons to the LLM literature are accurate, and the concurrent work by Liu et al. is appropriately distinguished.

“In dot-product models the sink is thus close to a no-op, as in LLMs (Barbero et al., 2025), whereas GRIT's most-attended nodes matter to its predictions.”
Paper under review · Section 4
“On real molecules, neither graph-side bound is tight: atoms rarely have symmetric counterparts, attention is nonlocal (median $\lambda_{1} \geq 0.91$), and the bounds rule out a sink in at most 5.1% of heads in any run.”
Paper under review · Section 3
Reproducibility

Reproduction is feasible in principle because the code is public, standard datasets are used, and hyperparameters are listed in Appendix B. Nevertheless, several implementation details could block exact reproduction. The GRIT-dotlogit arm requires swapping a specific coordinate-wise clipped score for a dot product while retaining pair representations and values; the paper notes that 'the official code' clips the scalar logit differently, creating ambiguity about which version was used as the base. Seed-dependent variation in some virtual-node quantities and the lack of released training curves or layer-wise checkpoint files are additional friction points.

“The code can be found at https://github.com/alexandre-bismuth/graph-transformer-sinks.”
Paper under review · Abstract
“Every other arm inherits its base model's configuration, changing only the named component.”
Paper under review · Appendix B
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.

Challenge the Review

Pick a starting point or write your own. Challenges run in the background, so you can keep reading while the AI investigates.

No challenges yet. Disagree with the review? Ask the AI to revisit a specific claim.