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

在网络化微控制器上实现分割CNN推理

Split CNN Inference on Networked Microcontrollers

Delft University of Technology(代尔夫特理工大学)

Junyu Lu, Shashwath Suresh, Hao Liu, Qi Hong, Qing Wang

AI总结:

本文提出一种细粒度分割推理系统,通过在子层级别分割实现CNN模型在多个设备上的协同推理,降低MCU内存瓶颈并保持端到端延迟。

摘要:

在微控制器单元(MCU)上运行深度神经网络受到有限内存资源的严重限制。尽管TinyML技术减少了模型大小和计算量,但实际应用中由于推理过程中随机访问内存(RAM)的峰值使用过多,尤其是中间激活值,导致许多模型仍无法在独立MCU上运行。本文提出了一种针对网络化MCU的细粒度分割推理系统,实现了跨多个设备的CNN模型协同推理。我们的核心思想是通过在子层级别而非层边界分割来突破内存瓶颈。我们重新解释预训练模型以实现核级别和神经元级别的划分,并将模型参数和中间激活值分布到多个MCU上。一个轻量级、资源感知的协调器负责在异构资源的MCU设备上协调推理过程。我们已在真实测试平台上实现了该系统,并在多达8个MCU上使用MobileNetV2模型进行评估。实验结果表明,原本无法在单个MCU上运行的CNN模型可以跨网络化MCU执行,从而降低每个MCU的峰值RAM使用,同时保持实用的端到端推理延迟。本文所有源代码均可在此处找到:https://github.com/shashsuresh/split-inference-on-MCUs。

英文摘要:

Running deep neural networks on microcontroller units (MCUs) is severely constrained by limited memory resources. While TinyML techniques reduce model size and computation, they often fail in practice due to excessive peak Random Access Memory (RAM) usage during inference, dominated by intermediate activations. As a result, many models remain infeasible on standalone MCUs. In this work, we present a fine-grained split inference system for networked MCUs that enables collaborative inference of Convolutional Neural Networks (CNN) models across multiple devices. Our key insight is that breaking the memory bottleneck requires splitting inference at sub-layer granularity rather than at layer boundaries. We reinterpret pre-trained models to enable kernel-wise and neuron-wise partitioning, and distribute both model parameters and intermediate activations across multiple MCUs. A lightweight, resource-aware coordinator orchestrates the inference across MCU devices with heterogeneous resources. We implement the proposed system on a real testbed and evaluate it on up to 8 MCUs using MobileNetV2, a representative CNN model. Our experimental results show that CNN models infeasible on a single MCU can be executed across networked MCUs, reducing the per-MCU peak RAM usage while maintaining the practical end-to-end inference latency. All the source code of this work can be found here: https://github.com/shashsuresh/split-inference-on-MCUs.

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

↑