Stabilizing Transformer Training by Preventing Attention Entropy Collapse
Not on the map. Why?
Abstract (arXiv)
Training stability is of great importance to Transformers. In this work, we investigate the training dynamics of Transformers by examining the evolution of the attention layers. In particular, we track the attention entropy for each attention head during the course of training, which is a proxy for model sharpness. We identify a common pattern across different architectures and tasks, where low attention entropy is accompanied by high training instability, which can take the form of oscillating loss or divergence. We denote the pathologically low attention entropy, corresponding to highly concentrated attention scores, as textitentropy collapse. As a remedy, we propose σReparam, a simple and efficient solution where we reparametrize all linear layers with spectral normalization and an additional learned scalar. We demonstrate that σReparam successfully prevents entropy collapse in the attention layers, promoting more stable training. Additionally, we prove a tight lower bound of the attention entropy, which decreases exponentially fast with the spectral norm of the attention logits, providing additional motivation for our approach. We conduct experiments with σReparam on image classification, image self-supervised learning, machine translation, speech recognition, and language modeling tasks. We show that σReparam provides stability and robustness with respect to the choice of hyperparameters, going so far as enabling training (a) a Vision Transformer to competitive performance without warmup, weight decay, layer normalization or adaptive optimizers; (b) deep architectures in machine translation and (c) speech recognition to competitive performance without warmup and adaptive optimizers. Code is available at urlhttps://github.com/apple/ml-sigma-reparam.
Key facts. Cited by 154 papers in the map (data through 7 Oct 2026). Builds on 46 of its 72 references that are in the map. First posted on arXiv 11 Mar 2023.
Builds on
46 of 72 references.
References · 46
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2016Layer Normalizationcited by 5,579
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2018Spectral Normalization for Generative Adversarial Networkscited by 1,618
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
34 more
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2019SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognitioncited by 1,355
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2021Scaling Vision Transformerscited by 993
- 2021ImageNet-21K Pretraining for the Massescited by 607
- 2016Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networkscited by 541
- 2017Large Batch Training of Convolutional Networkscited by 529
- 2021RepVGG: Making VGG-style ConvNets Great Againcited by 520
- 2022DeiT III: Revenge of the ViTcited by 417
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2022Masked Siamese Networks for Label-Efficient Learningcited by 301
- 2019PyHessian: Neural Networks Through the Lens of the Hessiancited by 291
- 2019An Investigation into Neural Net Optimization via Hessian Eigenvalue Densitycited by 289
- 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 272
- 2016Using the Output Embedding to Improve Language Modelscited by 266
- 2020ReZero is All You Need: Fast Convergence at Large Depthcited by 260
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2020Understanding the Difficulty of Training Transformerscited by 210
- 2019Fixup Initialization: Residual Learning Without Normalizationcited by 194
- 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
- 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
- 2022Adaptive Gradient Methods at the Edge of Stabilitycited by 88
- 2021NormFormer: Improved Transformer Pretraining with Extra Normalizationcited by 83
- 2020Shortformer: Better Language Modeling using Shorter Inputscited by 76
- 2020Rethinking Evaluation in ASR: Are Our Models Robust Enough?cited by 72
- 2020SlimIPL: Language-Model-Free Iterative Pseudo-Labelingcited by 54
- 2020Very Deep Transformers for Neural Machine Translationcited by 50
- 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
- 2021A Loss Curvature Perspective on Training Instability in Deep Learningcited by 39
- 2022CLIP Itself is a Strong Fine-tuner: Achieving 85.7% and 88.0% Top-1 Accuracy with ViT-B and ViT-L on ImageNetcited by 35
- 2022Robust Training of Neural Networks Using Scale Invariant Architecturescited by 29
Built on by
Citing papers per year: 2023: 10; 2024: 34; 2025: 51; 2026: 59.
154 papers.
Sort:
By area:
- 2025VGGT: Visual Geometry Grounded Transformercited by 1,475
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 182
- 2023AM-RADIO: Agglomerative Vision Foundation Model -- Reduce All Domains Into Onecited by 165
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
- 2024Transformers need glasses! Information over-squashing in language taskscited by 87
- 2023Stable and low-precision training for large-scale vision-language modelscited by 74
- 2025Transformers without Normalizationcited by 69
- 2024How Does Critical Batch Size Scale in Pre-training?cited by 68
- 2024Unveiling and Mitigating Memorization in Text-to-image Diffusion Models through Cross Attentioncited by 57
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 54
- 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 51
38 more
- 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 47
- 2024Improving fine-grained understanding in image-text pre-trainingcited by 44
- 2024SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attentioncited by 43
- 2023AMAGO: Scalable In-Context Reinforcement Learning for Adaptive Agentscited by 36
- 2024Learning Continually by Spectral Regularizationcited by 34
- 2025PolyPythias: Stability and Outliers across Fifty Language Model Pre-Training Runscited by 33
- 2025Peri-LN: Revisiting Normalization Layer in the Transformer Architecturecited by 32
- 2025MEDA: Dynamic KV Cache Allocation for Efficient Multimodal Long-Context Inferencecited by 31
- 2025Multimodal Chain of Continuous Thought for Latent-Space Reasoning in Vision-Language Modelscited by 29
- 2025SPAM: Spike-Aware Adam with Momentum Reset for Stable LLM Trainingcited by 27
- 2024Setting the Record Straight on Transformer Oversmoothingcited by 19
- 2024Self-attention Networks Localize When QK-eigenspectrum Concentratescited by 19
- 2025Long-Context Generalization with Sparse Attentioncited by 18
- 2024PHI-S: Distribution Balancing for Label-Free Multi-Teacher Distillationcited by 17
- 2025Two failure modes of deep transformers and how to avoid them: a unified theory of signal propagation at initialisationcited by 15
- 2023Eureka-Moments in Transformers: Multi-Step Tasks Reveal Softmax Induced Optimization Problemscited by 14
- 2024AMAGO-2: Breaking the Multi-Task Barrier in Meta-Reinforcement Learning with Transformerscited by 14
- 2024Locality Alignment Improves Vision-Language Modelscited by 13
- 2024Methods of improving LLM training stabilitycited by 13
- 2024When Attention Collapses: How Degenerate Layers in LLMs Enable Smaller, Stronger Modelscited by 12
- 2023Graph Convolutions Enrich the Self-Attention in Transformers!cited by 11
- 2025Towards Fully FP8 GEMM LLM Training at Scalecited by 11
- 2024Understanding and Minimising Outlier Features in Neural Network Trainingcited by 10
- 2024AEM: Attention Entropy Maximization for Multiple Instance Learning based Whole Slide Image Classificationcited by 10
- 2025Adaptive Preconditioners Trigger Loss Spikes in Adamcited by 10
- 2025Pay Attention to Attention Distribution: A New Local Lipschitz Bound for Transformerscited by 10
- 2024Poly-View Contrastive Learningcited by 9
- 2024LookHere: Vision Transformers with Directed Attention Generalize and Extrapolatecited by 9
- 2024Exploring the Robustness of Language Models for Tabular Question Answering via Attention Analysiscited by 9
- 2025ZETA: Leveraging Z-order Curves for Efficient Top-k Attentioncited by 9
- 2025Mitigating Hallucinations in Large Vision-Language Models by Adaptively Constraining Information Flowcited by 9
- 2025Taming Transformer Without Using Learning Rate Warmupcited by 8
- 2024Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamicscited by 7
- 2024Normalization Layer Per-Example Gradients are Sufficient to Predict Gradient Noise Scale in Transformerscited by 7
- 2025Calibrated Language Models and How to Find Them with Label Smoothingcited by 7
- 2025Value-State Gated Attention for Mitigating Extreme-Token Phenomena in Transformerscited by 7
- 2024Stable Language Model Pre-training by Reducing Embedding Variabilitycited by 6
- 2025Entropy-Lens: Uncovering Decision Strategies in LLMscited by 6
50 most cited of 154 All 154 (JSON)
- 2026Query Expansion and Key Specialization in Transformer Attention Geometry28 Sep 2026
- 2026Broken Symmetry in BF16 Attention: Why FlashAttention Gradients Blow Up Late in Training28 Sep 2026
- 2026QSV: Quat-Sphere-Vision for Coupled Quaternion Attention on Spherical Lattices24 Sep 2026
- 2026SETTer: Sparse-Encoder Transformer for Long-term Multivariate Time Series Forecasting17 Sep 2026
- 2026Directions That Don't Drift: Stiefel Manifold Routing for Transformer Attention16 Sep 2026
- 2026Text Capability Loss in Vision-Language Adaptation: An Attention-Sink Diagnosis1 Sep 2026
- 2026Beyond Sparse Weights: When Is Attention Compressible?21 Aug 2026
- 2026What Does Attention Transfer Transfer? Attention Structure and Robustness in Vision Transformers19 Aug 2026
- 2026Which Question Is Your Attention Metric Answering? Attention Rows as Compositional Data11 Aug 2026
- 2026Why Post-Norm Transformers Collapse: Attention Amplification and Gradient Repair Failure10 Aug 2026
- 2026Clustered Attractor Manifolds and Dynamical Condensation in Self-Attention9 Aug 2026
- 2026One QK Channel, Many Sources: Tracing Low-Precision Attention Collapse3 Aug 2026
38 more
- 2026MultAttnAttrib: Training-Free Multimodal Attribution in Long Document Question Answering1 Jul 2026
- 2026Mechanism-Driven Monitors for Preemptive Detection of LLM Training Instability26 Jun 2026
- 2026DnA: Denoising Attention for Visual Tasks25 Jun 2026
- 2026Can Scale Save Us From Plasticity Loss in Large Language Models?23 Jun 2026
- 2026Fine-Tuning Large Language Models for Quantum Reasoning20 Jun 2026
- 2026Taming Curvature: Architecture Warm-Up for Stable Transformer Training15 Jun 2026
- 2026A Unifying View of Attention Sinks: From Mechanisms to Architectural Interventions6 Jun 2026
- 2026Can Spectral-Clipping Enable Better Learning While Forgetting Less for Low-Rank Adaptation?2 Jun 2026
- 2026Improving Adversarial Robustness of Attribution via Implicit Regularization28 May 2026
- 2026Analogies between Transformer Layers and Power Method25 May 2026
- 2026Post-Hoc Understanding of Metaphor Processing in Decoder-Only Language Models via Conditional Scale Entropy20 May 2026
- 2026Unbiased Gradients, Moving Stability Boundaries: Exact Mini-Batch Geometry in Linear Self-Attention20 May 2026
- 2026Less Data, Faster Training: repeating smaller datasets speeds up learning via sampling biases19 May 2026
- 2026Learning Less Is More: Premature Upper-Layer Attention Specialization Hurts Language Model Pretraining11 May 2026
- 2026When Adaptation Fails: A Gradient-Based Diagnosis of Collapsed Gating in Vision-Language Prompt Learning10 May 2026
- 2026Shaping Schema via Language Representation as the Next Frontier for LLM Intelligence Expanding10 May 2026
- 2026Probing the Impact of Scale on Data-Efficient, Generalist Transformer World Models for Atari9 May 2026
- 2026Mean Mode Screaming: Mean--Variance Split Residuals for 1000-Layer Diffusion Transformers7 May 2026
- 2026Self-Attention as Transport: Limits of Symmetric Spectral Diagnostics6 May 2026
- 2026Gradient Flow Structure and Quantitative Dynamics of Multi-Head Self-Attention5 May 2026
- 2026Hierarchical Fault Detection and Diagnosis for Transformer Architectures30 Apr 2026
- 2026Capacity-Controlled Global Attention for Graph Transformers19 Apr 2026
- 2026AdaSplash-2: Faster Differentiable Sparse Attention16 Apr 2026
- 2026Spectral Entropy Collapse as a Phase Transition in Delayed Generalisation: An Interventional and Predictive Framework for Grokkin13 Apr 2026
- 2026Subcritical Signal Propagation at Initialization in Normalization-Free Transformers13 Apr 2026
- 2026Sinkhorn doubly stochastic attention rank decay analysis9 Apr 2026
- 2026R'enyi Attention Entropy for Patch Pruning4 Apr 2026
- 2026Invertible Query-Key Coupling Composes with Attention Mechanisms2 Apr 2026
- 2026Exploring Silent Data Corruption as a Reliability Challenge in LLM Training1 Apr 2026
- 2026UCell: rethinking generalizability and scaling of bio-medical vision models31 Mar 2026
- 2026QUEST: A robust attention formulation using query-modulated spherical attention31 Mar 2026
- 2026Route-Induced Density and Stability (RIDE): Controlled Intervention and Mechanism Analysis of Routing-Style Meta Prompts on LLM Internal States31 Mar 2026
- 2026Sparse Growing Transformer: Training-Time Sparse Depth Allocation via Progressive Attention Looping25 Mar 2026
- 2026Disentangling Dynamical Systems: Causal Representation Learning Meets Local Sparse Attention15 Mar 2026
- 2026Spectral Conditioning of Attention Improves Transformer Performance7 Mar 2026
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutions6 Mar 2026
- 2026Attention Smoothing Is All You Need For Unlearning1 Mar 2026
- 2026Disentangling Geometry, Performance, and Training in Language Models24 Feb 2026
50 newest of 154 All 154 (JSON)
- 2025Multimodal Chain of Continuous Thought for Latent-Space Reasoning in Vision-Language Modelscited by 29
- 2024Locality Alignment Improves Vision-Language Modelscited by 13
- 2026Energy-Entropy Regularization: The True Power of Minimal Looped Transformerscited by 2
- 2025Enhancing Self-Supervised Visual Representation Learning via Low-Rank Adapted LLMscited by 1
- 2026Text Capability Loss in Vision-Language Adaptation: An Attention-Sink Diagnosiscited by 1
- 2026Fine-Tuning Large Language Models for Quantum Reasoningcited by 0
- 2026Text Capability Loss in Vision-Language Adaptation: An Attention-Sink Diagnosis1 Sep 2026
- 2026Fine-Tuning Large Language Models for Quantum Reasoning20 Jun 2026
- 2026Energy-Entropy Regularization: The True Power of Minimal Looped Transformers14 Jan 2026
- 2025Multimodal Chain of Continuous Thought for Latent-Space Reasoning in Vision-Language Models18 Aug 2025
- 2025Enhancing Self-Supervised Visual Representation Learning via Low-Rank Adapted LLMs1 Jul 2025
- 2024Locality Alignment Improves Vision-Language Models14 Oct 2024
- 2023Stable and low-precision training for large-scale vision-language modelscited by 74
- 2025MEDA: Dynamic KV Cache Allocation for Efficient Multimodal Long-Context Inferencecited by 31
- 2025Mitigating Hallucinations in Large Vision-Language Models by Adaptively Constraining Information Flowcited by 9
- 2026When Adaptation Fails: A Gradient-Based Diagnosis of Collapsed Gating in Vision-Language Prompt Learningcited by 0
- 2026When Adaptation Fails: A Gradient-Based Diagnosis of Collapsed Gating in Vision-Language Prompt Learning10 May 2026
- 2025Mitigating Hallucinations in Large Vision-Language Models by Adaptively Constraining Information Flow28 Feb 2025
- 2025MEDA: Dynamic KV Cache Allocation for Efficient Multimodal Long-Context Inference24 Feb 2025
- 2023Stable and low-precision training for large-scale vision-language models25 Apr 2023
- 2024Unveiling and Mitigating Memorization in Text-to-image Diffusion Models through Cross Attentioncited by 57
- 2026Order Matters in Retrosynthesis: Structure-aware Generation via Reaction-Center-Guided Discrete Flow Matchingcited by 3
- 2026Mean Mode Screaming: Mean--Variance Split Residuals for 1000-Layer Diffusion Transformerscited by 0
- 2026Mean Mode Screaming: Mean--Variance Split Residuals for 1000-Layer Diffusion Transformers7 May 2026
- 2026Order Matters in Retrosynthesis: Structure-aware Generation via Reaction-Center-Guided Discrete Flow Matching13 Feb 2026
- 2024Unveiling and Mitigating Memorization in Text-to-image Diffusion Models through Cross Attention17 Mar 2024
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
- 2026Beyond Sparse Weights: When Is Attention Compressible?cited by 0
- 2026Beyond Sparse Weights: When Is Attention Compressible?21 Aug 2026
- 2024When Attention Sink Emerges in Language Models: An Empirical View14 Oct 2024
- 2026Attention Smoothing Is All You Need For Unlearningcited by 6
- 2026Attention Smoothing Is All You Need For Unlearning1 Mar 2026
- 2025VGGT: Visual Geometry Grounded Transformercited by 1,475
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 182
- 2023AM-RADIO: Agglomerative Vision Foundation Model -- Reduce All Domains Into Onecited by 165
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
- 2024Transformers need glasses! Information over-squashing in language taskscited by 87
- 2025Transformers without Normalizationcited by 69
- 2024How Does Critical Batch Size Scale in Pre-training?cited by 68
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 54
- 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 51
- 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 47
- 2024Improving fine-grained understanding in image-text pre-trainingcited by 44
- 2024SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attentioncited by 43
12 most cited of 135 All 135 (JSON)
- 2026Query Expansion and Key Specialization in Transformer Attention Geometry28 Sep 2026
- 2026Broken Symmetry in BF16 Attention: Why FlashAttention Gradients Blow Up Late in Training28 Sep 2026
- 2026QSV: Quat-Sphere-Vision for Coupled Quaternion Attention on Spherical Lattices24 Sep 2026
- 2026SETTer: Sparse-Encoder Transformer for Long-term Multivariate Time Series Forecasting17 Sep 2026
- 2026Directions That Don't Drift: Stiefel Manifold Routing for Transformer Attention16 Sep 2026
- 2026What Does Attention Transfer Transfer? Attention Structure and Robustness in Vision Transformers19 Aug 2026
- 2026Which Question Is Your Attention Metric Answering? Attention Rows as Compositional Data11 Aug 2026
- 2026Why Post-Norm Transformers Collapse: Attention Amplification and Gradient Repair Failure10 Aug 2026
- 2026Clustered Attractor Manifolds and Dynamical Condensation in Self-Attention9 Aug 2026
- 2026One QK Channel, Many Sources: Tracing Low-Precision Attention Collapse3 Aug 2026
- 2026MultAttnAttrib: Training-Free Multimodal Attribution in Long Document Question Answering1 Jul 2026
- 2026Mechanism-Driven Monitors for Preemptive Detection of LLM Training Instability26 Jun 2026
12 newest of 135 All 135 (JSON)