SwapNet: Efficient Swapping for DNN Inference on Edge AI Devices Beyond the Memory Budget
Not on the map. Why?
Abstract (arXiv)
Executing deep neural networks (DNNs) on edge artificial intelligence (AI) devices enables various autonomous mobile computing applications. However, the memory budget of edge AI devices restricts the number and complexity of DNNs allowed in such applications. Existing solutions, such as model compression or cloud offloading, reduce the memory footprint of DNN inference at the cost of decreased model accuracy or autonomy. To avoid these drawbacks, we divide DNN into blocks and swap them in and out in order, such that large DNNs can execute within a small memory budget. Nevertheless, naive swapping on edge AI devices induces significant delays due to the redundant memory operations in the DNN development ecosystem for edge AI devices. To this end, we develop SwapNet, an efficient DNN block swapping middleware for edge AI devices. We systematically eliminate the unnecessary memory operations during block swapping while retaining compatible with the deep learning frameworks, GPU backends, and hardware architectures of edge AI devices. We further showcase the utility of SwapNet via a multi-DNN scheduling scheme. Evaluations on eleven DNN inference tasks in three applications demonstrate that SwapNet achieves almost the same latency as the case with sufficient memory even when DNNs demand 2.32x to 5.81x memory beyond the available budget. The design of SwapNet also provides novel and feasible insights for deploying large language models (LLMs) on edge AI devices in the future.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 12 of its 53 references that are in the map. First posted on arXiv 30 Jan 2024.
Builds on
12 of 53 references.
References · 12
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,845
- 2018YOLOv3: An Incremental Improvementcited by 2,652
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2017Efficient Processing of Deep Neural Networks: A Tutorial and Surveycited by 427
- 2018Model compression via distillation and quantizationcited by 287
- 2019Edge AI: On-Demand Accelerating Deep Neural Network Inference via Edge Computingcited by 150
- 2023Real-time Neural Network Inference on Extremely Weak Devices: Agile Offloading with Explainable AIcited by 17
- 2021Enabling Large Neural Networks on Tiny Microcontrollers with Swappingcited by 9
- 2022PriMask: Cascadable and Collusion-Resilient Data Masking for Mobile Cloud Inferencecited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.