OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networks
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
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2014Going Deeper with Convolutionscited by 4,231
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2018SlowFast Networks for Video Recognitioncited by 1,862
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
38 more
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2014Image Super-Resolution Using Deep Convolutional Networkscited by 1,218
- 2017A Closer Look at Spatiotemporal Convolutions for Action Recognitioncited by 1,139
- 2017Mixed Precision Trainingcited by 1,135
- 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
- 2018MnasNet: Platform-Aware Neural Architecture Search for Mobilecited by 937
- 2016Training Deep Nets with Sublinear Memory Costcited by 825
- 2016Multi-View 3D Object Detection Network for Autonomous Drivingcited by 721
- 2020What is the State of Neural Network Pruning?cited by 578
- 2017Learning Sparse Neural Networks through L0 Regularizationcited by 571
- 2018Federated Learning for Mobile Keyboard Predictioncited by 565
- 2014Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFscited by 552
- 2019Importance Estimation for Neural Network Pruningcited by 531
- 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 313
- 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 227
- 2018Training Deep Neural Networks with 8-bit Floating Point Numberscited by 163
- 2022Compute Trends Across Three Eras of Machine Learningcited by 161
- 2022On-Device Training Under 256KB Memorycited by 158
- 2021A Universal Law of Robustness via Isoperimetrycited by 150
- 2020Training with Quantization Noise for Extreme Model Compressioncited by 145
- 2015Fixed Point Quantization of Deep Convolutional Networkscited by 141
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 139
- 2022Overcoming Oscillations in Quantization-Aware Trainingcited by 116
- 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 90
- 2019Towards Unified INT8 Training for Convolutional Neural Networkcited by 77
- 2021Lost in Pruning: The Effects of Pruning Neural Networks beyond Test Accuracycited by 62
- 2021ActNN: Reducing Training Memory Footprint via 2-Bit Activation Compressed Trainingcited by 61
- 2021DNNFusion: Accelerating Deep Neural Networks Execution with Advanced Operator Fusioncited by 56
- 2020Ordering Chaos: Memory-Aware Scheduling of Irregularly Wired Neural Networks for Edge Devicescited by 27
- 2022POET: Training Neural Networks on Tiny Devices with Integrated Rematerialization and Pagingcited by 26
- 2021Fire Together Wire Together: A Dynamic Pruning Approach with Self-Supervised Mask Predictioncited by 24
- 2017Integrated Model, Batch and Domain Parallelism in Training Neural Networkscited by 16
- 2019Neural networks on microcontrollers: saving memory at inference via operator reorderingcited by 15
- 2020Memory Optimization for Deep Networkscited by 15
- 2021Amazon SageMaker Model Parallelism: A General and Flexible Framework for Large Model Trainingcited by 11
- 2018Echo: Compiler-based GPU Memory Footprint Reduction for LSTM RNN Trainingcited by 10
- 2016Overcoming Challenges in Fixed Point Training of Deep Convolutional Networkscited by 9
- 2018Profile-guided memory optimization for deep neural networkscited by 6
Built on by
Citing papers per year: 2023: 4; 2024: 1; 2025: 1.
6 papers.
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Trainingcited by 5
- 2023Rockmate: an Efficient, Fast, Automatic and Generic Tool for Re-materialization in PyTorchcited by 4
- 2025Astraea: A State-Aware Scheduling Engine for LLM-Powered Agentscited by 3
- 2023Breaking On-device Training Memory Wall: A Systematic Surveycited by 1
- 2025Astraea: A State-Aware Scheduling Engine for LLM-Powered Agents16 Dec 2025
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Training16 Jul 2024
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep 2023
- 2023Rockmate: an Efficient, Fast, Automatic and Generic Tool for Re-materialization in PyTorch3 Jul 2023
- 2023Breaking On-device Training Memory Wall: A Systematic Survey17 Jun 2023
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU13 Mar 2023