DCAILGApr 26, 2018

Profile-guided memory optimization for deep neural networks

arXiv:1804.10001v125 citations
Originality Incremental advance
AI Analysis

This addresses memory limitations for running DNNs on devices with constrained memory, improving efficiency and enabling larger models.

The paper tackles the high memory consumption of deep neural networks by developing a profile-guided memory optimization method, which reduces memory usage by up to 49.5% and accelerates training and inference by up to a factor of four.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes