Compressing Runtime Memory Usage via Activation Remapping for Deploying Deep Neural Networks on MCUs

Deploying deep neural networks (DNNs) on microcontroller units (MCUs) has received increasing attentions. Most existing DNN compression algorithms focus on reducing the parameters of DNN to fit the storage constraints of MCUs. However, runtime memory of MCUs is more limited, and these methods are insufficiently optimized for memory usage, which lower the inference efficiency of DNN models on MCUs. Therefore, we propose a runtime memory compression method based on activation remapping to optimize the runtime memory usage on MCUs. By analyzing the frequency distribution of activation values, we introduce Huffman encoding and remap activation values by dynamic range merging to compress the runtime memory usage of MCUs. In addition, a global frequency table based on activation distributions is designed to further reduce the computation and storage overheads on MCUs. Experimental results show that our method can improve the memory compression ratio of MobileNet by up to 26.9% with the accuracy loss of less than 1%, compared with three state-of-the-art methods.

Authors

Institutions

Publication Details

Journal
IEEE Embedded Systems Letters
Published
2025-01-01
DOI
https://doi.org/10.1109/les.2025.3571799
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Compressing Runtime Memory Usage via Activation Remapping for Deploying Deep Neural Networks on MCUs

Siyun Peng, Jinyu Zhan, Xiang Wang, Wei Jiang
IEEE Embedded Systems Letters
Parallel Computing and Optimization Techniques
article

Compressing Runtime Memory Usage via Activation Remapping for Deploying Deep Neural Networks on MCUs

Siyun Peng, Jinyu Zhan, Xiang Wang, Wei Jiang
article en

Abstract

Deploying deep neural networks (DNNs) on microcontroller units (MCUs) has received increasing attentions. Most existing DNN compression algorithms focus on reducing the parameters of DNN to fit the storage constraints of MCUs. However, runtime memory of MCUs is more limited, and these methods are insufficiently optimized for memory usage, which lower the inference efficiency of DNN models on MCUs. Therefore, we propose a runtime memory compression method based on activation remapping to optimize the runtime memory usage on MCUs. By analyzing the frequency distribution of activation values, we introduce Huffman encoding and remap activation values by dynamic range merging to compress the runtime memory usage of MCUs. In addition, a global frequency table based on activation distributions is designed to further reduce the computation and storage overheads on MCUs. Experimental results show that our method can improve the memory compression ratio of MobileNet by up to 26.9% with the accuracy loss of less than 1%, compared with three state-of-the-art methods.

IEEE Embedded Systems Letters
University of Electronic Science and Technology of China (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 91%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.