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

MinUn:微控制器上精确的ML推理

MinUn: Accurate ML Inference on Microcontrollers

Microsoft Research(微软研究院);ETH Zurich(苏黎世联邦理工学院);UC Berkeley(加州大学伯克利分校)

Shikhar Jaiswal, Rahul Kiran Kranti Goli, Aayan Kumar, Vivek Seshadri, Rahul Sharma

摘要:

在微型设备上运行机器学习推理,被称为TinyML,是一个新兴的研究领域。这个任务需要生成节省内存的推理代码,这是一个标准ML框架不适合的任务。TinyML的部署框架必须是a)在数字表示中的参数化,以利用新兴的表示,如假设,b)仔细地将高精度分配给一些张量,以便大多数张量可以保持低精度,同时仍然保持模型的准确性,c)避免内存碎片。我们描述了MinUn,第一个TinyML框架,它全面解决了这些问题,为ARM微控制器生成有效的代码(例如,Arduino Uno,Due和STM32H747),性能优于之前的TinyML框架。

英文摘要:

Running machine learning inference on tiny devices, known as TinyML, is an emerging research area. This task requires generating inference code that uses memory frugally, a task that standard ML frameworks are ill-suited for. A deployment framework for TinyML must be a) parametric in the number representation to take advantage of the emerging representations like posits, b) carefully assign high-precision to a few tensors so that most tensors can be kept in low-precision while still maintaining model accuracy, and c) avoid memory fragmentation. We describe MinUn, the first TinyML framework that holistically addresses these issues to generate efficient code for ARM microcontrollers (e.g., Arduino Uno, Due and STM32H747) that outperforms the prior TinyML frameworks.

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

↑