TinyProp——面向高效 TinyML 设备端学习的自适应稀疏反向传播
TinyProp -- Adaptive Sparse Backpropagation for Efficient TinyML On-device Learning
AI总结:
本文提出 TinyProp,通过在每个训练步骤动态调整稀疏反向传播比率,在 MCU 设备端微调中显著降低计算开销并减少精度损失。
摘要:
使用反向传播训练深度神经网络在内存和计算方面都非常密集。这使得在低功耗微控制器单元(MCU)等微型嵌入式设备上运行设备端学习或微调神经网络变得困难。稀疏反向传播算法试图通过仅训练权重和偏置的一个子集来降低设备端学习的计算负载。现有方法使用静态数量的权重进行训练。对这一所谓反向传播比率的不当选择,要么会限制计算收益,要么可能导致严重的精度损失。在本文中,我们提出 TinyProp,这是第一种在设备端训练期间针对每个训练步骤动态调整反向传播比率的稀疏反向传播方法。TinyProp 会引入较小的计算开销来对梯度元素进行排序,但这不会显著影响计算收益。TinyProp 在 MCU 上微调已训练网络方面表现尤其出色,而这正是嵌入式应用的典型用例。对于来自 MNIST、DCASE2020 和 CIFAR10 三个数据集的典型数据集,与非稀疏训练相比,我们的速度提高了 5 倍,而精度损失平均为 1%。平均而言,TinyProp 比现有的静态稀疏反向传播算法快 2.9 倍;并且与典型的静态反向传播比率设置相比,精度损失平均降低了 6%。
英文摘要:
Training deep neural networks using backpropagation is very memory and computationally intensive. This makes it difficult to run on-device learning or fine-tune neural networks on tiny, embedded devices such as low-power micro-controller units (MCUs). Sparse backpropagation algorithms try to reduce the computational load of on-device learning by training only a subset of the weights and biases. Existing approaches use a static number of weights to train. A poor choice of this so-called backpropagation ratio limits either the computational gain or can lead to severe accuracy losses. In this paper we present TinyProp, the first sparse backpropagation method that dynamically adapts the back-propagation ratio during on-device training for each training step. TinyProp induces a small calculation overhead to sort the elements of the gradient, which does not significantly impact the computational gains. TinyProp works particularly well on fine-tuning trained networks on MCUs, which is a typical use case for embedded applications. For typical datasets from three datasets MNIST, DCASE2020 and CIFAR10, we are 5 times faster compared to non-sparse training with an accuracy loss of on average 1%. On average, TinyProp is 2.9 times faster than existing, static sparse backpropagation algorithms and the accuracy loss is reduced on average by 6 % compared to a typical static setting of the back-propagation ratio.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。