Profile-guided memory optimization for deep neural networks
Not on the map. Why?
Abstract (arXiv)
Recent years have seen deep neural networks (DNNs) becoming wider and deeper to achieve better performance in many applications of AI. Such DNNs however require huge amounts of memory to store weights and intermediate results (e.g., activations, feature maps, etc.) in propagation. This requirement makes it difficult to run the DNNs on devices with limited, hard-to-extend memory, degrades the running time performance, and restricts the design of network models. We address this challenge by developing a novel profile-guided memory optimization to efficiently and quickly allocate memory blocks during the propagation in DNNs. The optimization utilizes a simple and fast heuristic algorithm based on the two-dimensional rectangle packing problem. Experimenting with well-known neural network models, we confirm that our method not only reduces the memory consumption by up to 49.5% but also accelerates training and inference by up to a factor of four thanks to the rapidity of the memory allocation and the ability to use larger mini-batch sizes.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 26 Apr 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 3; 2023: 1; 2024: 1; 2025: 1.
6 papers.
- 2022Demand Layering for Real-Time DNN Inference with Minimized Memory Usagecited by 6
- 2022OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networkscited by 6
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Trainingcited by 5
- 2022Memory Planning for Deep Neural Networkscited by 3
- 2023ROAM: memory-efficient large DNN training via optimized operator ordering and memory layoutcited by 0
- 2025Futureproof Static Memory Planningcited by 0
- 2025Futureproof Static Memory Planning7 Apr 2025
- 2024MEMO: Fine-grained Tensor Management For Ultra-long Context LLM Training16 Jul 2024
- 2023ROAM: memory-efficient large DNN training via optimized operator ordering and memory layout30 Oct 2023
- 2022OLLA: Optimizing the Lifetime and Location of Arrays to Reduce the Memory Usage of Neural Networks24 Oct 2022
- 2022Demand Layering for Real-Time DNN Inference with Minimized Memory Usage8 Oct 2022
- 2022Memory Planning for Deep Neural Networks23 Feb 2022