View a PDF of the paper titled Attention Sinks and Compression Valleys in LLMs are Two Sides of the Same Coin, by Enrique Queipo-de-Llano and 6 other authors
View PDF
HTML (experimental)
Abstract: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.
Submission history
From: Enrique Queipo De Llano [view email]
[v1]
Tue, 7 Oct 2025 21:27:24 UTC (1,189 KB)
[v2]
Mon, 9 Feb 2026 21:51:48 UTC (1,259 KB)


![[2510.06477] Attention Sinks and Compression Valleys in LLMs are Two Sides of the Same Coin Measuring Intelligence Efficiency of Local AI](https://skytik.cc/wp-content/uploads/2025/11/Measuring-Intelligence-Efficiency-of-Local-AI-768x448.png)