atlas

Research map / Optimization / Implicit bias and generalization

Why Warmup the Learning Rate? Underlying Mechanisms and Improvements

NeurIPS 2024 · Optimization › Implicit bias and generalization · approach: Edge-of-stability dynamics · 15 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Systematic study showing the main benefit of learning rate warmup is letting networks tolerate larger target learning rates by reducing sharpness (or preconditioned sharpness for Adam), and proposes loss-catapult-based eta_init selection and GI-Adam initialization.

Problem

Learning rate warmup is standard in deep learning, but it is unclear why it helps and to what extent it is necessary, especially for SGD and adaptive optimizers like Adam.

Approach

Warmup mainly allows training at larger target learning rates by annealing (pre-conditioned) sharpness through early catapults or natural sharpness reduction; the regime depends on whether initialization is in progressive sharpening or sharpness reduction. Based on this, the paper selects eta_init via a forward-pass catapult line search and proposes GI-Adam, which initializes the second moment wit

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
increase warmup durationSGD · WRNs and Transformers across the reported datasetsmaximum trainable target learning rateHelped
increase warmup duration at a fixed target learning rateSGD · reported training settingstest accuracyNo clear effect
increase warmup durationAdam · reported training settingstraining failuresHelped
initialize the second moment with the squared initial gradient (GI-Adam)Adam · reported datasetsperformanceHelped
initialize the second moment with the squared initial gradient (GI-Adam)Adam · reported training settingsinitial pre-conditioned sharpness: around two orders of magnitudeHelped
initialize the second moment randomly with the same norm as the initial gradients (ablation)Adam · reported training settingsperformanceHelped
remove first-moment bias correction from GI-Adam (Flat-Adam) (ablation)GI-Adam · reported training settingsinitial pre-conditioned sharpness decreaseHurt
set the initial learning rate to the estimated critical learning rate instead of zerolinear warmup · reported training settingssteps to reach the target learning rate: T_{\text{reach}} = T_{\text{wrm}} (1 - \nicefrac{\eta_{c}}{\eta_{\text{trgt}}} )Helped
use flat μP initializationSGD · reported training settingsneed for warmup to achieve optimal performanceHelped
use a longer warmupSGD with large initialization · reported training settingsperformanceHelped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 Tiny-ImageNet WikiText-2 WikiText-103

Benchmarks: CIFAR-10 CIFAR-100 Tiny-ImageNet WikiText-103

Metrics: test accuracy test loss sharpness pre-conditioned sharpness training divergence/failure boundary

Baselines: Adam RAdam SGD with constant learning rate linear warmup

Builds on: Lewkowycz et al. catapult dynamics Adam Maximal Update Parameterization RAdam

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy