mlsanityData to 7 Oct 2026

Stabilizing Transformer Training by Preventing Attention Entropy Collapse

arXiv 2303.06296 ↗First posted 11 Mar 2023cs.LG cs.AI cs.CLcited by 154

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  5. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
  6. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
  7. 2016Layer Normalizationcited by 5,579
  8. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  9. 2016Pointer Sentinel Mixture Modelscited by 2,992
  10. 2018Spectral Normalization for Generative Adversarial Networkscited by 1,618
  11. 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
  12. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
34 more
  1. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  2. 2019SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognitioncited by 1,355
  3. 2018Self-Attention with Relative Position Representationscited by 1,112
  4. 2021Scaling Vision Transformerscited by 993
  5. 2021ImageNet-21K Pretraining for the Massescited by 607
  6. 2016Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networkscited by 541
  7. 2017Large Batch Training of Convolutional Networkscited by 529
  8. 2021RepVGG: Making VGG-style ConvNets Great Againcited by 520
  9. 2022DeiT III: Revenge of the ViTcited by 417
  10. 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
  11. 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
  12. 2022Masked Siamese Networks for Label-Efficient Learningcited by 301
  13. 2019PyHessian: Neural Networks Through the Lens of the Hessiancited by 291
  14. 2019An Investigation into Neural Net Optimization via Hessian Eigenvalue Densitycited by 289
  15. 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 272
  16. 2016Using the Output Embedding to Improve Language Modelscited by 266
  17. 2020ReZero is All You Need: Fast Convergence at Large Depthcited by 260
  18. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 259
  19. 2018Adaptive Input Representations for Neural Language Modelingcited by 226
  20. 2020Understanding the Difficulty of Training Transformerscited by 210
  21. 2019Fixup Initialization: Residual Learning Without Normalizationcited by 194
  22. 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 176
  23. 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
  24. 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 136
  25. 2022Adaptive Gradient Methods at the Edge of Stabilitycited by 88
  26. 2021NormFormer: Improved Transformer Pretraining with Extra Normalizationcited by 83
  27. 2020Shortformer: Better Language Modeling using Shorter Inputscited by 76
  28. 2020Rethinking Evaluation in ASR: Are Our Models Robust Enough?cited by 72
  29. 2020SlimIPL: Language-Model-Free Iterative Pseudo-Labelingcited by 54
  30. 2020Very Deep Transformers for Neural Machine Translationcited by 50
  31. 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
  32. 2021A Loss Curvature Perspective on Training Instability in Deep Learningcited by 39
  33. 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
  34. 2022Robust Training of Neural Networks Using Scale Invariant Architecturescited by 29

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 10; 2024: 34; 2025: 51; 2026: 59.

154 papers.

Sort:

By area:

  1. 2025VGGT: Visual Geometry Grounded Transformercited by 1,475
  2. 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
  3. 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 182
  4. 2023AM-RADIO: Agglomerative Vision Foundation Model -- Reduce All Domains Into Onecited by 165
  5. 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
  6. 2024Transformers need glasses! Information over-squashing in language taskscited by 87
  7. 2023Stable and low-precision training for large-scale vision-language modelscited by 74
  8. 2025Transformers without Normalizationcited by 69
  9. 2024How Does Critical Batch Size Scale in Pre-training?cited by 68
  10. 2024Unveiling and Mitigating Memorization in Text-to-image Diffusion Models through Cross Attentioncited by 57
  11. 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 54
  12. 2023Spike No More: Stabilizing the Pre-training of Large Language Modelscited by 51
38 more
  1. 2023The Shaped Transformer: Attention Models in the Infinite Depth-and-Width Limitcited by 47
  2. 2024Improving fine-grained understanding in image-text pre-trainingcited by 44
  3. 2024SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attentioncited by 43
  4. 2023AMAGO: Scalable In-Context Reinforcement Learning for Adaptive Agentscited by 36
  5. 2024Learning Continually by Spectral Regularizationcited by 34
  6. 2025PolyPythias: Stability and Outliers across Fifty Language Model Pre-Training Runscited by 33
  7. 2025Peri-LN: Revisiting Normalization Layer in the Transformer Architecturecited by 32
  8. 2025MEDA: Dynamic KV Cache Allocation for Efficient Multimodal Long-Context Inferencecited by 31
  9. 2025Multimodal Chain of Continuous Thought for Latent-Space Reasoning in Vision-Language Modelscited by 29
  10. 2025SPAM: Spike-Aware Adam with Momentum Reset for Stable LLM Trainingcited by 27
  11. 2024Setting the Record Straight on Transformer Oversmoothingcited by 19
  12. 2024Self-attention Networks Localize When QK-eigenspectrum Concentratescited by 19
  13. 2025Long-Context Generalization with Sparse Attentioncited by 18
  14. 2024PHI-S: Distribution Balancing for Label-Free Multi-Teacher Distillationcited by 17
  15. 2025Two failure modes of deep transformers and how to avoid them: a unified theory of signal propagation at initialisationcited by 15
  16. 2023Eureka-Moments in Transformers: Multi-Step Tasks Reveal Softmax Induced Optimization Problemscited by 14
  17. 2024AMAGO-2: Breaking the Multi-Task Barrier in Meta-Reinforcement Learning with Transformerscited by 14
  18. 2024Locality Alignment Improves Vision-Language Modelscited by 13
  19. 2024Methods of improving LLM training stabilitycited by 13
  20. 2024When Attention Collapses: How Degenerate Layers in LLMs Enable Smaller, Stronger Modelscited by 12
  21. 2023Graph Convolutions Enrich the Self-Attention in Transformers!cited by 11
  22. 2025Towards Fully FP8 GEMM LLM Training at Scalecited by 11
  23. 2024Understanding and Minimising Outlier Features in Neural Network Trainingcited by 10
  24. 2024AEM: Attention Entropy Maximization for Multiple Instance Learning based Whole Slide Image Classificationcited by 10
  25. 2025Adaptive Preconditioners Trigger Loss Spikes in Adamcited by 10
  26. 2025Pay Attention to Attention Distribution: A New Local Lipschitz Bound for Transformerscited by 10
  27. 2024Poly-View Contrastive Learningcited by 9
  28. 2024LookHere: Vision Transformers with Directed Attention Generalize and Extrapolatecited by 9
  29. 2024Exploring the Robustness of Language Models for Tabular Question Answering via Attention Analysiscited by 9
  30. 2025ZETA: Leveraging Z-order Curves for Efficient Top-k Attentioncited by 9
  31. 2025Mitigating Hallucinations in Large Vision-Language Models by Adaptively Constraining Information Flowcited by 9
  32. 2025Taming Transformer Without Using Learning Rate Warmupcited by 8
  33. 2024Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamicscited by 7
  34. 2024Normalization Layer Per-Example Gradients are Sufficient to Predict Gradient Noise Scale in Transformerscited by 7
  35. 2025Calibrated Language Models and How to Find Them with Label Smoothingcited by 7
  36. 2025Value-State Gated Attention for Mitigating Extreme-Token Phenomena in Transformerscited by 7
  37. 2024Stable Language Model Pre-training by Reducing Embedding Variabilitycited by 6
  38. 2025Entropy-Lens: Uncovering Decision Strategies in LLMscited by 6

50 most cited of 154 All 154 (JSON)