Lune

NeurIPS2024顶会

Why Warmup the Learning Rate? Underlying Mechanisms and Improvements

Dayal Singh Kalra, Maissam Barkeshli

摘要

It is common in deep learning to warm up the learning rate η\eta, often by a linear schedule between ηinit=0\eta_{\text{init}} = 0 and a predetermined target ηtrgt\eta_{\text{trgt}}. In this paper, we show through systematic experiments using SGD and Adam that the overwhelming benefit of warmup arises from allowing the network to tolerate larger ηtrgt\eta_{\text{trgt}} by forcing the network to more well-conditioned areas of the loss landscape. The ability to handle larger ηtrgt\eta_{\text{trgt}} makes hyperparameter tuning more robust while improving the final performance. We uncover different regimes of operation during the warmup period, depending on whether training starts off in a progressive sharpening or sharpness reduction phase, which in turn depends on the initialization and parameterization. Using these insights, we show how ηinit\eta_{\text{init}} can be properly chosen by utilizing the loss catapult mechanism, which saves on the number of warmup steps, in some cases completely eliminating the need for warmup. We also suggest an initialization for the variance in Adam which provides benefits similar to warmup.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • TCFG: Truncated Classifier-Free Guidance for Efficient and Scalable Text-to-Image Acceleration 引用了 On the Variance of the Adaptive Learning Rate and Beyond
  • On the Surprising Effectiveness of Large Learning Rates under Standard Width Scaling 引用了 On the Variance of the Adaptive Learning Rate and Beyond
  • On the Surprising Effectiveness of Large Learning Rates under Standard Width Scaling 引用了 Tensor Programs IV: Feature Learning in Infinite-Width Neural Networks
  • On the Surprising Effectiveness of Large Learning Rates under Standard Width Scaling 引用了 Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer
  • On the Surprising Effectiveness of Large Learning Rates under Standard Width Scaling 引用了 On Layer Normalization in the Transformer Architecture
  • On the Surprising Effectiveness of Large Learning Rates under Standard Width Scaling 引用了 A Loss Curvature Perspective on Training Instabilities of Deep Learning Models
  • 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
  • Why Do We Need Warm-up? A Theoretical Perspective 引用了 A Loss Curvature Perspective on Training Instabilities of Deep Learning Models
  • On Layer Normalization in the Transformer Architecture 引用了 On the Variance of the Adaptive Learning Rate and Beyond
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. REVE: A Foundation Model for EEG - Adapting to Any Setup with Large-Scale Pretraining on 25, 000 SubjectsYassine El Ouahidi, Jonathan Lys, Philipp Thölke, Nicolas Farrugia 等NeurIPS 2025 · 106 次引用
  2. Why Do We Need Warm-up? A Theoretical PerspectiveFoivos Alimisis, Rustem Islamov, Aurelien LucchiICML 2026 · 8 次引用
  3. On the Surprising Effectiveness of Large Learning Rates under Standard Width ScalingMoritz Haas, Sebastian Bordt, Ulrike von Luxburg, Leena Chennuru VankadaraNeurIPS 2025 · 7 次引用
  4. TCFG: Truncated Classifier-Free Guidance for Efficient and Scalable Text-to-Image AccelerationXiaomeng Fu, Jia LiICCV 2025 · 1 次引用
  5. Efficient Distributed Optimization under Heavy-Tailed NoiseSu Hyeong Lee, Manzil Zaheer, Tian LiICML 2025

它引用的 Paper9

  1. On the Variance of the Adaptive Learning Rate and BeyondLiyuan Liu, Haoming Jiang, Pengcheng He, Weizhu Chen 等ICLR 2020 · 2,210 次引用
  2. On Layer Normalization in the Transformer ArchitectureRuibin Xiong, Yunchang Yang, Di He, Kai Zheng 等ICML 2020 · 1,388 次引用
  3. Tensor Programs IV: Feature Learning in Infinite-Width Neural NetworksGreg Yang, Edward J. HuICML 2021 · 242 次引用
  4. Tuning Large Neural Networks via Zero-Shot Hyperparameter TransferGe Yang, Edward J. Hu, Igor Babuschkin, Szymon Sidor 等NeurIPS 2021 · 208 次引用
  5. A Loss Curvature Perspective on Training Instabilities of Deep Learning ModelsJustin Gilmer, Behrooz Ghorbani, Ankush Garg, Sneha Kudugunta 等ICLR 2022 · 49 次引用

相关 Paper

  1. On the Adequacy of Untuned Warmup for Adaptive OptimizationJerry Ma, Denis YaratsAAAI 2021 · 81 次引用
  2. The Break-Even Point on Optimization Trajectories of Deep Neural NetworksStanislaw Jastrzebski, Maciej Szymczak, Stanislav Fort, Devansh Arpit 等ICLR 2020 · 198 次引用
  3. Stepping on the Edge: Curvature Aware Learning Rate TunersVincent Roulet, Atish Agarwala, Jean-Bastien Grill, Grzegorz Swirszcz 等NeurIPS 2024 · 9 次引用
  4. Analyzing & Reducing the Need for Learning Rate Warmup in GPT TrainingAtli Kosson, Bettina Messmer, Martin JaggiNeurIPS 2024 · 25 次引用
  5. Sharpness-Aware Minimization Can Hallucinate MinimizersChanwoong Park, Uijeong Jang, Ernest Ryu, Insoon YangICML 2026
黄昏的海面,两侧是细线勾勒的悬崖