arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.07114cs.LGcs.AI
收藏

一种面向TinyML设备端训练的基于数据集蒸馏与模型规模自适应的持续增量学习方法

A Continual and Incremental Learning Approach for TinyML On-device Training Using Dataset Distillation and Model Size Adaption

Hahn-Schickard(哈恩-席卡德研究所);Offenburg University of Applied Sciences(奥芬堡应用科学大学);Technical University of Munich(慕尼黑工业大学)

Marcus Rüb, Philipp Tuchel, Axel Sikora, Daniel Mueller-Gritschneder

AI总结:

针对资源受限嵌入式设备的TinyML增量学习需求,提出一种结合数据集蒸馏与动态模型规模自适应的算法,在仅用43% FLOPs和1%原始数据的情况下,准确率损失仅1%,高效解决灾难性遗忘问题。

摘要:

本文提出了一种适用于微型机器学习(TinyML)场景的新型增量学习算法,该算法针对低性能、低功耗的嵌入式设备进行了优化。TinyML是一个新兴领域,旨在将机器学习模型部署在微控制器等资源受限设备上,在传统机器学习模型无法适用的环境中实现语音识别、异常检测、预测性维护和传感器数据处理等智能应用。该算法通过知识蒸馏构建小型蒸馏数据集,解决了灾难性遗忘的难题。该方法的创新点在于可动态调整模型规模,使模型复杂度能够适配任务需求,为模型规模和计算效率均为关键约束的资源受限环境下的增量学习提供了解决方案。实验结果表明,该算法为嵌入式设备上的TinyML增量学习提供了一种极具潜力的方案。研究人员在CIFAR10、MNIST、CORE50、HAR、Speech Commands共五个数据集上对算法进行了测试。结果显示,与更大的固定模型相比,该算法仅使用43%的浮点运算量(FLOPs),准确率损失仅为1%,几乎可以忽略不计。此外,该方法内存效率优异:当前主流的增量学习方法通常内存占用极高,而该方法仅需原始数据集1%的数据量。

英文摘要:

A new algorithm for incremental learning in the context of Tiny Machine learning (TinyML) is presented, which is optimized for low-performance and energy efficient embedded devices. TinyML is an emerging field that deploys machine learning models on resource-constrained devices such as microcontrollers, enabling intelligent applications like voice recognition, anomaly detection, predictive maintenance, and sensor data processing in environments where traditional machine learning models are not feasible. The algorithm solve the challenge of catastrophic forgetting through the use of knowledge distillation to create a small, distilled dataset. The novelty of the method is that the size of the model can be adjusted dynamically, so that the complexity of the model can be adapted to the requirements of the task. This offers a solution for incremental learning in resource-constrained environments, where both model size and computational efficiency are critical factors. Results show that the proposed algorithm offers a promising approach for TinyML incremental learning on embedded devices. The algorithm was tested on five datasets including: CIFAR10, MNIST, CORE50, HAR, Speech Commands. The findings indicated that, despite using only 43% of Floating Point Operations (FLOPs) compared to a larger fixed model, the algorithm experienced a negligible accuracy loss of just 1%. In addition, the presented method is memory efficient. While state-of-the-art incremental learning is usually very memory intensive, the method requires only 1% of the original data set.

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

↑