Attention Sinks Induce Gradient Sinks: Massive Activations as Gradient Regulators in Transformers
Not on the map. Why?
Abstract (arXiv)
Attention sinks and massive activations are recurring and closely related phenomena in Transformer models. Existing explanations have largely focused on the forward pass, yet in pre-norm Transformers, large residual-stream norms play only an indirect forward role because sublayers operate on normalized inputs. We study this relationship from the perspective of backpropagation. Empirically and theoretically, we show that under causal masking, attention sinks can induce pronounced gradient concentration, which we term gradient sinks. Since the RMSNorm Jacobian attenuates gradients roughly in inverse proportion to input norm, massive activations can be understood as adaptive regulators of this localized gradient pressure during training. This interpretation predicts that attenuating sink-induced gradients should weaken massive activations. We test this prediction with V-scale, a modification that adjusts backpropagated gradients on the value path. In V-scale models, attention sinks are preserved, whereas massive activations are suppressed. These results identify gradient sinks as a backward-pass counterpart of attention sinks, and massive activations as an adaptive RMSNorm-mediated response that attenuates the resulting localized training pressure. Our code is available at https://anonymous.4open.science/r/GradientSinkCode-B309.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 43 of its 48 references that are in the map. First posted on arXiv 18 Mar 2026.
Builds on
43 of 48 references.
References · 43
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2025Qwen3 Technical Reportcited by 8,195
- 2016Layer Normalizationcited by 5,579
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2020GLU Variants Improve Transformercited by 1,724
31 more
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,234
- 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,096
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2017Stochastic Gradient Descent as Approximate Bayesian Inferencecited by 298
- 2024Massive Activations in Large Language Modelscited by 277
- 2018An Empirical Model of Large-Batch Trainingcited by 268
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 266
- 2020Understanding the Difficulty of Training Transformerscited by 210
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
- 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 147
- 2025Why do LLMs attend to the first token?cited by 122
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 54
- 2025Attention Sinks and Compression Valleys in LLMs are Two Sides of the Same Coincited by 47
- 2025Systematic Outliers in Large Language Modelscited by 32
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinkscited by 23
- 2026A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Trainingcited by 21
- 2025Softpick: No Attention Sink, No Massive Activations with Rectified Softmaxcited by 20
- 2025KVSink: Understanding and Enhancing the Preservation of Attention Sinks in KV Cache Quantization for LLMscited by 18
- 2025Unveiling Super Experts in Mixture-of-Experts Large Language Modelscited by 15
- 2025A Refined Analysis of Massive Activations in LLMscited by 12
- 2025Hidden Dynamics of Massive Activations in Transformer Trainingcited by 10
- 2025All You Need is One: Capsule Prompt Tuning with a Single Vectorcited by 8
- 2025Value-State Gated Attention for Mitigating Extreme-Token Phenomena in Transformerscited by 7
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapsecited by 4
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sinkcited by 3
Built on by
Citing papers per year: 2026: 2.
2 papers.