Analyzing & Reducing the Need for Learning Rate Warmup in GPT Training
Atli Kosson, Bettina Messmer, Martin Jaggi
摘要
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 early in training by using lower values for the learning rate . In this work we argue that warmup benefits training by keeping the overall size of limited, counteracting large initial values of . Focusing on small-scale GPT training with AdamW/Lion, we explore the following question: Why and by which criteria are early updates too large? We analyze different metrics for the update size including the -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 based on the aforementioned metrics.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Scaling with Collapse: Efficient and Predictable Training of LLM Families 引用了 Power Lines: Scaling laws for weight decay and batch size in LLM pre-training
- Scaling with Collapse: Efficient and Predictable Training of LLM Families 引用了 Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer
- Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed Noise 引用了 Symbolic Discovery of Optimization Algorithms
- Weight Decay may matter more than µP for Learning Rate Transfer in Practice 引用了 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 引用了 Symbolic Discovery of Optimization Algorithms
- Weight Decay may matter more than µP for Learning Rate Transfer in Practice 引用了 Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer
- Power Lines: Scaling laws for weight decay and batch size in LLM pre-training 引用了 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 引用了 Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer
- Symbolic Discovery of Optimization Algorithms 引用了 On the Variance of the Adaptive Learning Rate and Beyond
- Why Do We Need Warm-up? A Theoretical Perspective 引用了 On the Variance of the Adaptive Learning Rate and Beyond
- Why Do We Need Warm-up? A Theoretical Perspective 引用了 On Layer Normalization in the Transformer Architecture
- Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer 引用了 Large Batch Optimization for Deep Learning: Training BERT in 76 minutes
- On Layer Normalization in the Transformer Architecture 引用了 On the Variance of the Adaptive Learning Rate and Beyond
引用它的顶会 Paper9
- Power Lines: Scaling laws for weight decay and batch size in LLM pre-trainingShane Bergsma, Nolan Dey, Gurpreet Gosal, Gavia Gray 等NeurIPS 2025 · 44 次引用
- Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed NoiseMaria-Eleni Sfyraki, Jun-Kun WangICML 2026 · 37 次引用
- Weight Decay may matter more than µP for Learning Rate Transfer in PracticeAtli Kosson, Jeremy Welborn, Yang Liu, Martin Jaggi 等ICLR 2026 · 11 次引用
- Scaling with Collapse: Efficient and Predictable Training of LLM FamiliesShane Bergsma, Bin Claire Zhang, Nolan Simran Dey, Shaheer Muhammad 等ICLR 2026 · 10 次引用
- Why Do We Need Warm-up? A Theoretical PerspectiveFoivos Alimisis, Rustem Islamov, Aurelien LucchiICML 2026 · 8 次引用
它引用的 Paper20
- On the Variance of the Adaptive Learning Rate and BeyondLiyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen 等ICLR 2020 · 2,210 次引用
- On Layer Normalization in the Transformer ArchitectureRuibin Xiong, Yunchang Yang, Di He, Kai Zheng 等ICML 2020 · 1,388 次引用
- Large Batch Optimization for Deep Learning: Training BERT in 76 minutesYang You, Jing Li, Sashank J. Reddi, Jonathan Hseu 等ICLR 2020 · 1,170 次引用
- Symbolic Discovery of Optimization AlgorithmsXiangning Chen, Chen Liang, Da Huang, Esteban Real 等NeurIPS 2023 · 734 次引用
- Tuning Large Neural Networks via Zero-Shot Hyperparameter TransferGe Yang, Edward J. Hu, Igor Babuschkin, Szymon Sidor 等NeurIPS 2021 · 208 次引用
相关 Paper
- Rotational Equilibrium: How Weight Decay Balances Learning Across Neural NetworksAtli Kosson, Bettina Messmer, Martin JaggiICML 2024 · 39 次引用
- MERIT: Maximum-normalized Element-wise Ratio for Language Model Large-batch TrainingYang Luo, Zangwei Zheng, Ziheng Qin, Zirui Zhu 等ICML 2025
- MGUP: A Momentum-Gradient Alignment Update Policy for Stochastic OptimizationDa Chang, Ganzhao YuanNeurIPS 2025 · 9 次引用
- Why Warmup the Learning Rate? Underlying Mechanisms and ImprovementsDayal Singh Kalra, Maissam BarkeshliNeurIPS 2024 · 87 次引用
- OLion: Approaching the Hadamard Ideal by Intersecting Spectral and L inf Implicit BiasesZixiao Wang, Yifei Shen, Huishuai ZhangICML 2026
