atlas

Research map / Architectures and efficiency / RNNs and normalization

How to set AdamW's weight decay as you scale model and dataset size

ICML 2025 · Architectures and efficiency › RNNs and normalization · approach: Dataset distillation and data-efficient training · 1 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 AdamW's weights are an EMA of recent updates with timescale 1/(eta*lambda), finds the optimal timescale in epochs is roughly constant across dataset and model sizes, and derives weight decay scaling rules (decrease with dataset size, increase with width under muP).

Problem

How the optimal AdamW weight decay should scale with model width and dataset size, which is poorly understood, and why muP learning-rate transfer breaks down under AdamW with fixed weight decay.

Approach

Interprets AdamW's decoupled-weight-decay weights as an exponential moving average of recent updates, so the EMA timescale tau = 1/(eta*lambda) (measured in epochs) is the key hyperparameter; holding the epoch-timescale fixed gives scaling rules for weight decay with dataset size and model width (lambda ∝ s under muP).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase weight decay as dataset size increases to keep the EMA timescale in epochs approximately constantAdamW · ImageNet subsets; OpenWebText subsetsoptimal weight decayHelped
Scale weight decay proportionally to model width while scaling the learning rate with 1/sResNet-18 on ImageNet 32x32 · 320K ImageNet subsetstability of optimal weight decay across widthsHelped
Scale weight decay proportionally to model width while scaling the learning rate with 1/s8-layer GPT · OpenWebText pre-trainingoptimal weight decay consistency across widthsHelped
Scale weight decay with model size while applying μP learning-rate scalingResNet-18 · CIFAR-10 and 320K ImageNet subsetstability of optimal base learning rate across model sizesHelped
Scale weight decay with model size while applying μP learning-rate scalingViT · ImageNet 32x32 subsetstability of optimal base learning rate across model sizesHelped
Add output batch normalization (ablation)ResNet-18 · CIFAR-10performance dependence on learning rate at fixed timescaleMixed
Use learning-rate-dependent initialization (ablation)ResNet-18 · CIFAR-10performance dependence on learning rate at fixed timescaleHelped
Decouple the learning rate for normalization parameters from the learning rate for other parameters (ablation)ResNet-18 · CIFAR-10performance dependence on learning rate at fixed timescaleHelped
Add layer normalization after all linear layers (ablation)ViT · CIFAR-10performance dependence on learning rate at fixed timescaleHelped
Keep weight decay fixed while using μP learning-rate scaling (ablation)ResNet-18 · CIFAR-10 and 320K ImageNet subsetstability of optimal base learning rate across model sizesHurt
Keep weight decay fixed while scaling model width (ablation)ResNet-18 · 320K ImageNet subsetstability of optimal weight decay across widthsHurt
Keep weight decay fixed while scaling model width (ablation)8-layer GPT · OpenWebText pre-trainingoptimal weight decay across widthsHurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 ImageNet 32x32 OpenWebText

Benchmarks: CIFAR-10 ImageNet 32x32 OpenWebText validation loss

Metrics: test accuracy test loss validation loss

Baselines: standard muP scaling with fixed weight decay

Builds on: muP (maximal update parametrization) AdamW (decoupled weight decay)

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