Attention Sinks and Compression Valleys in LLMs are Two Sides of the Same Coin
Not on the map. Why?
Abstract (arXiv)
Attention sinks and compression valleys have attracted significant attention as two puzzling phenomena in large language models, but have been studied in isolation. In this work, we present a surprising connection between attention sinks and compression valleys, tracing both to the formation of massive activations in the residual stream. We prove theoretically that massive activations necessarily produce representational compression and establish bounds on the resulting entropy reduction. Through experiments across several models (410M-120B parameters), we confirm that when the beginning-of-sequence token develops extreme activation norms in the middle layers, both compression valleys and attention sinks emerge simultaneously. Targeted ablation studies validate our theoretical predictions. This unified view motivates us to propose the Mix-Compress-Refine theory of information flow, as an attempt to explain how LLMs organize their computation in depth by controlling attention and representational compression via massive activations. Specifically, we posit that Transformer-based LLMs process tokens in three distinct phases: (1) broad mixing in the early layers, (2) compressed computation with limited mixing in the middle layers, and (3) selective refinement in the late layers. Our framework helps explain why embedding tasks perform best at intermediate layers, whereas generation tasks benefit from full-depth processing, clarifying differences in task-dependent representations.
Key facts. Cited by 52 papers in the map (data through 14 Oct 2026). Builds on 34 of its 47 references that are in the map. First posted on arXiv 7 Oct 2025.
Builds on
34 of 47 references.
References · 34
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2023The Linear Representation Hypothesis and the Geometry of Large Language Modelscited by 716
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 712
- 2022MTEB: Massive Text Embedding Benchmarkcited by 640
22 more
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
- 2022The Stack: 3 TB of permissively licensed source codecited by 359
- 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 311
- 2022Confident Adaptive Language Modelingcited by 310
- 2024Massive Activations in Large Language Modelscited by 294
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 208
- 2023A mathematical perspective on Transformerscited by 164
- 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 151
- 2024The Remarkable Robustness of LLMs: Stages of Inference?cited by 146
- 2025Why do LLMs attend to the first token?cited by 127
- 2024Round and Round We Go! What makes Rotary Positional Encodings useful?cited by 115
- 2023How Does Information Bottleneck Help Deep Learning?cited by 93
- 2024Transformers need glasses! Information over-squashing in language taskscited by 91
- 2024Spectral Filters, Dark Signals, and Attention Sinkscited by 56
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 56
- 2025Do Language Models Use Their Depth Efficiently?cited by 50
- 2024On the Role of Attention Masks and LayerNorm in Transformerscited by 48
- 2025On Vanishing Gradients, Over-Smoothing, and Over-Squashing in GNNs: Bridging Recurrent and Graph Learningcited by 43
- 2023The Shape of Learning: Anisotropy and Intrinsic Dimensions in Transformer-Based Modelscited by 39
- 2024Your Transformer is Secretly Linearcited by 23
- 2025Interpreting the Repeated Token Phenomenon in Large Language Modelscited by 16
Built on by
Citing papers per year: 2025: 2; 2026: 50.
52 papers.
Sort:
By area:
- 2026A Mechanistic Analysis of Looped Reasoning Language Modelscited by 33
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinkscited by 27
- 2026Attention Sinks Are Provably Necessary in Softmax Transformers: Evidence from Trigger-Conditional Taskscited by 11
- 2026Garbage Attention in Large Language Models: BOS Sink Heads and Sink-aware Pruningcited by 8
- 2026On the Nature of Attention Sink that Shapes Decoding Strategy in Omni-LLMscited by 6
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMscited by 6
- 2026Measuring Affinity between Attention-Head Weight Subspaces via the Projection Kernelcited by 5
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapsecited by 5
- 2025On the Existence and Behavior of Secondary Attention Sinkscited by 4
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sinkcited by 4
- 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agentscited by 4
- 2026Text Template Tokens Are Implicit Semantic Registers in Diffusion Transformerscited by 4
38 more
- 2026LLM-based Embeddings: Attention Values Encode Sentence Semantics Better Than Hidden Statescited by 3
- 2026NerVE: Nonlinear Eigenspectrum Dynamics in LLM Feed-Forward Networkscited by 3
- 2026Attention Sinks Induce Gradient Sinks: Massive Activations as Gradient Regulators in Transformerscited by 3
- 2026When Attention Closes: How LLMs Lose the Thread in Multi-Turn Interactioncited by 3
- 2026Uncovering the Latent Potential of Deep Intermediate Representationscited by 3
- 2026A Single Layer to Explain Them All:Understanding Massive Activations in Large Language Modelscited by 2
- 2026CAPA: Contribution-Aware Pruning and FFN Approximation for Efficient Large Vision-Language Modelscited by 1
- 2026Phantom Paradoxes: Language Models Treat Unresolved Circular Truth Dependence as Contradictioncited by 1
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing preventioncited by 1
- 2026DyCo-RL: Dynamic Cross-Modal Coordination for Visual Reasoningcited by 1
- 2026DynamicPTQ: Mitigating Activation Quantization Collapse via Residual-Stream Dynamicscited by 1
- 2026Variable-Width Transformerscited by 1
- 2026Divergent large language model predictions from convergent representations in ambiguous word pairscited by 1
- 2026The Router Within: Eliciting Native Skill Routing from a Frozen LLMcited by 1
- 2025ShishuLM : Achieving Optimal and Efficient Parameterization with Low Attention Transformer Modelscited by 0
- 2026Attention Projection Mixing with Exogenous Anchorscited by 0
- 2026A Closer Look into LLMs for Table Understandingcited by 0
- 2026Attention Sinks as Internal Signals for Hallucination Detection in Large Language Modelscited by 0
- 2026Do Transformers Use their Depth Adaptively? Evidence from a Relational Reasoning Taskcited by 0
- 2026A Mechanistic Account of Attention Sinks in GPT-2: One Circuit, Broader Implications for Mitigationcited by 0
- 2026Kinetic theory for Transformers and the lost-in-the-middle phenomenoncited by 0
- 2026SLASH the Sink: Sharpening Structural Attention Inside LLMscited by 0
- 2026Measuring Maximum Activations in Open Large Language Modelscited by 0
- 2026Probing the Prompt KV Cache: Where It Becomes Dispensablecited by 0
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventionscited by 0
- 2026Information-Regularized Attention for Visual-Centric Reasoningcited by 0
- 2026Efficient LLM Adversarial Training via Low-Rank Defense and Circuit-Guided Surrogatescited by 0
- 2026CONDUIT: A Unified Residual-Stream Restoration Framework for KV Cache Reuse in Vision-Language Modelscited by 0
- 2026It's Not RoPE that Creates Sinks: The Role of Self-Concentration and Value-Non-Mixing in Attentioncited by 0
- 2026The Residual Stream's Effective Depthcited by 0
- 2026Transformer MLP Gate Thresholds Are Couplings to a Carried Reference Directioncited by 0
- 2026Emergent One-Third Scaling Law as Attention Tries to Concentratecited by 0
- 2026MassAlloc Attention: Let Attention Allocate Its Own Computecited by 0
- 2026Mind the Spike: Mechanisms and Brittleness of Visual Massive Activations in Large Vision-Language Modelscited by 0
- 2026Which the Eye Fears: Writing with Read-Blindness Explains Massive Activations in Transformerscited by 0
- 2026Underscoring the Problem: Why Softpick Fails at Initializationcited by 0
- 2026Spectral Geometry of Attention: From Information Routing to Uncertaintycited by 0
- 2026Before Attention Sinks Form: Hidden-State Geometry Reveals and Modulates Their Formationcited by 0
50 most cited of 52 All 52 (JSON)
- 2026Why don't Graph Transformers attend to the same token?14 Oct 2026
- 2026Not All Drift Is a Mechanism: Tracing Prompt Adaptation in LLMs13 Oct 2026
- 2026Before Attention Sinks Form: Hidden-State Geometry Reveals and Modulates Their Formation12 Oct 2026
- 2026Spectral Geometry of Attention: From Information Routing to Uncertainty5 Oct 2026
- 2026Underscoring the Problem: Why Softpick Fails at Initialization4 Oct 2026
- 2026Which the Eye Fears: Writing with Read-Blindness Explains Massive Activations in Transformers28 Sep 2026
- 2026Mind the Spike: Mechanisms and Brittleness of Visual Massive Activations in Large Vision-Language Models26 Sep 2026
- 2026MassAlloc Attention: Let Attention Allocate Its Own Compute26 Sep 2026
- 2026Emergent One-Third Scaling Law as Attention Tries to Concentrate26 Sep 2026
- 2026Transformer MLP Gate Thresholds Are Couplings to a Carried Reference Direction25 Sep 2026
- 2026The Residual Stream's Effective Depth25 Sep 2026
- 2026The Router Within: Eliciting Native Skill Routing from a Frozen LLM14 Sep 2026
38 more
- 2026It's Not RoPE that Creates Sinks: The Role of Self-Concentration and Value-Non-Mixing in Attention8 Sep 2026
- 2026CONDUIT: A Unified Residual-Stream Restoration Framework for KV Cache Reuse in Vision-Language Models5 Sep 2026
- 2026Divergent large language model predictions from convergent representations in ambiguous word pairs3 Aug 2026
- 2026Efficient LLM Adversarial Training via Low-Rank Defense and Circuit-Guided Surrogates31 Jul 2026
- 2026Text Template Tokens Are Implicit Semantic Registers in Diffusion Transformers21 Jul 2026
- 2026What to Keep, What to Forget: A Rate--Distortion View of Memory Compaction in LLMs and Agents9 Jul 2026
- 2026Information-Regularized Attention for Visual-Centric Reasoning1 Jul 2026
- 2026Variable-Width Transformers16 Jun 2026
- 2026DynamicPTQ: Mitigating Activation Quantization Collapse via Residual-Stream Dynamics10 Jun 2026
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventions6 Jun 2026
- 2026DyCo-RL: Dynamic Cross-Modal Coordination for Visual Reasoning6 Jun 2026
- 2026Probing the Prompt KV Cache: Where It Becomes Dispensable28 May 2026
- 2026Uncovering the Latent Potential of Deep Intermediate Representations21 May 2026
- 2026Measuring Maximum Activations in Open Large Language Models15 May 2026
- 2026When Attention Closes: How LLMs Lose the Thread in Multi-Turn Interaction13 May 2026
- 2026SLASH the Sink: Sharpening Structural Attention Inside LLMs11 May 2026
- 2026Kinetic theory for Transformers and the lost-in-the-middle phenomenon9 May 2026
- 2026A Single Layer to Explain Them All:Understanding Massive Activations in Large Language Models8 May 2026
- 2026Sink vs. diagonal patterns as mechanisms for attention switch and oversmoothing prevention8 May 2026
- 2026RouteHijack: Routing-Aware Attack on Mixture-of-Experts LLMs1 May 2026
- 2026A Mechanistic Account of Attention Sinks in GPT-2: One Circuit, Broader Implications for Mitigation16 Apr 2026
- 2026Do Transformers Use their Depth Adaptively? Evidence from a Relational Reasoning Task14 Apr 2026
- 2026Phantom Paradoxes: Language Models Treat Unresolved Circular Truth Dependence as Contradiction13 Apr 2026
- 2026A Mechanistic Analysis of Looped Reasoning Language Models13 Apr 2026
- 2026Attention Sinks as Internal Signals for Hallucination Detection in Large Language Models12 Apr 2026
- 2026Attention Sinks Induce Gradient Sinks: Massive Activations as Gradient Regulators in Transformers18 Mar 2026
- 2026A Closer Look into LLMs for Table Understanding16 Mar 2026
- 2026On the Nature of Attention Sink that Shapes Decoding Strategy in Omni-LLMs15 Mar 2026
- 2026Attention Sinks Are Provably Necessary in Softmax Transformers: Evidence from Trigger-Conditional Tasks12 Mar 2026
- 2026NerVE: Nonlinear Eigenspectrum Dynamics in LLM Feed-Forward Networks6 Mar 2026
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinks5 Mar 2026
- 2026Surgery: Mitigating Harmful Fine-Tuning for Large Language Models via Attention Sink5 Feb 2026
- 2026LLM-based Embeddings: Attention Values Encode Sentence Semantics Better Than Hidden States2 Feb 2026
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapse1 Feb 2026
- 2026CAPA: Contribution-Aware Pruning and FFN Approximation for Efficient Large Vision-Language Models30 Jan 2026
- 2026Measuring Affinity between Attention-Head Weight Subspaces via the Projection Kernel15 Jan 2026
- 2026Attention Projection Mixing with Exogenous Anchors13 Jan 2026
- 2026Garbage Attention in Large Language Models: BOS Sink Heads and Sink-aware Pruning11 Jan 2026
50 newest of 52 All 52 (JSON)
- 2026A Mechanistic Analysis of Looped Reasoning Language Modelscited by 33
- 2026On the Nature of Attention Sink that Shapes Decoding Strategy in Omni-LLMscited by 6
- 2026DyCo-RL: Dynamic Cross-Modal Coordination for Visual Reasoningcited by 1
- 2026Do Transformers Use their Depth Adaptively? Evidence from a Relational Reasoning Taskcited by 0
- 2026Information-Regularized Attention for Visual-Centric Reasoningcited by 0
- 2026Information-Regularized Attention for Visual-Centric Reasoning1 Jul 2026
- 2026DyCo-RL: Dynamic Cross-Modal Coordination for Visual Reasoning6 Jun 2026
- 2026Do Transformers Use their Depth Adaptively? Evidence from a Relational Reasoning Task14 Apr 2026
- 2026A Mechanistic Analysis of Looped Reasoning Language Models13 Apr 2026
- 2026On the Nature of Attention Sink that Shapes Decoding Strategy in Omni-LLMs15 Mar 2026
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapsecited by 5
- 2026A Closer Look into LLMs for Table Understandingcited by 0
- 2026Measuring Maximum Activations in Open Large Language Modelscited by 0
- 2026Not All Drift Is a Mechanism: Tracing Prompt Adaptation in LLMscited by 0
- 2026Not All Drift Is a Mechanism: Tracing Prompt Adaptation in LLMs13 Oct 2026
- 2026Measuring Maximum Activations in Open Large Language Models15 May 2026
- 2026A Closer Look into LLMs for Table Understanding16 Mar 2026
- 2026Attention Sink Forges Native MoE in Attention Layers: Sink-Aware Training to Address Head Collapse1 Feb 2026
- 2026CAPA: Contribution-Aware Pruning and FFN Approximation for Efficient Large Vision-Language Modelscited by 1
- 2026CONDUIT: A Unified Residual-Stream Restoration Framework for KV Cache Reuse in Vision-Language Modelscited by 0
- 2026Mind the Spike: Mechanisms and Brittleness of Visual Massive Activations in Large Vision-Language Modelscited by 0
- 2026Mind the Spike: Mechanisms and Brittleness of Visual Massive Activations in Large Vision-Language Models26 Sep 2026
- 2026CONDUIT: A Unified Residual-Stream Restoration Framework for KV Cache Reuse in Vision-Language Models5 Sep 2026
- 2026CAPA: Contribution-Aware Pruning and FFN Approximation for Efficient Large Vision-Language Models30 Jan 2026
- 2026The Spike, the Sparse and the Sink: Anatomy of Massive Activations and Attention Sinkscited by 27
- 2026Attention Sinks Are Provably Necessary in Softmax Transformers: Evidence from Trigger-Conditional Taskscited by 11
- 2026Garbage Attention in Large Language Models: BOS Sink Heads and Sink-aware Pruningcited by 8
- 2026Measuring Affinity between Attention-Head Weight Subspaces via the Projection Kernelcited by 5
- 2025On the Existence and Behavior of Secondary Attention Sinkscited by 4
- 2026LLM-based Embeddings: Attention Values Encode Sentence Semantics Better Than Hidden Statescited by 3
- 2026NerVE: Nonlinear Eigenspectrum Dynamics in LLM Feed-Forward Networkscited by 3
- 2026Attention Sinks Induce Gradient Sinks: Massive Activations as Gradient Regulators in Transformerscited by 3
- 2026When Attention Closes: How LLMs Lose the Thread in Multi-Turn Interactioncited by 3
- 2026Uncovering the Latent Potential of Deep Intermediate Representationscited by 3
- 2026A Single Layer to Explain Them All:Understanding Massive Activations in Large Language Modelscited by 2
- 2026Phantom Paradoxes: Language Models Treat Unresolved Circular Truth Dependence as Contradictioncited by 1
12 most cited of 33 All 33 (JSON)
- 2026Why don't Graph Transformers attend to the same token?14 Oct 2026
- 2026Before Attention Sinks Form: Hidden-State Geometry Reveals and Modulates Their Formation12 Oct 2026
- 2026Spectral Geometry of Attention: From Information Routing to Uncertainty5 Oct 2026
- 2026Underscoring the Problem: Why Softpick Fails at Initialization4 Oct 2026
- 2026Which the Eye Fears: Writing with Read-Blindness Explains Massive Activations in Transformers28 Sep 2026
- 2026MassAlloc Attention: Let Attention Allocate Its Own Compute26 Sep 2026
- 2026Emergent One-Third Scaling Law as Attention Tries to Concentrate26 Sep 2026
- 2026Transformer MLP Gate Thresholds Are Couplings to a Carried Reference Direction25 Sep 2026
- 2026The Residual Stream's Effective Depth25 Sep 2026
- 2026It's Not RoPE that Creates Sinks: The Role of Self-Concentration and Value-Non-Mixing in Attention8 Sep 2026
- 2026Divergent large language model predictions from convergent representations in ambiguous word pairs3 Aug 2026
- 2026Efficient LLM Adversarial Training via Low-Rank Defense and Circuit-Guided Surrogates31 Jul 2026
12 newest of 33 All 33 (JSON)