MoteNN: Memory Optimization via Fine-grained Scheduling for Deep Neural Networks on Tiny Devices
Open Access
- 23 June 2024
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-6
Abstract
There has been a growing trend in deploying deep neural networks (DNNs) on tiny devices. However, deploying DNNs on such devices poses significant challenges due to the contradiction between DNNs' substantial memory requirements and the stringent memory constraints of tiny devices. Some prior works incur large latency overhead to save memory and target only simple CNNs, while others employ coarse-grained scheduling for complicated networks, leading to limited memory footprint reduction. This paper proposes MoteNN that performs fine-grained scheduling via operator partitioning on arbitrary DNNs to dramatically reduce peak memory usage with little latency overhead. MoteNN presents a graph representation named Axis Connecting Graph (ACG) to perform operator partition at graph-level efficiently. MoteNN further proposes an algorithm that finds the partition and schedule guided by memory bottlenecks. We evaluate MoteNN using various popular networks and show that MoteNN achieves up to 80% of peak memory usage reduction compared to the state-of-art works with nearly no latency overhead on tiny devices.Keywords
Funding Information
- National Natural Science Foundation of China (NSFC) (U21B2017)
This publication has 11 references indexed in Scilit:
- Memory-aware Scheduling for Complex Wired Networks with Iterative Graph Optimization2023
- A Model-Specific End-to-End Design Methodology for Resource-Constrained TinyML Hardware2023
- NetBooster: Empowering Tiny Deep Learning By Standing on the Shoulders of Deep Giants2023
- Hierarchical memory-constrained operator scheduling of neural architecture search networks2022
- TinyML: Current Progress, Research Challenges, and Future Roadmap2021
- Deep Learning for IoT2020
- CMix-NN: Mixed Low-Precision CNN Library for Memory-Constrained Edge DevicesIEEE Transactions on Circuits and Systems II: Express Briefs, 2020
- MobileNetV2: Inverted Residuals and Linear Bottlenecks2018
- Learning Transferable Architectures for Scalable Image Recognition2018
- Fused-layer CNN accelerators2016