How to Scale Your EMA
Not on the map. Why?
Abstract (arXiv)
Preserving training dynamics across batch sizes is an important tool for practical machine learning as it enables the trade-off between batch size and wall-clock time. This trade-off is typically enabled by a scaling rule, for example, in stochastic gradient descent, one should scale the learning rate linearly with the batch size. Another important machine learning tool is the model EMA, a functional copy of a target model, whose parameters move towards those of its target model according to an Exponential Moving Average (EMA) at a rate parameterized by a momentum hyperparameter. This model EMA can improve the robustness and generalization of supervised learning, stabilize pseudo-labeling, and provide a learning signal for Self-Supervised Learning (SSL). Prior works have not considered the optimization of the model EMA when performing scaling, leading to different training dynamics across batch sizes and lower model performance. In this work, we provide a scaling rule for optimization in the presence of a model EMA and demonstrate the rule's validity across a range of architectures, optimizers, and data modalities. We also show the rule's validity where the model EMA contributes to the optimization of the target model, enabling us to train EMA-based pseudo-labeling and SSL methods at small and large batch sizes. For SSL, we enable training of BYOL up to batch size 24,576 without sacrificing performance, a 6× wall-clock time reduction under idealized hardware settings.
Key facts. Cited by 22 papers in the map (data through 7 Oct 2026). Builds on 50 of its 76 references that are in the map. First posted on arXiv 25 Jul 2023.
Builds on
50 of 76 references.
References · 50
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,764
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,893
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
38 more
- 2015Continuous control with deep reinforcement learningcited by 3,279
- 2020Unsupervised Learning of Visual Features by Contrasting Cluster Assignmentscited by 2,845
- 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,080
- 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
- 2016Identity Mappings in Deep Residual Networkscited by 1,960
- 2021An Empirical Study of Training Self-Supervised Vision Transformerscited by 1,610
- 2018Group Normalizationcited by 1,514
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2020Big Self-Supervised Models are Strong Semi-Supervised Learnerscited by 1,375
- 2019SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognitioncited by 1,355
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2022data2vec: A General Framework for Self-supervised Learning in Speech, Vision and Languagecited by 718
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
- 2017Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning resultscited by 470
- 2021High-Performance Large-Scale Image Recognition Without Normalizationcited by 359
- 2017Snapshot Ensembles: Train 1, get M for freecited by 349
- 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 313
- 2017Three Factors Influencing Minima in SGDcited by 270
- 2014One weird trick for parallelizing convolutional neural networkscited by 264
- 2021Understanding self-supervised Learning Dynamics without Contrastive Pairscited by 254
- 2019Revisiting Self-Training for Neural Sequence Generationcited by 154
- 2018Stochastic Modified Equations and Dynamics of Stochastic Gradient Algorithms I: Mathematical Foundationscited by 109
- 2022Efficient Self-supervised Learning with Contextualized Target Representations for Vision, Speech and Languagecited by 108
- 2022On the SDEs and Scaling Rules for Adaptive Gradient Algorithmscited by 100
- 2020BYOL works even without batch statisticscited by 95
- 2020Iterative Pseudo-Labeling for Speech Recognitioncited by 81
- 2021On the Validity of Modeling SGD with Stochastic Differential Equations (SDEs)cited by 73
- 2020SlimIPL: Language-Model-Free Iterative Pseudo-Labelingcited by 54
- 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
- 2022BYOL for Audio: Exploring Pre-trained General-purpose Audio Representationscited by 36
- 2021Kaizen: Continuously improving teacher using Exponential Moving Average for semi-supervised speech recognitioncited by 21
- 2023The Edge of Orthogonality: A Simple View of What Makes BYOL Tickcited by 15
- 2022Continuous Pseudo-Labeling from the Startcited by 11
- 2022Where Should I Spend My FLOPS? Efficiency Evaluations of Visual Pre-training Methodscited by 8
- 2022Continuous Soft Pseudo-Labeling in ASRcited by 6
Built on by
Citing papers per year: 2023: 3; 2024: 7; 2025: 6; 2026: 6.
22 papers.
Sort:
By area:
- 2023Nash Learning from Human Feedbackcited by 220
- 2024On Scaling Up 3D Gaussian Splatting Trainingcited by 49
- 2024How to set AdamW's weight decay as you scale model and dataset sizecited by 42
- 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wastefulcited by 36
- 2025Straight to Zero: Why Linearly Decaying the Learning Rate to Zero Works Best for LLMscited by 34
- 2024D2O: Dynamic Discriminative Operations for Efficient Long-Context Inference of Large Language Modelscited by 30
- 2023Butterfly Effects of SGD Noise: Error Amplification in Behavior Cloning and Autoregressioncited by 14
- 2024Greedy-DiM: Greedy Algorithms for Unreasonably Effective Face Morphscited by 10
- 2024Efficient Federated Learning against Heterogeneous and Non-stationary Client Unavailabilitycited by 9
- 2025Training Dynamics of the Cooldown Stage in Warmup-Stable-Decay Learning Rate Schedulercited by 9
- 2024BOSC: A Backdoor-based Framework for Open Set Synthetic Image Attributioncited by 6
- 2026EMA Policy Gradient: Taming Reinforcement Learning for LLMs with EMA Anchor and Top-k KLcited by 4
10 more
- 2024The Impact of Print-Scanning in Heterogeneous Morph Evaluation Scenarioscited by 2
- 2025EMA Without the Lag: Bias-Corrected Iterate Averaging Schemescited by 2
- 2023Bootstrap Your Own Variancecited by 1
- 2025Understanding SGD with Exponential Moving Average: A Case Study in Linear Regressioncited by 1
- 2025PADAM: Parallel averaged Adam reduces the error for stochastic optimization in scientific machine learningcited by 1
- 2026Amortized Maximum Inner Product Search with Learned Support Functionscited by 1
- 2026Training for the Model You Return: Improving Optimization for Iterate-Averaged Language Modelscited by 1
- 2026A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Lawscited by 0
- 2026One Symptom, Three Levers: A Critical Review of On-Policy Self-Distillationcited by 0
- 2026Look Where It Counts: A Free, Label-Free Visual Evidence Signal for Fine-Grained Vision-Language Reasoningcited by 0
- 2026Look Where It Counts: A Free, Label-Free Visual Evidence Signal for Fine-Grained Vision-Language Reasoning21 Sep 2026
- 2026One Symptom, Three Levers: A Critical Review of On-Policy Self-Distillation26 Aug 2026
- 2026Training for the Model You Return: Improving Optimization for Iterate-Averaged Language Models23 Jun 2026
- 2026Amortized Maximum Inner Product Search with Learned Support Functions9 Mar 2026
- 2026EMA Policy Gradient: Taming Reinforcement Learning for LLMs with EMA Anchor and Top-k KL4 Feb 2026
- 2026A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Laws29 Jan 2026
- 2025Training Dynamics of the Cooldown Stage in Warmup-Stable-Decay Learning Rate Scheduler2 Aug 2025
- 2025EMA Without the Lag: Bias-Corrected Iterate Averaging Schemes31 Jul 2025
- 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wasteful9 Jul 2025
- 2025PADAM: Parallel averaged Adam reduces the error for stochastic optimization in scientific machine learning28 May 2025
- 2025Straight to Zero: Why Linearly Decaying the Learning Rate to Zero Works Best for LLMs21 Feb 2025
- 2025Understanding SGD with Exponential Moving Average: A Case Study in Linear Regression19 Feb 2025
10 more
- 2024Efficient Federated Learning against Heterogeneous and Non-stationary Client Unavailability26 Sep 2024
- 2024On Scaling Up 3D Gaussian Splatting Training26 Jun 2024
- 2024D2O: Dynamic Discriminative Operations for Efficient Long-Context Inference of Large Language Models18 Jun 2024
- 2024How to set AdamW's weight decay as you scale model and dataset size22 May 2024
- 2024BOSC: A Backdoor-based Framework for Open Set Synthetic Image Attribution19 May 2024
- 2024The Impact of Print-Scanning in Heterogeneous Morph Evaluation Scenarios9 Apr 2024
- 2024Greedy-DiM: Greedy Algorithms for Unreasonably Effective Face Morphs9 Apr 2024
- 2023Bootstrap Your Own Variance6 Dec 2023
- 2023Nash Learning from Human Feedback1 Dec 2023
- 2023Butterfly Effects of SGD Noise: Error Amplification in Behavior Cloning and Autoregression17 Oct 2023
- 2023Nash Learning from Human Feedbackcited by 220
- 2023Nash Learning from Human Feedback1 Dec 2023
- 2024On Scaling Up 3D Gaussian Splatting Trainingcited by 49
- 2024How to set AdamW's weight decay as you scale model and dataset sizecited by 42
- 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wastefulcited by 36
- 2025Straight to Zero: Why Linearly Decaying the Learning Rate to Zero Works Best for LLMscited by 34
- 2023Butterfly Effects of SGD Noise: Error Amplification in Behavior Cloning and Autoregressioncited by 14
- 2024Greedy-DiM: Greedy Algorithms for Unreasonably Effective Face Morphscited by 10
- 2024Efficient Federated Learning against Heterogeneous and Non-stationary Client Unavailabilitycited by 9
- 2025Training Dynamics of the Cooldown Stage in Warmup-Stable-Decay Learning Rate Schedulercited by 9
- 2024BOSC: A Backdoor-based Framework for Open Set Synthetic Image Attributioncited by 6
- 2024The Impact of Print-Scanning in Heterogeneous Morph Evaluation Scenarioscited by 2
- 2025EMA Without the Lag: Bias-Corrected Iterate Averaging Schemescited by 2
- 2023Bootstrap Your Own Variancecited by 1
12 most cited of 17 All 17 (JSON)
- 2026One Symptom, Three Levers: A Critical Review of On-Policy Self-Distillation26 Aug 2026
- 2026Training for the Model You Return: Improving Optimization for Iterate-Averaged Language Models23 Jun 2026
- 2026Amortized Maximum Inner Product Search with Learned Support Functions9 Mar 2026
- 2026A Unified Generalization Framework for Model Merging: Trade-offs, Non-Linearity, and Scaling Laws29 Jan 2026
- 2025Training Dynamics of the Cooldown Stage in Warmup-Stable-Decay Learning Rate Scheduler2 Aug 2025
- 2025EMA Without the Lag: Bias-Corrected Iterate Averaging Schemes31 Jul 2025
- 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wasteful9 Jul 2025
- 2025PADAM: Parallel averaged Adam reduces the error for stochastic optimization in scientific machine learning28 May 2025
- 2025Straight to Zero: Why Linearly Decaying the Learning Rate to Zero Works Best for LLMs21 Feb 2025
- 2024Efficient Federated Learning against Heterogeneous and Non-stationary Client Unavailability26 Sep 2024
- 2024On Scaling Up 3D Gaussian Splatting Training26 Jun 2024
- 2024How to set AdamW's weight decay as you scale model and dataset size22 May 2024
12 newest of 17 All 17 (JSON)