mlsanityData to 7 Oct 2026

OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networks

arXiv 2210.12924 ↗First posted 24 Oct 2022cs.LGcited by 6

Not on the map. Why?

Abstract (arXiv)

The size of deep neural networks has grown exponentially in recent years. Unfortunately, hardware devices have not kept pace with the rapidly increasing memory requirements. To cope with this, researchers have turned to techniques such as spilling and recomputation, which increase training time, or reduced precision and model pruning, which can affect model accuracy. We present OLLA, an algorithm that optimizes the lifetime and memory location of the tensors used to train neural networks. Our method reduces the memory usage of existing neural networks, without needing any modification to the models or their training procedures. We formulate the problem as a joint integer linear program (ILP). We present several techniques to simplify the encoding of the problem, and enable our approach to scale to the size of state-of-the-art neural networks using an off-the-shelf ILP solver. We experimentally demonstrate that OLLA only takes minutes if not seconds to allow the training of neural networks using one-third less memory on average.

Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 50 of its 75 references that are in the map. First posted on arXiv 24 Oct 2022.

Builds on

50 of 75 references.

References · 50

  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. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  5. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  6. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  7. 2014Going Deeper with Convolutionscited by 4,231
  8. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  9. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  10. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  11. 2018SlowFast Networks for Video Recognitioncited by 1,862
  12. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
38 more
  1. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  2. 2014Image Super-Resolution Using Deep Convolutional Networkscited by 1,218
  3. 2017A Closer Look at Spatiotemporal Convolutions for Action Recognitioncited by 1,139
  4. 2017Mixed Precision Trainingcited by 1,135
  5. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
  6. 2018MnasNet: Platform-Aware Neural Architecture Search for Mobilecited by 937
  7. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  8. 2016Multi-View 3D Object Detection Network for Autonomous Drivingcited by 721
  9. 2020What is the State of Neural Network Pruning?cited by 578
  10. 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
  11. 2018Federated Learning for Mobile Keyboard Predictioncited by 565
  12. 2014Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFscited by 552
  13. 2019Importance Estimation for Neural Network Pruningcited by 531
  14. 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 313
  15. 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 227
  16. 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 163
  17. 2022Compute Trends Across Three Eras of Machine Learningcited by 161
  18. 2022On-Device Training Under 256KB Memorycited by 158
  19. 2021A Universal Law of Robustness via Isoperimetrycited by 150
  20. 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
  21. 2015Fixed Point Quantization of Deep Convolutional Networkscited by 141
  22. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
  23. 2022Overcoming Oscillations in Quantization-Aware Trainingcited by 116
  24. 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 90
  25. 2019Towards Unified INT8 Training for Convolutional Neural Networkcited by 77
  26. 2021Lost in Pruning: The Effects of Pruning Neural Networks beyond Test Accuracycited by 62
  27. 2021ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed Trainingcited by 61
  28. 2021DNNFusion: Accelerating Deep Neural Networks Execution with Advanced Operator Fusioncited by 56
  29. 2020Ordering Chaos: Memory-Aware Scheduling of Irregularly Wired Neural Networks for Edge Devicescited by 27
  30. 2022POET: Training Neural Networks on Tiny Devices with Integrated Rematerialization and Pagingcited by 26
  31. 2021Fire Together Wire Together: A Dynamic Pruning Approach with Self-Supervised Mask Predictioncited by 24
  32. 2017Integrated Model, Batch and Domain Parallelism in Training Neural Networkscited by 16
  33. 2019Neural networks on microcontrollers: saving memory at inference via operator reorderingcited by 15
  34. 2020Memory Optimization for Deep Networkscited by 15
  35. 2021Amazon SageMaker Model Parallelism: A General and Flexible Framework for Large Model Trainingcited by 11
  36. 2018Echo: Compiler-based GPU Memory Footprint Reduction for LSTM RNN Trainingcited by 10
  37. 2016Overcoming Challenges in Fixed Point Training of Deep Convolutional Networkscited by 9
  38. 2018Profile-guided memory optimization for deep neural networkscited by 6

Built on by

Cited by year

Citing papers per year: 2023: 4; 2024: 1; 2025: 1.

6 papers.