DaCapo: An On-Device Learning Scheme for Memory-Constrained Embedded Systems

计算机科学 反向传播 静态随机存取存储器 微控制器 方案(数学) 人工神经网络 深度学习 图层(电子) 嵌入式系统 人工智能 计算机硬件 数学 数学分析 有机化学 化学
作者
Osama Khan,Gwanjong Park,Euiseong Seo
出处
期刊:ACM Transactions in Embedded Computing Systems [Association for Computing Machinery]
卷期号:22 (5s): 1-23 被引量:5
标识
DOI:10.1145/3609121
摘要

The use of deep neural network (DNN) applications in microcontroller unit (MCU) embedded systems is getting popular. However, the DNN models in such systems frequently suffer from accuracy loss due to the dataset shift problem. On-device learning resolves this problem by updating the model parameters on-site with the real-world data, thus localizing the model to its surroundings. However, the backpropagation step during on-device learning requires the output of every layer computed during the forward pass to be stored in memory. This is usually infeasible in MCU devices as they are equipped only with a few KBs of SRAM. Given their energy limitation and the timeliness requirements, using flash memory to store the output of every layer is not practical either. Although there have been proposed a few research results to enable on-device learning under stringent memory conditions, they require the modification of the target models or the use of non-conventional gradient computation strategies. This paper proposes DaCapo, a backpropagation scheme that enables on-device learning in memory-constrained embedded systems. DaCapo stores only the output of certain layers, known as checkpoints, in SRAM, and discards the others. The discarded outputs are recomputed during backpropagation from the nearest checkpoint in front of them. In order to minimize the recomputation occurrences, DaCapo optimally plans the checkpoints to be stored in the SRAM area at a particular phase of the backpropagation and thus replaces the checkpoints stored in memory as the backpropagation progresses. We implemented the proposed scheme in an STM32F429ZI board and evaluated it with five representative DNN models. Our evaluation showed that DaCapo improved backpropagation time by up to 22% and saved energy consumption by up to 28% in comparison to AIfES, a machine learning platform optimized for MCU devices. In addition, our proposed approach enabled the training of MobileNet, which the MCU device had been previously unable to train.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
望舒完成签到,获得积分10
1秒前
量子星尘发布了新的文献求助10
1秒前
领导范儿应助璐璐张采纳,获得10
1秒前
1秒前
李爱国应助Yuanyuan采纳,获得10
1秒前
2秒前
2秒前
2秒前
2秒前
2秒前
可爱的函函应助奋斗向南采纳,获得10
2秒前
zhao完成签到,获得积分10
3秒前
3秒前
冷酷莫茗发布了新的文献求助10
4秒前
xu发布了新的文献求助30
4秒前
周灿灿完成签到,获得积分10
4秒前
5秒前
5秒前
xuwb发布了新的文献求助10
5秒前
层楼完成签到,获得积分20
5秒前
5秒前
6秒前
AlexiOS完成签到 ,获得积分10
6秒前
047047lsq完成签到,获得积分10
6秒前
泡泡完成签到,获得积分10
6秒前
7秒前
7秒前
121发布了新的文献求助10
7秒前
暴暴怪超人完成签到,获得积分20
7秒前
阿北发布了新的文献求助10
7秒前
Wsn发布了新的文献求助10
8秒前
百事可乐完成签到,获得积分10
8秒前
迟迟发布了新的文献求助10
8秒前
研友_Z7mV4L发布了新的文献求助10
8秒前
whisper完成签到,获得积分10
9秒前
Conan发布了新的文献求助10
9秒前
9秒前
10秒前
fffff发布了新的文献求助10
10秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Aerospace Standards Index - 2026 ASIN2026 3000
Polymorphism and polytypism in crystals 1000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
Research Methods for Business: A Skill Building Approach, 9th Edition 500
Social Work and Social Welfare: An Invitation(7th Edition) 410
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6049034
求助须知:如何正确求助?哪些是违规求助? 7835452
关于积分的说明 16261842
捐赠科研通 5194265
什么是DOI,文献DOI怎么找? 2779398
邀请新用户注册赠送积分活动 1762639
关于科研通互助平台的介绍 1644705