mlsanityData to 14 Oct 2026

The AdEMAMix Optimizer: Better, Faster, Older

arXiv 2409.03137 ↗First posted 5 Sep 2024cs.LG stat.MLcited by 54

Not on the map. Why?

Abstract (arXiv)

Momentum based optimizers are central to a wide range of machine learning applications. These typically rely on an Exponential Moving Average (EMA) of gradients, which decays exponentially the present contribution of older gradients. This accounts for gradients being local linear approximations which lose their relevance as the iterate moves along the loss landscape. This work questions the use of a single EMA to accumulate past gradients and empirically demonstrates how this choice can be sub-optimal: a single EMA cannot simultaneously give a high weight to the immediate past, and a non-negligible weight to older gradients. Building on this observation, we propose AdEMAMix, a simple modification of the Adam optimizer with a mixture of two EMAs to better take advantage of past gradients. Our experiments on language modeling and image classification show -- quite surprisingly -- that gradients can stay relevant for tens of thousands of steps. They help to converge faster, and often to lower minima: e.g., a 1.3B parameter AdEMAMix LLM trained on 101B tokens performs comparably to an AdamW model trained on 197B tokens (+95%). Moreover, our method significantly slows-down model forgetting during training. Our work motivates further exploration of different types of functions to leverage past gradients, beyond EMAs.

Key facts. Cited by 54 papers in the map (data through 14 Oct 2026). Builds on 52 of its 71 references that are in the map. First posted on arXiv 5 Sep 2024.

Builds on

52 of 71 references.

References · 52

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  7. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  8. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
  9. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  10. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  11. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  12. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
38 more
  1. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  2. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  3. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  4. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  5. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  6. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,288
  7. 2016An overview of gradient descent optimization algorithmscited by 1,033
  8. 2021Scaling Vision Transformerscited by 999
  9. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
  10. 2017Crowdsourcing Multiple Choice Science Questionscited by 765
  11. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 723
  12. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
  13. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
  14. 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 674
  15. 2019MathQA: Towards Interpretable Math Word Problem Solving with Operation-Based Formalismscited by 662
  16. 2021ImageNet-21K Pretraining for the Massescited by 613
  17. 2024RewardBench: Evaluating Reward Models for Language Modelingcited by 499
  18. 2023Symbolic Discovery of Optimization Algorithmscited by 434
  19. 2022DeiT III: Revenge of the ViTcited by 419
  20. 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 265
  21. 2020Retrieve, Program, Repeat: Complex Knowledge Base Question Answering via Alternate Meta-learningcited by 216
  22. 2024Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durationscited by 170
  23. 2019SlowMo: Improving Communication-Efficient Distributed SGD with Slow Momentumcited by 121
  24. 2023DiLoCo: Distributed Low-Communication Training of Language Modelscited by 121
  25. 2018A Closer Look at Deep Learning Heuristics: Learning rate restarts, Warmup and Distillationcited by 110
  26. 2024KMMLU: Measuring Massive Multitask Language Understanding in Koreancited by 91
  27. 2021Think you have Solved Direct-Answer Question Answering? Try ARC-DA, the Direct-Answer AI2 Reasoning Challengecited by 80
  28. 2014Global convergence of the Heavy-ball method for convex optimizationcited by 61
  29. 2018On the insufficiency of existing momentum schemes for Stochastic Optimizationcited by 49
  30. 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Modelscited by 41
  31. 2024Grokfast: Accelerated Grokking by Amplifying Slow Gradientscited by 41
  32. 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 41
  33. 2018Aggregated Momentum: Stability Through Passive Dampingcited by 36
  34. 2020The Two Regimes of Deep Network Trainingcited by 30
  35. 2023Implicit regularization in Heavy-ball momentum accelerated stochastic gradient descentcited by 25
  36. 2015From Averaging to Acceleration, There is Only a Step-sizecited by 24
  37. 2016On the Influence of Momentum Acceleration on Online Learningcited by 24
  38. 2023Provable non-accelerations of the heavy-ball methodcited by 12

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 18; 2026: 33.

54 papers.

Sort:

By area:

  1. 2025Communication-Efficient Language Model Training Scales Reliably and Robustly: Scaling Laws for DiLoCocited by 27
  2. 2024SWAN: SGD with Normalization and Whitening Enables Stateless LLM Trainingcited by 20
  3. 2024How Much Can We Forget about Data Contamination?cited by 14
  4. 2025Slamming: Training a Speech Language Model on One GPU in a Daycited by 12
  5. 2025Training Dynamics of the Cooldown Stage in Warmup-Stable-Decay Learning Rate Schedulercited by 12
  6. 2026Enhancing LLM Training via Spectral Clippingcited by 10
  7. 2025FOCUS: First Order Concentrated Updating Schemecited by 8
  8. 2025Physics of Skill Learningcited by 8
  9. 2025GradPower: Powering Gradients for Faster Language Model Pre-Trainingcited by 8
  10. 2025SNOO: Step-K Nesterov Outer Optimizer - The Surprising Effectiveness of Nesterov Momentum Applied to Pseudo-Gradientscited by 8
  11. 2026Clarifying Shampoo: Adapting Spectral Descent to Stochasticity and the Parameter Trajectorycited by 8
  12. 2026Accelerating LLM Pre-Training through Flat-Direction Dynamics Enhancementcited by 8
38 more
  1. 2025Train Once, Answer All: Many Pretraining Experiments for the Cost of Onecited by 6
  2. 2026TrasMuon: Trust-Region Adaptive Scaling for Orthogonalized Momentum Optimizerscited by 6
  3. 2025Training Dynamics Underlying Language Model Scaling Laws: Loss Deceleration and Zero-Sum Learningcited by 5
  4. 2025Smoothing DiLoCo with Primal Averaging for Faster Training of LLMscited by 5
  5. 2026Benchmarking Optimizers for MLPs in Tabular Deep Learningcited by 5
  6. 2025DES-LOC: Desynced Low Communication Adaptive Optimizers for Training Foundation Modelscited by 4
  7. 2026The Effect of Mini-Batch Noise on the Implicit Bias of Adamcited by 4
  8. 2025EMA Without the Lag: Bias-Corrected Iterate Averaging Schemescited by 3
  9. 2025Noise-Adaptive Layerwise Learning Rates: Accelerating Geometry-Aware Optimization for Deep Neural Network Trainingcited by 3
  10. 2026Optimistic Dual Averaging Unifies Modern Optimizerscited by 3
  11. 2025Predicting Training Re-evaluation Curves Enables Effective Data Curriculums for LLMscited by 2
  12. 2025MT-DAO: Multi-Timescale Distributed Adaptive Optimizers with Local Updatescited by 2
  13. 2026Compute Efficiency and Serial Runtime Tradeoffs for Stochastic Momentum Methodscited by 2
  14. 2026Musec: MomentUm SpEctral Clipping for Stable Muon-type Trainingcited by 2
  15. 2025Adaptive Memory Momentum via a Model-Based Framework for Deep Learning Optimizationcited by 1
  16. 2026LoRDO: Distributed Low-Rank Optimization with Infrequent Communicationcited by 1
  17. 2026Apertus LLM Family Expansion via Distillation and Quantizationcited by 1
  18. 2026Training for the Model You Return: Improving Optimization for Iterate-Averaged Language Modelscited by 1
  19. 2026OPTScientist: Multi-Agent Discovery of Typed Optimizer Programs for Transformer Pretrainingcited by 1
  20. 2026The Road Taken: The Role of Optimizers at the Edge of Stabilitycited by 1
  21. 2026Optimizer Memory Schedules for Outscaling the Overtraining Axiscited by 1
  22. 2026Towards Understanding Momentum Acceleration in River-Valley Loss Landscapecited by 1
  23. 2024A second-order-like optimizer with adaptive gradient scaling for deep learningcited by 0
  24. 2025Self Distillation via Iterative Constructive Perturbationscited by 0
  25. 2025AI for Mycetoma Diagnosis in Histopathological Images: The MICCAI 2024 Challengecited by 0
  26. 2026LAW & ORDER: Adaptive Spatial Weighting for Medical Diffusion and Segmentationcited by 0
  27. 2026Toward Cross-Lingual Quality Classifiers for Multilingual Pretraining Data Selectioncited by 0
  28. 2026Learn-by-Wire Training Control Governance: Bounded Autonomous Training Under Stress for Stability and Efficiencycited by 0
  29. 2026RODE: A Radial-Orthogonal Decoupled Engine for Optimizationcited by 0
  30. 2026Curvature-Conditioned Multiscale Momentum with Sphere Constraints for LLM Pretrainingcited by 0
  31. 2026Blog: Survey of Optimizerscited by 0
  32. 2026Communication-Efficient LLM Adaptation over Decentralized GPU Meshescited by 0
  33. 2026Optimizers for Diffusion Models: A Controlled Benchmarkcited by 0
  34. 2026A Journey to the Edge of Stabilitycited by 0
  35. 2026MeqMuon: Matrix-Equilibrating Muon for LLM Pretrainingcited by 0
  36. 2026Second-Moment Stochastic Approximation Methodscited by 0
  37. 2026OptiSelect: How does the Optimizer Shape Data Curriculum?cited by 0
  38. 2026A Step Towards Forgetting: Optimiser History and the Loss of Answer Masscited by 0

50 most cited of 54 All 54 (JSON)