Demand Layering for Real-Time DNN Inference with Minimized Memory Usage
Mingoo Ji, Saehanseul Yi, Changjin Koo, Sol Ahn, Dongjoo Seo, Nikil, Dutt, Jong-Chan Kim

TL;DR
Demand Layering enables efficient real-time DNN inference on embedded systems by layer-wise execution and SSD swapping, significantly reducing memory usage with minimal delay overhead.
Contribution
This paper introduces Demand Layering, a novel layer-by-layer DNN execution method using SSDs to minimize memory in embedded systems with shared memory architectures.
Findings
96.5% memory reduction achieved
14.8% average delay overhead
Near-zero delay with 88.4% memory reduction
Abstract
When executing a deep neural network (DNN), its model parameters are loaded into GPU memory before execution, incurring a significant GPU memory burden. There are studies that reduce GPU memory usage by exploiting CPU memory as a swap device. However, this approach is not applicable in most embedded systems with integrated GPUs where CPU and GPU share a common memory. In this regard, we present Demand Layering, which employs a fast solid-state drive (SSD) as a co-running partner of a GPU and exploits the layer-by-layer execution of DNNs. In our approach, a DNN is loaded and executed in a layer-by-layer manner, minimizing the memory usage to the order of a single layer. Also, we developed a pipeline architecture that hides most additional delays caused by the interleaved parameter loadings alongside layer executions. Our implementation shows a 96.5% memory reduction with just 14.8% delay…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAge of Information Optimization · Advanced Neural Network Applications · Context-Aware Activity Recognition Systems
