Adam Accumulation to Reduce Memory Footprints of both Activations and Gradients for Large-scale DNN Training
Not on the map. Why?
Abstract (arXiv)
Running out of GPU memory has become a main bottleneck for large-scale DNN training. How to reduce the memory footprint during training has received intensive research attention. We find that previous gradient accumulation reduces activation memory but fails to be compatible with gradient memory reduction due to a contradiction between preserving gradients and releasing gradients. To address this issue, we propose a novel optimizer accumulation method for Adam, named Adam Accumulation (AdamA), which enables reducing both activation and gradient memory. Specifically, AdamA directly integrates gradients into optimizer states and accumulates optimizer states over micro-batches, so that gradients can be released immediately after use. We mathematically and experimentally demonstrate AdamA yields the same convergence properties as Adam. Evaluated on transformer-based models, AdamA achieves up to 23% memory reduction compared to gradient accumulation with less than 2% degradation in training throughput. Notably, AdamA can work together with memory reduction methods for optimizer states to fit 1.26x~3.14x larger models over PyTorch and DeepSpeed baseline on GPUs with different memory capacities.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 18 of its 28 references that are in the map. First posted on arXiv 31 May 2023.
Builds on
18 of 28 references.
References · 18
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2017Mixed Precision Trainingcited by 1,135
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2022Using DeepSpeed and Megatron to Train Megatron-Turing NLG 530B, A Large-Scale Generative Language Modelcited by 557
6 more
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
- 2019Parameter Efficient Training of Deep Convolutional Neural Networks by Dynamic Sparse Reparameterizationcited by 187
- 2019Low-Memory Neural Network Training: A Technical Reportcited by 56
- 2020Training Large Neural Networks with Constant Memory using a New Execution Algorithmcited by 34
- 2019Memory-Efficient Adaptive Optimizationcited by 19
Built on by
Citing papers per year: 2024: 2; 2025: 1; 2026: 2.
5 papers.
- 2024Batch size invariant Adamcited by 4
- 2026FlashOptim: Optimizers for Memory-Efficient Trainingcited by 4
- 2025Per-example gradients: a new frontier for understanding and improving optimizerscited by 2
- 2026FORGE: Fused On-Register Gradient Elimination for Memory-Efficient LLM Trainingcited by 2
- 2024DeMansia: Mamba Never Forgets Any Tokenscited by 0
- 2026FORGE: Fused On-Register Gradient Elimination for Memory-Efficient LLM Training22 Jun 2026
- 2026FlashOptim: Optimizers for Memory-Efficient Training26 Feb 2026
- 2025Per-example gradients: a new frontier for understanding and improving optimizers30 Sep 2025
- 2024DeMansia: Mamba Never Forgets Any Tokens4 Aug 2024
- 2024Batch size invariant Adam29 Feb 2024