arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.07601cs.LGcs.AIcs.DBcs.DC
收藏

TinyML系统的端侧在线学习与语义管理

On-device Online Learning and Semantic Management of TinyML Systems

Siemens AG(西门子公司);Technical University of Munich(慕尼黑工业大学);The University of Queensland(昆士兰大学)

Haoyu Ren, Xue Li, Darko Anicic, Thomas A. Runkler

AI总结:

针对TinyML系统落地中静态模型适配性差、端侧学习受异构与标注数据限制、规模化资源管理难的问题,提出在线学习、融合在线学习的联邦元学习及语义管理方案,经多场景验证有效。

摘要:

微型机器学习(Tiny Machine Learning, TinyML)的最新进展使低占用空间的嵌入式设备能够实现实时端侧机器学习。尽管许多人认可TinyML的潜在优势,但其实际落地仍面临独特挑战。本研究旨在弥合单个TinyML模型原型设计与生产中可靠TinyML系统开发之间的差距,具体围绕三个方面展开:(1) 嵌入式设备在动态变化的环境中运行。现有TinyML方案主要聚焦推理环节,模型在高性能机器上完成离线训练后作为静态对象部署,但由于输入数据分布不断演变,静态模型在真实场景中可能表现不佳。我们提出在线学习方法,支持在资源受限的设备上开展训练,使本地模型适配最新的现场环境条件。(2) 然而,当前的端侧学习方法在应用于大量设备时,难以应对异构部署条件且面临标注数据稀缺的问题。我们引入融合在线学习的联邦元学习(federated meta-learning)机制,提升模型泛化能力,助力快速学习。该方法通过知识共享确保分布式设备间的最优性能表现。(3) 此外,TinyML的核心优势在于广泛普及。嵌入式设备与TinyML模型均以极致效率为优先目标,因此在内存、传感器、模型架构等方面呈现出多样化特征。随着TinyML系统规模扩大,这类资源的多样性与非标准化表示使得管理工作极具挑战。我们提出语义管理方案,用于实现大规模下模型与设备的联合管理。我们通过一个基础回归示例验证了所提方法,并在手写字符图像分类、关键词音频分类、智能建筑人员存在检测三个真实世界TinyML应用中对其进行评估,证实了方法的有效性。

英文摘要:

Recent advances in Tiny Machine Learning (TinyML) empower low-footprint embedded devices for real-time on-device Machine Learning. While many acknowledge the potential benefits of TinyML, its practical implementation presents unique challenges. This study aims to bridge the gap between prototyping single TinyML models and developing reliable TinyML systems in production: (1) Embedded devices operate in dynamically changing conditions. Existing TinyML solutions primarily focus on inference, with models trained offline on powerful machines and deployed as static objects. However, static models may underperform in the real world due to evolving input data distributions. We propose online learning to enable training on constrained devices, adapting local models towards the latest field conditions. (2) Nevertheless, current on-device learning methods struggle with heterogeneous deployment conditions and the scarcity of labeled data when applied across numerous devices. We introduce federated meta-learning incorporating online learning to enhance model generalization, facilitating rapid learning. This approach ensures optimal performance among distributed devices by knowledge sharing. (3) Moreover, TinyML's pivotal advantage is widespread adoption. Embedded devices and TinyML models prioritize extreme efficiency, leading to diverse characteristics ranging from memory and sensors to model architectures. Given their diversity and non-standardized representations, managing these resources becomes challenging as TinyML systems scale up. We present semantic management for the joint management of models and devices at scale. We demonstrate our methods through a basic regression example and then assess them in three real-world TinyML applications: handwritten character image classification, keyword audio classification, and smart building presence detection, confirming our approaches' effectiveness.

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

↑