mlsanityData to 14 Oct 2026

Taming Transformer Without Using Learning Rate Warmup

arXiv 2505.21910 ↗First posted 28 May 2025cs.LG cs.CVcited by 9

Not on the map. Why?

Abstract (arXiv)

Scaling Transformer to a large scale without using some technical tricks such as learning rate warump and using an obviously lower learning rate is an extremely challenging task, and is increasingly gaining more attention. In this paper, we provide a theoretical analysis for the process of training Transformer and reveal the rationale behind the model crash phenomenon in the training process, termed textitspectral energy concentration of bWqtop bWk, which is the reason for a malignant entropy collapse, where bWq and bWk are the projection matrices for the query and the key in Transformer, respectively. To remedy this problem, motivated by textitWeyl's Inequality, we present a novel optimization strategy, ie, making the weight updating in successive steps smooth -- if the ratio fracσ1(nabla bWt)σ1(bWt-1) is larger than a threshold, we will automatically bound the learning rate to a weighted multiple of fracσ1(bWt-1)σ1(nabla bWt), where nabla bWt is the updating quantity in step t. Such an optimization strategy can prevent spectral energy concentration to only a few directions, and thus can avoid malignant entropy collapse which will trigger the model crash. We conduct extensive experiments using ViT, Swin-Transformer and GPT, showing that our optimization strategy can effectively and stably train these Transformers without using learning rate warmup.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 32 of its 52 references that are in the map. First posted on arXiv 28 May 2025.

Builds on

32 of 52 references.

References · 32

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2024The Llama 3 Herd of Modelscited by 14,715
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  8. 2022Scalable Diffusion Models with Transformerscited by 6,054
  9. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  10. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  11. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  12. 2017Decoupled Weight Decay Regularizationcited by 1,831
20 more
  1. 2019Root Mean Square Layer Normalizationcited by 1,480
  2. 2020On Layer Normalization in the Transformer Architecturecited by 922
  3. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
  4. 2015Cyclical Learning Rates for Training Neural Networkscited by 629
  5. 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 419
  6. 2019Learning Deep Transformer Models for Machine Translationcited by 309
  7. 2020Query-Key Normalization for Transformerscited by 280
  8. 2020ReZero is All You Need: Fast Convergence at Large Depthcited by 264
  9. 2020Understanding the Difficulty of Training Transformerscited by 210
  10. 2022DeepNet: Scaling Transformers to 1,000 Layerscited by 178
  11. 2020The Lipschitz Constant of Self-Attentioncited by 174
  12. 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 171
  13. 2024The Road Less Scheduledcited by 163
  14. 2023Stabilizing Transformer Training by Preventing Attention Entropy Collapsecited by 161
  15. 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 141
  16. 2023Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformercited by 102
  17. 2023Rotational Equilibrium: How Weight Decay Balances Learning Across Neural Networkscited by 53
  18. 2023JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attentioncited by 52
  19. 2023LipsFormer: Introducing Lipschitz Continuity to Vision Transformerscited by 34
  20. 2024Analyzing & Reducing the Need for Learning Rate Warmup in GPT Trainingcited by 22

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 6.

9 papers.