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

AI-ANNE:(A) (N)eural (N)et for (E)xploration:将深度学习模型迁移到微控制器和嵌入式系统

AI-ANNE: (A) (N)eural (N)et for (E)xploration: Transferring Deep Learning Models onto Microcontrollers and Embedded Systems

Dennis Klinkhammer

AI总结:

本文提出 AI-ANNE 框架,借助 MicroPython 将 TensorFlow/Keras 预训练神经网络部署到 Raspberry Pi Pico 系列微控制器,并通过分类与状态监测示例验证其低延迟、高能效和教学价值。

摘要:

本工作论文探讨了将神经网络集成到资源受限的嵌入式系统(如 Raspberry Pi Pico / Raspberry Pi Pico 2)上。TinyML 方法将神经网络直接迁移到这些微控制器上,可在保持数据隐私的同时实现实时、低延迟和高能效的推理。因此,本文提出 AI-ANNE: (A) (N)eural (N)et for (E)xploration,它利用 MicroPython 等轻量级编程语言,促进将来自 TensorFlow 和 Keras 等高性能平台的预训练模型迁移到微控制器。该方法展示了如何在 MicroPython 中实现神经元、层、密度和激活函数等神经网络架构,以应对嵌入式系统的计算限制。基于 Raspberry Pi Pico / Raspberry Pi Pico 2,本文展示了两种运行于微控制器上的不同神经网络,作为数据分类示例。作为进一步的应用示例,此类微控制器可用于状态监测,根据传感器数据触发即时纠正措施。总体而言,本工作论文提出了一种在微控制器等高能效设备上使用神经网络且极易实现的方法。这使 AI-ANNE: (A) (N)eural (N)et for (E)xploration 不仅适合实际使用,也可作为教学工具,让人清晰理解神经网络的运行方式。

英文摘要:

This working paper explores the integration of neural networks onto resource-constrained embedded systems like a Raspberry Pi Pico / Raspberry Pi Pico 2. A TinyML aproach transfers neural networks directly on these microcontrollers, enabling real-time, low-latency, and energy-efficient inference while maintaining data privacy. Therefore, AI-ANNE: (A) (N)eural (N)et for (E)xploration will be presented, which facilitates the transfer of pre-trained models from high-performance platforms like TensorFlow and Keras onto microcontrollers, using a lightweight programming language like MicroPython. This approach demonstrates how neural network architectures, such as neurons, layers, density and activation functions can be implemented in MicroPython in order to deal with the computational limitations of embedded systems. Based on the Raspberry Pi Pico / Raspberry Pi Pico 2, two different neural networks on microcontrollers are presented for an example of data classification. As an further application example, such a microcontroller can be used for condition monitoring, where immediate corrective measures are triggered on the basis of sensor data. Overall, this working paper presents a very easy-to-implement way of using neural networks on energy-efficient devices such as microcontrollers. This makes AI-ANNE: (A) (N)eural (N)et for (E)xploration not only suited for practical use, but also as an educational tool with clear insights into how neural networks operate.

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

↑