Self-attention Networks Localize When QK-eigenspectrum Concentrates
Not on the map. Why?
Abstract (arXiv)
The self-attention mechanism prevails in modern machine learning. It has an interesting functionality of adaptively selecting tokens from an input sequence by modulating the degree of attention localization, which many researchers speculate is the basis of the powerful model performance but complicates the underlying mechanism of the learning dynamics. In recent years, mainly two arguments have connected attention localization to the model performances. One is the rank collapse, where the embedded tokens by a self-attention block become very similar across different tokens, leading to a less expressive network. The other is the entropy collapse, where the attention probability approaches non-uniform and entails low entropy, making the learning dynamics more likely to be trapped in plateaus. These two failure modes may apparently contradict each other because the rank and entropy collapses are relevant to uniform and non-uniform attention, respectively. To this end, we characterize the notion of attention localization by the eigenspectrum of query-key parameter matrices and reveal that a small eigenspectrum variance leads attention to be localized. Interestingly, the small eigenspectrum variance prevents both rank and entropy collapse, leading to better model expressivity and trainability.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 28 of its 31 references that are in the map. First posted on arXiv 3 Feb 2024.
Builds on
28 of 31 references.
References · 28
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2016Layer Normalizationcited by 5,579
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2013Generating Sequences With Recurrent Neural Networkscited by 549
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
16 more
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 337
- 2020ReZero is All You Need: Fast Convergence at Large Depthcited by 260
- 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 154
- 2023Birth of a Transformer: A Memory Viewpointcited by 154
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
- 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 101
- 2022Vision Transformers provably learn spatial structurecited by 92
- 2023Transformers as Support Vector Machinescited by 67
- 2023Max-Margin Token Selection in Attention Mechanismcited by 57
- 2023Grokking of Hierarchical Structure in Vanilla Transformerscited by 53
- 2023JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attentioncited by 52
- 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 51
- 2022Characterizing Intrinsic Compositionality in Transformers with Tree Projectionscited by 40
- 2023Analyzing Feed-Forward Blocks in Transformers through the Lens of Attention Mapscited by 33
- 2020What they do when in doubt: a study of inductive biases in seq2seq learnerscited by 20
- 2022B2T Connection: Serving Stability and Performance in Deep Transformerscited by 16
Built on by
Citing papers per year: 2024: 6; 2025: 4; 2026: 9.
19 papers.
Sort:
By area:
- 2024Dynamic metastability in the self-attention modelcited by 42
- 2024Measure-to-measure interpolation using Transformerscited by 28
- 2025Gating is Weighting: Understanding Gated Linear Attention through In-context Learningcited by 11
- 2024Theoretical Insights into Fine-Tuning Attention Mechanism: Generalization and Optimizationcited by 9
- 2024Optimizing Attention with Mirror Descent: Generalized Max-Margin Token Selectioncited by 9
- 2024Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamicscited by 7
- 2024AERO: Entropy-Guided Framework for Private LLM Inferencecited by 3
- 2026NerVE: Nonlinear Eigenspectrum Dynamics in LLM Feed-Forward Networkscited by 3
- 2025Mitigating Attention Localization in Small Scale: Self-Attention Refinement via One-step Belief Propagationcited by 2
- 2025A Random Matrix Theory Perspective on the Learning Dynamics of Multi-head Latent Attentioncited by 1
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformercited by 1
- 2026Mitigating Object Hallucinations in LVLMs via Attention Imbalance Rectificationcited by 1
7 more
- 2026QUEST: A robust attention formulation using query-modulated spherical attentioncited by 1
- 2026Mechanism-Driven Monitors for Preemptive Detection of LLM Training Instabilitycited by 1
- 2026Dispelling the Curse of Singularities in Neural Network Optimizationscited by 0
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutionscited by 0
- 2026Anti Mode-Collapse in Mean-Field Transformer via Auxiliary Variablescited by 0
- 2026Faster Query-Key Learning Sharpens Attention in Self-Attention Modelscited by 0
- 2026Query Expansion and Key Specialization in Transformer Attention Geometrycited by 0
- 2026Query Expansion and Key Specialization in Transformer Attention Geometry28 Sep 2026
- 2026Faster Query-Key Learning Sharpens Attention in Self-Attention Models7 Aug 2026
- 2026Mechanism-Driven Monitors for Preemptive Detection of LLM Training Instability26 Jun 2026
- 2026Anti Mode-Collapse in Mean-Field Transformer via Auxiliary Variables28 May 2026
- 2026QUEST: A robust attention formulation using query-modulated spherical attention31 Mar 2026
- 2026Mitigating Object Hallucinations in LVLMs via Attention Imbalance Rectification25 Mar 2026
- 2026NerVE: Nonlinear Eigenspectrum Dynamics in LLM Feed-Forward Networks6 Mar 2026
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutions6 Mar 2026
- 2026Dispelling the Curse of Singularities in Neural Network Optimizations1 Feb 2026
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformer24 Nov 2025
- 2025Mitigating Attention Localization in Small Scale: Self-Attention Refinement via One-step Belief Propagation9 Sep 2025
- 2025A Random Matrix Theory Perspective on the Learning Dynamics of Multi-head Latent Attention12 Jul 2025
7 more
- 2025Gating is Weighting: Understanding Gated Linear Attention through In-context Learning6 Apr 2025
- 2024Measure-to-measure interpolation using Transformers7 Nov 2024
- 2024Optimizing Attention with Mirror Descent: Generalized Max-Margin Token Selection18 Oct 2024
- 2024AERO: Entropy-Guided Framework for Private LLM Inference16 Oct 2024
- 2024Dynamic metastability in the self-attention model9 Oct 2024
- 2024Theoretical Insights into Fine-Tuning Attention Mechanism: Generalization and Optimization3 Oct 2024
- 2024Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics23 Feb 2024
- 2024Dynamic metastability in the self-attention modelcited by 42
- 2024Measure-to-measure interpolation using Transformerscited by 28
- 2025Gating is Weighting: Understanding Gated Linear Attention through In-context Learningcited by 11
- 2024Theoretical Insights into Fine-Tuning Attention Mechanism: Generalization and Optimizationcited by 9
- 2024Optimizing Attention with Mirror Descent: Generalized Max-Margin Token Selectioncited by 9
- 2024Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamicscited by 7
- 2024AERO: Entropy-Guided Framework for Private LLM Inferencecited by 3
- 2026NerVE: Nonlinear Eigenspectrum Dynamics in LLM Feed-Forward Networkscited by 3
- 2025Mitigating Attention Localization in Small Scale: Self-Attention Refinement via One-step Belief Propagationcited by 2
- 2025A Random Matrix Theory Perspective on the Learning Dynamics of Multi-head Latent Attentioncited by 1
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformercited by 1
- 2026QUEST: A robust attention formulation using query-modulated spherical attentioncited by 1
12 most cited of 18 All 18 (JSON)
- 2026Query Expansion and Key Specialization in Transformer Attention Geometry28 Sep 2026
- 2026Faster Query-Key Learning Sharpens Attention in Self-Attention Models7 Aug 2026
- 2026Mechanism-Driven Monitors for Preemptive Detection of LLM Training Instability26 Jun 2026
- 2026Anti Mode-Collapse in Mean-Field Transformer via Auxiliary Variables28 May 2026
- 2026QUEST: A robust attention formulation using query-modulated spherical attention31 Mar 2026
- 2026NerVE: Nonlinear Eigenspectrum Dynamics in LLM Feed-Forward Networks6 Mar 2026
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutions6 Mar 2026
- 2026Dispelling the Curse of Singularities in Neural Network Optimizations1 Feb 2026
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformer24 Nov 2025
- 2025Mitigating Attention Localization in Small Scale: Self-Attention Refinement via One-step Belief Propagation9 Sep 2025
- 2025A Random Matrix Theory Perspective on the Learning Dynamics of Multi-head Latent Attention12 Jul 2025
- 2025Gating is Weighting: Understanding Gated Linear Attention through In-context Learning6 Apr 2025
12 newest of 18 All 18 (JSON)