An Evaluation of Memory Optimization Methods for Training Neural Networks
Not on the map. Why?
Abstract (arXiv)
As models continue to grow in size, the development of memory optimization methods (MOMs) has emerged as a solution to address the memory bottleneck encountered when training large models. To comprehensively examine the practical value of various MOMs, we have conducted a thorough analysis of existing literature from a systems perspective. Our analysis has revealed a notable challenge within the research community: the absence of standardized metrics for effectively evaluating the efficacy of MOMs. The scarcity of informative evaluation metrics hinders the ability of researchers and practitioners to compare and benchmark different approaches reliably. Consequently, drawing definitive conclusions and making informed decisions regarding the selection and application of MOMs becomes a challenging endeavor. To address the challenge, this paper summarizes the scenarios in which MOMs prove advantageous for model training. We propose the use of distinct evaluation metrics under different scenarios. By employing these metrics, we evaluate the prevailing MOMs and find that their benefits are not universal. We present insights derived from experiments and discuss the circumstances in which they can be advantageous.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 21 of its 27 references that are in the map. First posted on arXiv 26 Mar 2023.
Builds on
21 of 27 references.
References · 21
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2020Reformer: The Efficient Transformercited by 1,658
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2021Random Feature Attentioncited by 350
9 more
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
- 2022Reducing Activation Recomputation in Large Transformer Modelscited by 300
- 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 90
- 2021ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed Trainingcited by 61
- 2018SuperNeurons: Dynamic GPU Memory Management for Training Deep Neural Networkscited by 55
- 2020Dynamic Tensor Rematerializationcited by 45
- 2020SMYRF: Efficient Attention using Asymmetric Clusteringcited by 43
- 2022GACT: Activation Compressed Training for Generic Network Architecturescited by 31
- 2021Mesa: A Memory-saving Training Framework for Transformerscited by 16
Built on by
Not cited yet.