mlsanityData to 7 Oct 2026

DELTA: Dynamically Optimizing GPU Memory beyond Tensor Recomputation

arXiv 2203.15980 ↗First posted 30 Mar 2022cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

The further development of deep neural networks is hampered by the limited GPU memory resource. Therefore, the optimization of GPU memory resources is highly demanded. Swapping and recomputation are commonly applied to make better use of GPU memory in deep learning. However, as an emerging domain, several challenges remain:1)The efficiency of recomputation is limited for both static and dynamic methods. 2)Swapping requires offloading parameters manually, which incurs a great time cost. 3) There is no such dynamic and fine-grained method that involves tensor swapping together with tensor recomputation nowadays. To remedy the above issues, we propose a novel scheduler manager named DELTA(Dynamic tEnsor offLoad and recompuTAtion). To the best of our knowledge, we are the first to make a reasonable dynamic runtime scheduler on the combination of tensor swapping and tensor recomputation without user oversight. In DELTA, we propose a filter algorithm to select the optimal tensors to be released out of GPU memory and present a director algorithm to select a proper action for each of these tensors. Furthermore, prefetching and overlapping are deliberately considered to overcome the time cost caused by swapping and recomputing tensors. Experimental results show that DELTA not only saves 40%-70% of GPU memory, surpassing the state-of-the-art method to a great extent but also gets comparable convergence results as the baseline with acceptable time delay. Also, DELTA gains 2.04× maximum batchsize when training ResNet-50 and 2.25× when training ResNet-101 compared with the baseline. Besides, comparisons between the swapping cost and recomputation cost in our experiments demonstrate the importance of making a reasonable dynamic scheduler on tensor swapping and tensor recomputation, which refutes the arguments in some related work that swapping should be the first and best choice.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 35 of its 60 references that are in the map. First posted on arXiv 30 Mar 2022.

Builds on

35 of 60 references.

References · 35

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  6. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  9. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  10. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  11. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  12. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
23 more
  1. 2015Fast R-CNNcited by 2,930
  2. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
  3. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  4. 2016Inception-v4, Inception-ResNet and the Impact of Residual Connections on Learningcited by 1,509
  5. 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
  6. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  7. 2015BinaryConnect: Training Deep Neural Networks with binary weights during propagationscited by 571
  8. 2017Nonparametric regression using deep neural networks with ReLU activation functioncited by 431
  9. 2015Deep Learning with Limited Numerical Precisioncited by 368
  10. 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 339
  11. 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 291
  12. 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 253
  13. 2017The Reversible Residual Network: Backpropagation Without Storing Activationscited by 215
  14. 2015MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systemscited by 195
  15. 2014Compressing Deep Convolutional Networks using Vector Quantizationcited by 189
  16. 2018i-RevNet: Deep Invertible Networkscited by 137
  17. 2018PipeDream: Fast and Efficient Pipeline Parallel DNN Trainingcited by 116
  18. 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 90
  19. 2017In-Place Activated BatchNorm for Memory-Optimized Training of DNNscited by 81
  20. 2018SuperNeurons: Dynamic GPU Memory Management for Training Deep Neural Networkscited by 55
  21. 2020Dynamic Tensor Rematerializationcited by 45
  22. 2017Compressing DMA Engine: Leveraging Activation Sparsity for Training Deep Neural Networkscited by 36
  23. 2020Training Large Neural Networks with Constant Memory using a New Execution Algorithmcited by 34

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 0; 2024: 1.

2 papers.