Attention Sinks Induce Gradient Sinks

Yihong Chen, Quanming Yao
3/18/2026
3 citations
cs.LGcs.AI
transformer-attention

Official code: LARS-research/GradientSink (0 stars, Python, last commit 2026-10-19).

Abstract

Attention sinks and massive activations are recurring and closely related phenomena in Transformer models. Existing studies have largely focused on the forward pass, making it unclear whether their connection is direct or mediated by a training-time mechanism.

Show full abstract

We study this question from the perspective of backpropagation. Empirically and theoretically, we show that under causal mask, attention sinks can induce pronounced gradient concentration, which we term gradient sinks. Furthermore, in pre-norm architectures with RMSNorm, massive activations can be understood as an adaptive response to this localized gradient pressure during training. To test this hypothesis, we introduce V-scale, a modification that adjusts value-path backpropagated gradients. In pretrained V-scale models, attention sinks are preserved whereas massive activations are suppressed. These results support the interpretation that gradient sink is a key training-time mediator linking attention sinks and massive activations.

View on arXivView PDF

Code Implementations(1)

00Python, ShellOct 4, 20261 months ago

Similar Papers

Cite this paper

@article{chen2026attention,
  title  = {Attention Sinks Induce Gradient Sinks},
  author = {Yihong Chen and Quanming Yao},
  year   = {2026},
  eprint = {2603.17771},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.17771v1}
}

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/2603.17771.svg)](https://codeofpaper.com/paper/2603.17771)

Discussion