atlas

Research map / Architectures and efficiency / RNNs and normalization

Power Lines: Scaling laws for weight decay and batch size in LLM pre-training

NeurIPS 2025 · Architectures and efficiency › RNNs and normalization · approach: Neural scaling laws · 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.

Shows the optimal AdamW timescale tau = B/(eta*lambda*D) follows a power law in tokens-per-parameter, so optimal weight decay can be predicted for any N, D, B, and that optimal and critical batch sizes scale as power laws in dataset size D.

Problem

Choosing learning rate and weight decay (and batch size) for LLM pre-training at scales where hyperparameter tuning is infeasible; prior scaling laws for batch size used compute or loss and held weight decay fixed.

Approach

Treats the AdamW timescale tau = B/(eta*lambda*D) as the scaling variable, fits its optimum as a power law in tokens-per-parameter (D/N) using muP-trained GPT2-like models, and fits optimal batch size and critical batch size as power laws in D rather than compute or loss.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Tune λ instead of η while holding η at the μP proxy-tuned valueAdamW pre-training · 610M 20TPP, B=63–8064validation loss: Tuning λ was strictly superior in 6 of 8 casesHelped
Tune λ instead of η while holding η at the μP proxy-tuned valueAdamW pre-training · 111M 200TPP, varying Dvalidation loss: 2.810 -> 2.805Helped
Scale optimal λ linearly with batch size below the critical batch sizeAdamW pre-training · 610M 20TPP, B in [63, 2016]optimal τ: 0.21No clear effect
Scale optimal τ with tokens per parameter rather than keeping it constantAdamW pre-training · LLM pre-training across TPPR²: R²=0.975Helped
Tune λ for each batch size rather than hold it fixedBatch-size scaling-law fits · LLM pre-training across Dfit quality (R²)Helped
Use D (or dmin) rather than compute C or loss L as the scaling variableOptimal and critical batch size · LLM pre-training across model scalespower-law fit R²: R²=0.984; R²=0.940Helped
Use larger batch sizes beyond boptLLM pre-training · B > cbstraining efficiencyHurt
Train overtrained rather than undertrained models under the FLOPs/B time modelTime–compute Pareto configurations · Target loss L̂=2.6Pareto optimalityHelped
Start large-batch training from a 20 TPP+ base setting rather than target 20 actual TPPTime–compute Pareto configurations · Large BPareto optimalityHelped

Surprising findings

Limitations

Experimental setup

Datasets: SlimPajama

Benchmarks: held-out SlimPajama validation loss (1.1B tokens)

Metrics: validation cross-entropy loss R^2 bootstrapped parameter percentiles

Baselines: DeepSeek LLM batch size law Zhang et al. critical batch size law fixed weight decay 0.1 default eta-tuning at fixed lambda

Builds on: maximal update parameterization AdamW Scaling laws for neural language models Batch size scaling laws for LLMs (critical batch size) EMA view of AdamW (timescale)

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