Why don't Graph Transformers attend to the same token?
Alexandre Bismuth
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Attention Sinks as Spectral Spikes: A Mechanism Analysis of Gated AttentionarXiv · 2026
- Validating and Correcting Graph Neural Network Attention for Drug-Induced Liver Injury Prediction.Journal of chemical information and modeling · 2026
- On the Token Collapse Phenomenon in Textual Graph Soft PromptingarXiv · 2026
- Graph Transformers: A SurveyIEEE Transactions on Neural Networks and Learning Systems · 2026
- Aggregation Dispersion: An Information-Geometric Diagnostic of Oversmoothing in Graph Neural NetworksarXiv · 2026
- On the Informativeness of Structural Stability Bounds for GNNs: GINs versus GATsarXiv · 2026