atlas

Research map / Large language models / Language, safety and interpretability

Scaling Optimal LR Across Token Horizons

ICLR 2025 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 0 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.

Empirical study showing the optimal learning rate for LLM pretraining decreases with token horizon following a power law, enabling transfer of LR across token horizons, and suggesting LLaMA-1 used too high an LR.

Problem

Hyperparameter transfer across model sizes (muP) is well studied, but how the optimal learning rate should change with the training token horizon has not been studied; practitioners need LR for long runs inferred from short ones.

Approach

Shows that optimal LR decreases with token horizon as a power law LR*(D)=B D^-beta, fits this from short-horizon sweeps to predict long-horizon optimal LR, extends it jointly with model size as C N^-alpha D^-beta, and applies it to argue LLaMA-1's 3e-4 LR was too high.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase the token horizon while choosing the optimal learning rate for each horizon (ablation)GPT-3 parameterization across model sizes · LLM training, 25B–800B tokensoptimal learning rateHelped
Use a power-law scaling fit to transfer the optimal LR from shorter to longer horizons50m model · 50m model, up to 800B tokensrelative error in predicted optimal LR: 10-15\% vs >250\%Helped
Use muP parameterization instead of the standard transformer parameterization (ablation)50m model · 25B, 50B, and 100B tokensoptimal learning rate transfer across horizonsNo clear effect
Increase batch size from 0.5m to 1m tokens (ablation)1.3B model · 25B and 50B tokensoptimal learning rateHelped
Fit the horizon scaling law using the 25B, 50B, and 100B measurements (ablation)50m model · 200B, 400B, and 800B tokensprediction ratio: 0.873, 0.894, 1.14Mixed
Train at the Llama-1 learning rate rather than the estimated optimal learning rateLlama-1 7B · 1T tokensoptimality of learning rate: \scinot{1.15}{-4} vs \scinot{3}{-4}; factor of >2.5Hurt
Use a 1m-token batch instead of a 0.5m-token batch (ablation)1.3B model · 25B and 50B tokensdependence of optimal LR on token horizonNo clear effect
Train for longer horizons over a fixed set of 25B unique tokens (ablation)50m model · 25B, 50B, and 100B total tokensoptimal learning rateHelped

Surprising findings

Limitations

Experimental setup

Datasets: RefinedWeb

Metrics: final validation loss R^2 relative error of predicted optimal LR bootstrapped standard deviation

Baselines: muP parametrization standard parametrization (GPT-3 recipe) LLaMA-1 learning rate

Builds on: muP GPT-3 scaling laws Chinchilla scaling laws Megatron-LM

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