Lune

NeurIPS2024Top-tier venue

Analyzing & Reducing the Need for Learning Rate Warmup in GPT Training

Atli Kosson, Bettina Messmer, Martin Jaggi

Abstract

Learning Rate Warmup is a popular heuristic for training neural networks, especially at larger batch sizes, despite limited understanding of its benefits. Warmup decreases the update size Δwt=ηtut\Delta \mathbf{w}_t = \eta_t \mathbf{u}_t early in training by using lower values for the learning rate ηt\eta_t. In this work we argue that warmup benefits training by keeping the overall size of Δwt\Delta \mathbf{w}_t limited, counteracting large initial values of ut\mathbf{u}_t. Focusing on small-scale GPT training with AdamW/Lion, we explore the following question: Why and by which criteria are early updates ut\mathbf{u}_t too large? We analyze different metrics for the update size including the ℓ2\ell_2-norm, resulting directional change, and impact on the representations of the network, providing a new perspective on warmup. In particular, we find that warmup helps counteract large angular updates as well as a limited critical batch size early in training. Finally, we show that the need for warmup can be significantly reduced or eliminated by modifying the optimizer to explicitly normalize ut\mathbf{u}_t based on the aforementioned metrics.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Scaling with Collapse: Efficient and Predictable Training of LLM Families cites Power Lines: Scaling laws for weight decay and batch size in LLM pre-training
  • Scaling with Collapse: Efficient and Predictable Training of LLM Families cites Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer
  • Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed Noise cites Symbolic Discovery of Optimization Algorithms
  • Weight Decay may matter more than µP for Learning Rate Transfer in Practice cites Power Lines: Scaling laws for weight decay and batch size in LLM pre-training
  • Weight Decay may matter more than µP for Learning Rate Transfer in Practice cites Symbolic Discovery of Optimization Algorithms
  • Weight Decay may matter more than µP for Learning Rate Transfer in Practice cites Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer
  • Power Lines: Scaling laws for weight decay and batch size in LLM pre-training cites Large Batch Optimization for Deep Learning: Training BERT in 76 minutes
  • Power Lines: Scaling laws for weight decay and batch size in LLM pre-training cites Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer
  • Symbolic Discovery of Optimization Algorithms cites On the Variance of the Adaptive Learning Rate and Beyond
  • Why Do We Need Warm-up? A Theoretical Perspective cites On the Variance of the Adaptive Learning Rate and Beyond
  • Why Do We Need Warm-up? A Theoretical Perspective cites On Layer Normalization in the Transformer Architecture
  • Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer cites Large Batch Optimization for Deep Learning: Training BERT in 76 minutes
  • On Layer Normalization in the Transformer Architecture cites On the Variance of the Adaptive Learning Rate and Beyond
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Power Lines: Scaling laws for weight decay and batch size in LLM pre-trainingShane Bergsma, Nolan Dey, Gurpreet Gosal, Gavia Gray et al.NeurIPS 2025 · 44 citations
  2. Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed NoiseMaria-Eleni Sfyraki, Jun-Kun WangICML 2026 · 37 citations
  3. Weight Decay may matter more than µP for Learning Rate Transfer in PracticeAtli Kosson, Jeremy Welborn, Yang Liu, Martin Jaggi et al.ICLR 2026 · 11 citations
  4. Scaling with Collapse: Efficient and Predictable Training of LLM FamiliesShane Bergsma, Bin Claire Zhang, Nolan Simran Dey, Shaheer Muhammad et al.ICLR 2026 · 10 citations
  5. Why Do We Need Warm-up? A Theoretical PerspectiveFoivos Alimisis, Rustem Islamov, Aurelien LucchiICML 2026 · 8 citations

Builds on20

  1. On the Variance of the Adaptive Learning Rate and BeyondLiyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen et al.ICLR 2020 · 2,210 citations
  2. On Layer Normalization in the Transformer ArchitectureRuibin Xiong, Yunchang Yang, Di He, Kai Zheng et al.ICML 2020 · 1,388 citations
  3. Large Batch Optimization for Deep Learning: Training BERT in 76 minutesYang You, Jing Li, Sashank J. Reddi, Jonathan Hseu et al.ICLR 2020 · 1,170 citations
  4. Symbolic Discovery of Optimization AlgorithmsXiangning Chen, Chen Liang, Da Huang, Esteban Real et al.NeurIPS 2023 · 734 citations
  5. Tuning Large Neural Networks via Zero-Shot Hyperparameter TransferGe Yang, Edward J. Hu, Igor Babuschkin, Szymon Sidor et al.NeurIPS 2021 · 208 citations

Related papers

  1. Rotational Equilibrium: How Weight Decay Balances Learning Across Neural NetworksAtli Kosson, Bettina Messmer, Martin JaggiICML 2024 · 39 citations
  2. MERIT: Maximum-normalized Element-wise Ratio for Language Model Large-batch TrainingYang Luo, Zangwei Zheng, Ziheng Qin, Zirui Zhu et al.ICML 2025
  3. MGUP: A Momentum-Gradient Alignment Update Policy for Stochastic OptimizationDa Chang, Ganzhao YuanNeurIPS 2025 · 9 citations
  4. Why Warmup the Learning Rate? Underlying Mechanisms and ImprovementsDayal Singh Kalra, Maissam BarkeshliNeurIPS 2024 · 87 citations
  5. OLion: Approaching the Hadamard Ideal by Intersecting Spectral and L inf Implicit BiasesZixiao Wang, Yifei Shen, Huishuai ZhangICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines