atlas

Research map / Optimization / Optimizers

The AdEMAMix Optimizer: Better, Faster, Older

ICLR 2025 · Optimization › Optimizers · approach: SGD momentum and step-size schedules · 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.

Proposes AdEMAMix, an Adam variant that adds a second slow EMA of gradients (beta3 ~ 0.9999) alongside the fast EMA, letting old gradients remain useful for tens of thousands of steps and yielding faster convergence and lower loss for LLM and ViT pretraining.

Problem

A single exponential moving average of gradients cannot simultaneously weight recent gradients heavily and retain non-negligible weight on very old gradients, so momentum-based optimizers like Adam discard useful long-range gradient information.

Approach

Augment Adam with a second, very slow EMA of gradients (beta3 close to 1) added to the fast momentum in the update numerator, with warmup schedulers for alpha and beta3 to avoid early instabilities, so the optimizer uses both recent and very old gradients.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace AdamW with AdEMAMix1.3B LLM · In-context learning tasksscoreMixed
Replace AdamW with AdEMAMixTransformer LLM training · RedPajama; matched training iterationsvalidation lossHelped
Replace AdamW with AdEMAMix168M Mamba LM · FineWeblossHelped
Replace AdamW with AdEMAMix24M ViT · ImageNet-21k, 11M imagestest lossHelped
Replace AdamW with AdEMAMix86M ViT · ImageNet-21k, 11M imagestest lossHelped
Replace AdamW with AdEMAMix86M ViT · ImageNet-1k, 1.3M imagestest lossNo clear effect
Increase AdamW beta1 above 0.9, including with a scheduler (ablation)AdamW · 110M LLM trainingperformanceNo clear effect
Add a second slow EMA and mix it with the fast EMAAdamW · Language modelingvalidation lossHelped
Switch from AdamW to AdEMAMix during training (ablation)AdamW-trained LLM · RedPajamafinal lossHelped
Switch from AdEMAMix to AdamW during training (ablation)AdEMAMix-trained LLM · RedPajamafinal lossHurt
Remove the second EMA mid-training (ablation)AdEMAMix · RedPajamafinal lossMixed
Use AdEMAMix instead of AdamWLLM optimizer · Held-out training batch after injectionbatch loss retentionHelped

Surprising findings

Limitations

Experimental setup

Datasets: RedPajama v2 FineWeb ImageNet-1k ImageNet-21k

Benchmarks: HellaSwag Winogrande ARC BoolQ LogiQA MathQA MMLU OpenbookQA PIQA PubmedQA RewardBench Sciq

Metrics: validation loss perplexity test loss accuracy training loss

Baselines: AdamW Lion Sophia Grokfast AdMeta

Builds on: Adam AdamW Lion DiLoCo Mamba

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