atlas

Research map / Architectures and efficiency / RNNs and normalization

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

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Weight normalization and decay interplay · 2 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.

Analyzes why learning rate warmup helps GPT-2 training with AdamW/Lion by measuring update size in l2-norm, angular update, and relative representation change, and proposes optimizers (LionA, LionAR, RRC-corrected, high-momentum variants) that reduce or eliminate the need for warmup.

Problem

Warmup is widely used when training neural networks, especially at large batch sizes, but its benefits are poorly understood; the paper asks why and by which criteria early updates are too large in GPT-2 training with adaptive optimizers.

Approach

Argues warmup keeps the effective update size limited, and measures update size via l2-norm, angular update, and relative representation change (RRC). Modifies Lion into LionA (fixed l2 update), LionAR (rotational, fixed angular update), adds an SNR-based RRC correction, and shows higher momentum and inverse bias correction can remove warmup need.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add a short learning-rate warmupGPT2-124M trained with AdamW · OpenWebTextvalidation lossHelped
Control the L2 update norm with LionA instead of AdamWGPT2-124M training · OpenWebTextvalidation lossMixed
Control angular updates with LionARGPT2-124M training · OpenWebTextvalidation lossHelped
Add an SNR-based relative representation change correctionLionAR · GPT2-124M trainingvalidation lossMixed
Remove momentum (ablation)LionAR · GPT2-124M trainingvalidation lossHurt
Increase momentum to β=0.98, use Nesterov momentum, and apply inverse bias correction (ablation)LionAR · GPT2-124M trainingvalidation lossHelped
Increase momentum to β=0.98, use Nesterov momentum, and apply inverse bias correction (ablation)LionA · GPT2-124M trainingvalidation lossNo clear effect
Use higher-momentum LionAR with Nesterov momentum and momentum correction (ablation)GPT2-124M · SlimPajamavalidation lossHelped
Use LionAR to control angular updates (ablation)Llama2-124M · OpenWebTextvalidation lossHelped
Replace ReLU with Leaky ReLU (α=0.1) (ablation)ResNet-20 · CIFAR-10test accuracyHelped
Freeze biases at the onset of training (ablation)ResNet-20 · CIFAR-10test accuracyHelped
Use random gradient directions at the start of training instead of actual gradients (ablation)ResNet-20 · CIFAR-10test accuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: OpenWebText SlimPajama CIFAR-10

Benchmarks: OpenWebText validation loss SlimPajama validation loss CIFAR-10 test accuracy

Metrics: final validation loss update l2-norm angular update size relative representation change fraction of dead ReLUs stable rank

Baselines: AdamW with warmup RAdamW Lion LionA SGD with momentum

Builds on: AdamW Lion Rotational Optimizers Weight Normalization NanoGPT

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