Lune

ICLR2026顶会

Critical attention scaling in long-context transformers

Shi Chen, Zhengjiang Lin, Yury Polyanskiy, Philippe Rigollet

摘要

As large language models scale to longer contexts, attention layers suffer from a fundamental pathology: attention scores collapse toward uniformity as context length nn increases, causing tokens to cluster excessively, a phenomenon known as rank-collapse. While attention scaling\text{\emph{attention scaling}} effectively addresses this deficiency by rescaling attention scores with a polylogarithmic factor βn\beta_n, theoretical justification for this approach remains lacking.

We analyze a simplified yet tractable model that magnifies the effect of attention scaling. In this model, attention exhibits a phase transition governed by the scaling factor βn\beta_n: insufficient scaling collapses all tokens to a single direction, while excessive scaling reduces attention to identity, thereby eliminating meaningful interactions between tokens. Our main result identifies the critical scaling βn≍log⁡n\beta_n \asymp \log n and provides a rigorous justification for attention scaling in YaRN and Qwen, clarifying why logarithmic scaling maintains sparse, content-adaptive attention at large context lengths.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics 引用了 The emergence of clusters in self-attention dynamics
  • Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics 引用了 A multiscale analysis of mean-field transformers in the moderate interaction regime
  • Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics 引用了 Clustering in Causal Attention Masking
  • The emergence of clusters in self-attention dynamics 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • Perceptrons and Localization of Attention’s Mean-Field Landscape 引用了 The emergence of clusters in self-attention dynamics
  • Perceptrons and Localization of Attention’s Mean-Field Landscape 引用了 A multiscale analysis of mean-field transformers in the moderate interaction regime
  • Perceptrons and Localization of Attention’s Mean-Field Landscape 引用了 Clustering in Causal Attention Masking
  • Threshold Differential Attention for Sink-Free, Ultra-Sparse, and Non-Dispersive Language Modeling 引用了 YaRN: Efficient Context Window Extension of Large Language Models
  • Modelling Attention with Aitchison Geometry: Token Distinguishability and Temperature Scaling 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • Modelling Attention with Aitchison Geometry: Token Distinguishability and Temperature Scaling 引用了 The emergence of clusters in self-attention dynamics
  • Modelling Attention with Aitchison Geometry: Token Distinguishability and Temperature Scaling 引用了 Clustering in Causal Attention Masking
  • A multiscale analysis of mean-field transformers in the moderate interaction regime 引用了 The emergence of clusters in self-attention dynamics
  • A multiscale analysis of mean-field transformers in the moderate interaction regime 引用了 YaRN: Efficient Context Window Extension of Large Language Models
  • A multiscale analysis of mean-field transformers in the moderate interaction regime 引用了 Clustering in Causal Attention Masking
  • Clustering in Causal Attention Masking 引用了 Attention is not all you need: pure attention loses rank doubly exponentially with depth
  • Clustering in Causal Attention Masking 引用了 The emergence of clusters in self-attention dynamics
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. A multiscale analysis of mean-field transformers in the moderate interaction regimeGiuseppe Bruno, Federico Pasqualotto, Andrea AgazziNeurIPS 2025 · 29 次引用
  2. Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention DynamicsHugo Koubbi, Louis Hernandez, Matthieu BoussardICML 2026 · 7 次引用
  3. Perceptrons and Localization of Attention’s Mean-Field LandscapeAntonio Álvarez López, Borjan Geshkovski, Domènec Ruiz-BaletICML 2026 · 7 次引用
  4. Threshold Differential Attention for Sink-Free, Ultra-Sparse, and Non-Dispersive Language ModelingXingyue Huang, Xueying Ding, Mingxuan Ju, Yozen Liu 等ACL 2026 · 3 次引用
  5. Modelling Attention with Aitchison Geometry: Token Distinguishability and Temperature ScalingSam Hilton-Jones, Timothy Norman, Zhanxing ZhuICML 2026

它引用的 Paper8

  1. Attention is not all you need: pure attention loses rank doubly exponentially with depthYihe Dong, Jean-Baptiste Cordonnier, Andreas LoukasICML 2021 · 522 次引用
  2. YaRN: Efficient Context Window Extension of Large Language ModelsBowen Peng, Jeffrey Quesnelle, Honglu Fan, Enrico ShippoleICLR 2024 · 508 次引用
  3. The emergence of clusters in self-attention dynamicsBorjan Geshkovski, Cyril Letrouit, Yury Polyanskiy, Philippe RigolletNeurIPS 2023 · 163 次引用
  4. Clustering in Causal Attention MaskingNikita Karagodin, Yury Polyanskiy, Philippe RigolletNeurIPS 2024 · 40 次引用
  5. A multiscale analysis of mean-field transformers in the moderate interaction regimeGiuseppe Bruno, Federico Pasqualotto, Andrea AgazziNeurIPS 2025 · 29 次引用

相关 Paper

  1. Token Sample Complexity of AttentionLéa Bohbot, Cyril Letrouit, Gabriel Peyré, François-Xavier VialardICML 2026 · 1 次引用
  2. Variance Sensitivity Induces Attention Entropy Collapse and Instability in TransformersJonghyun Hong, Sungyoon LeeEMNLP 2025
  3. Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank CollapseLorenzo Noci, Sotiris Anagnostidis, Luca Biggio, Antonio Orvieto 等NeurIPS 2022 · 161 次引用
  4. Self-attention Networks Localize When QK-eigenspectrum ConcentratesHan Bao, Ryuichiro Hataya, Ryo KarakidaICML 2024 · 16 次引用
  5. Length-Induced Embedding Collapse in PLM-based ModelsYuqi Zhou, Sunhao Dai, Zhanshuo Cao, Xiao Zhang 等ACL 2025 · 8 次引用
黄昏的海面,两侧是细线勾勒的悬崖