Generalizing Reuse Patterns for Efficient DNN on Microcontrollers
Jiesong Liu, Bin Ren, Xipeng Shen
Abstract
Deep Neural Networks (DNNs) face challenges in deployment on resource-constrained devices due to their high computational demands. Leveraging redundancy in input data and activation maps for computation reuse is an effective way to accelerate DNN inference, especially for microcontrollers where the computing power is very limited. This work points out an important limitation in current reuse-based DNN optimizations, the narrow definition of reuse patterns in data. It proposes the concept of generalized reuse and uncovers the relations between generalized reuse patterns and row/column reorder of a matrix view of the input or activation map of a DNN. It revolutionizes the conventional view of explorable reuse patterns, drastically expanding the reuse space. It further develops two novel analytical models for analyzing the impacts of reuse patterns on the accuracy and latency of DNNs, enabling efficient selection of appropriate reuse patterns. Experiments show that generalized reuse consistently brings significant benefits, regardless of the differences among DNNs or microcontroller hardware. It delivers 1.03-2.2x speedups or 1-8% accuracy improvement over conventional reuse.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9da3f0d0-c9ab-4e57-a31f-d6eb05d2a59fBuilds on12
- MCUNet: Tiny Deep Learning on IoT DevicesJi Lin, Wei-Ming Chen, Yujun Lin, John Cohn et al.NeurIPS 2020 · 827 citations
- Memory-efficient Patch-based Inference for Tiny Deep LearningJi Lin, Wei-Ming Chen, Han Cai, Chuang Gan et al.NeurIPS 2021 · 190 citations
- ModelDiff: testing-based DNN similarity comparison for model reuse detectionYuanchun Li, Ziqi Zhang, Bingyan Liu, Ziyue Yang et al.ISSTA 2021 · 44 citations
- G-TADOC: Enabling Efficient GPU-Based Text Analytics without DecompressionFeng Zhang, Zaifeng Pan, Yanliang Zhou, Jidong Zhai et al.ICDE 2021 · 31 citations
- Cascading structured pruning: enabling high data reuse for sparse DNN acceleratorsEdward Hanson, Shiyu Li, Hai Helen Li, Yiran ChenISCA 2022 · 30 citations
Related papers
- Space-Efficient TREC for Enabling Deep Learning on MicrocontrollersJiesong Liu, Feng Zhang, Jiawei Guan, Hsin-Hsuan Sung et al.ASPLOS 2023 · 8 citations
- TREC: Transient Redundancy Elimination-based ConvolutionJiawei Guan, Feng Zhang, Jiesong Liu, Hsin-Hsuan Sung et al.NeurIPS 2022 · 6 citations
- RePIM: Joint Exploitation of Activation and Weight Repetitions for In-ReRAM DNN AccelerationChen-Yang Tsai, Chin-Fu Nien, Tz-Ching Yu, Hung-Yu Yeh et al.DAC 2021 · 22 citations
- PattPIM: A Practical ReRAM-Based DNN Accelerator by Reusing Weight Pattern RepetitionsYuhao Zhang, Zhiping Jia, Yungang Pan, Hongchao Du et al.DAC 2020 · 27 citations
- ConfuciuX: Autonomous Hardware Resource Assignment for DNN Accelerators using Reinforcement LearningSheng-Chun Kao, Geonhwa Jeong, Tushar KrishnaMICRO 2020 · 115 citations
