Attention Sinks Are Provably Necessary in Softmax Transformers: Evidence from Trigger-Conditional Tasks
Not on the map. Why?
Abstract (arXiv)
Transformers often display an attention sink: probability mass concentrates on a fixed, content-agnostic position. Are sinks a byproduct of the optimization/training regime? Or are they sometimes functionally necessary in softmax Transformers? We prove that, in some settings, it is the latter: computing a simple trigger-conditional behavior necessarily induces a sink in softmax self-attention models. Our results formalize a familiar intuition: normalization over a probability simplex must force attention to collapse onto a stable anchor to realize a default state (e.g., when the model needs to ignore the input). We instantiate this with a concrete task: when a designated trigger token appears, the model must return the average of all preceding token representations, and otherwise output zero, a task which mirrors the functionality of attention heads in the wild (Barbero et al., 2025; Guo et al., 2024). We also prove that non-normalized ReLU attention can solve the same task without any sink, confirming that the normalization constraint is the fundamental driver of sink behavior. Experiments validate our predictions and demonstrate they extend beyond the theoretically analyzed setting: softmax models develop strong sinks while ReLU attention eliminates them in both single-head and multi-head variants.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 40 of its 60 references that are in the map. First posted on arXiv 12 Mar 2026.
Builds on
40 of 60 references.
References · 40
- 2017Attention Is All You Needcited by 59,932
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 649
- 2019Implicit Regularization in Deep Matrix Factorizationcited by 402
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 266
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
- 2019Universal Approximation with Deep Narrow Networkscited by 198
- 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMscited by 165
- 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 147
- 2025Why do LLMs attend to the first token?cited by 122
28 more
- 2024Unveiling and Harnessing Hidden Attention Sinks: Enhancing Large Language Models without Training through Attention Calibrationcited by 70
- 2024Spectral Filters, Dark Signals, and Attention Sinkscited by 54
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 54
- 2024Seeing Clearly by Layer Two: Enhancing Attention Heads to Alleviate Hallucination in LVLMscited by 49
- 2025Attention Sinks and Compression Valleys in LLMs are Two Sides of the Same Coincited by 47
- 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 44
- 2024Softmax is not Enough (for Sharp Size Generalisation)cited by 42
- 2024Prefixing Attention Sinks can Mitigate Activation Outliers for Large Language Model Quantizationcited by 33
- 2023Sumformer: Universal Approximation for Efficient Transformerscited by 30
- 2025What are you sinking? A geometric approach on attention sinkcited by 26
- 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
- 2020Normalized Attention Without Probability Cagecited by 19
- 2025Attention Sinks in Diffusion Language Modelscited by 18
- 2025Attention Sinks: A 'Catch, Tag, Release' Mechanism for Embeddingscited by 16
- 2025Mirage in the Eyes: Hallucination Attack on Multi-modal Large Language Models with Only Attention Sinkcited by 15
- 2025Artifacts and Attention Sinks: Structured Approximations for Efficient Vision Transformerscited by 9
- 2025Mitigating Attention Sinks and Massive Activations in Audio-Visual Speech Recognition with LLMscited by 9
- 2026Garbage Attention in Large Language Models: BOS Sink Heads and Sink-aware Pruningcited by 7
- 2026Outcome-Based RL Provably Leads Transformers to Reason, but Only With the Right Datacited by 5
- 2025Mamba Knockout for Unraveling Factual Information Flowcited by 4
- 2026Threshold Differential Attention for Sink-Free, Ultra-Sparse, and Non-Dispersive Language Modelingcited by 4
- 2025On the Existence and Behavior of Secondary Attention Sinkscited by 3
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sinkcited by 3
- 2026One Token Is Enough: Improving Diffusion Language Models with a Sink Tokencited by 2
- 2026Stochastic Parroting in Temporal Attention -- Regulating the Diagonal Sinkcited by 2
- 2026Sink-Aware Pruning for Diffusion Language Modelscited by 1
Built on by
Citing papers per year: 2026: 10.
10 papers.
- 2026Irminsul: MLA-Native Position-Independent Caching for Agentic LLM Servingcited by 3
- 2026Attention Sinks in Diffusion Transformers: A Causal Analysiscited by 2
- 2026Attention Sinks and Outliers in Attention Residualscited by 2
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing preventioncited by 1
- 2026Massive Activations Are Architecturally Robust: A Controlled Scratch/Commitment Residual Stream Testcited by 1
- 2026The Geometric Cost of Normalization: Affine Bounds on the Bayesian Complexity of Neural Networkscited by 0
- 2026A Mechanistic Account of Attention Sinks in GPT-2: One Circuit, Broader Implications for Mitigationcited by 0
- 2026Mechanistically Interpretable Neural Encoding Reveals Fine-Grained Functional Selectivity in Human Visual Cortexcited by 0
- 2026From Attention Masks to Inert Zero-Vector Tokens: OAttention and O-Closure for Token Dynamicscited by 0
- 2026Abstention and Noise Filtering: Two Missing Primitives of Softmax Attentioncited by 0
- 2026Abstention and Noise Filtering: Two Missing Primitives of Softmax Attention18 Sep 2026
- 2026From Attention Masks to Inert Zero-Vector Tokens: OAttention and O-Closure for Token Dynamics21 Aug 2026
- 2026Massive Activations Are Architecturally Robust: A Controlled Scratch/Commitment Residual Stream Test17 Jun 2026
- 2026Attention Sinks and Outliers in Attention Residuals18 May 2026
- 2026Mechanistically Interpretable Neural Encoding Reveals Fine-Grained Functional Selectivity in Human Visual Cortex15 May 2026
- 2026Attention Sinks in Diffusion Transformers: A Causal Analysis10 May 2026
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention8 May 2026
- 2026Irminsul: MLA-Native Position-Independent Caching for Agentic LLM Serving7 May 2026
- 2026A Mechanistic Account of Attention Sinks in GPT-2: One Circuit, Broader Implications for Mitigation16 Apr 2026
- 2026The Geometric Cost of Normalization: Affine Bounds on the Bayesian Complexity of Neural Networks28 Mar 2026