arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.10734cs.LGcs.AI
收藏

在 Cortex-M 微控制器上对全量化深度神经网络进行设备端训练

On-Device Training of Fully Quantized Deep Neural Networks on Cortex-M Microcontrollers

Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU)(埃尔朗根-纽伦堡弗里德里希-亚历山大大学(FAU));Fraunhofer IIS, Fraunhofer Institute for Integrated Circuits IIS(弗劳恩霍夫集成电路研究所(Fraunhofer IIS))

Mark Deutel, Frank Hannig, Christopher Mutschler, Jürgen Teich

AI总结:

本文研究在 Cortex-M 微控制器上进行 DNN 设备端训练,提出结合全量化训练与动态部分梯度更新的方法,并在视觉和时间序列数据集上验证了精度、内存、能耗与延迟之间的权衡。

摘要:

深度神经网络(DNN)的设备端训练使模型在部署于微控制器单元(MCU)上时,能够适应并微调新收集的数据或变化的领域。然而,DNN 训练是一项资源密集型任务,由于处理器速度低、吞吐量受限、浮点支持有限以及内存约束,使得在 MCU 上实现和执行 DNN 训练算法具有挑战性。在本工作中,我们探索了面向 Cortex-M MCU 的 DNN 设备端训练。我们提出了一种方法,利用全量化训练(FQT)和动态部分梯度更新,在 MCU 上完全原位地高效训练 DNN。我们在多个视觉和时间序列数据集上证明了该方法的可行性,并深入分析了在真实硬件上训练精度、内存开销、能耗和延迟之间的权衡。

英文摘要:

On-device training of DNNs allows models to adapt and fine-tune to newly collected data or changing domains while deployed on microcontroller units (MCUs). However, DNN training is a resource-intensive task, making the implementation and execution of DNN training algorithms on MCUs challenging due to low processor speeds, constrained throughput, limited floating-point support, and memory constraints. In this work, we explore on-device training of DNNs for Cortex-M MCUs. We present a method that enables efficient training of DNNs completely in place on the MCU using fully quantized training (FQT) and dynamic partial gradient updates. We demonstrate the feasibility of our approach on multiple vision and time-series datasets and provide insights into the tradeoff between training accuracy, memory overhead, energy, and latency on real hardware.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑