arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.21560cs.LG
收藏

AutoMCU: 通过基于LLM的多智能体系统实现面向MCU的神经网络定制化

AutoMCU: Feasibility-First MCU Neural Network Customization via LLM-based Multi-Agent Systems

School of Computing and Artificial Intelligence, Southwest Jiaotong University(计算机与人工智能学院,西南交通大学);Shenzhen Institute for Advanced Study, University of Electronic Science and Technology of China(深圳先进研究院,电子科技大学);School of Computer Science and Engineering, Northeastern University(计算机科学与工程学院,东北大学)

Penglin Dai, Zijie Zhou, Xincao Xu, Junhua Wang, Xiao Wu, Lixin Duan

AI总结:

本文提出AutoMCU,一种基于LLM的多智能体系统,用于在MCU约束下实现神经网络的自动化定制化。通过自然语言任务需求和硬件规格,AutoMCU迭代生成结构化架构候选方案,通过供应商工具链反馈过滤不可行设计,在训练前进行筛选,评估可行模型并在受控协议下验证部署可行性。

摘要:

在微控制器单元(MCU)上部署神经网络对于边缘智能至关重要,但受限于内存、存储和计算约束仍具挑战性。现有方法,如模型压缩和硬件感知神经架构搜索(HW-NAS),通常依赖代理指标,导致搜索成本高,且未能充分弥合架构设计与验证部署之间的差距。本文提出AutoMCU,一种以可行性为导向的基于大型语言模型(LLM)的多智能体系统,用于在MCU约束下实现神经网络的自动化定制化。给定自然语言任务要求和硬件规格,AutoMCU迭代生成结构化架构候选方案,在训练前通过供应商工具链反馈过滤不可行设计,评估可行模型在受控协议下的性能,并通过后端基础部署分析验证部署可行性。AutoMCU包含两个关键机制:1)基于硬件的架构生成,用于在RAM和Flash约束下提前淘汰不可部署的候选方案;2)状态隔离的多智能体调度,用于稳定协调提案、训练、评估和部署阶段。在严格MCU约束下对CIFAR-10和CIFAR-100的实验表明,AutoMCU在减少定制时间至约1-2小时的同时实现了具有竞争力的精度,相比代表性的MCU导向HW-NAS基线方法所需的数百小时GPU时间。与ColabNAS和基于LLM的NAS方法GENIUS在NAS-Bench-201上的比较进一步证明了AutoMCU的有效性和稳定性。在多个STM32微控制器上的实际设备部署验证了其在MCU规模边缘智能中的实际适用性。

英文摘要:

Deploying neural networks on microcontroller units (MCUs) is critical for edge intelligence but remains challenging due to tight memory, storage, and computation constraints. Existing approaches, such as model compression and hardware-aware neural architecture search (HW-NAS), often depend on proxy metrics, incur high search cost, and do not fully bridge the gap between architecture design and verified deployment. This paper presents AutoMCU, a feasibility-first large language model (LLM)-based multi-agent system for automated neural network customization under MCU constraints. Given natural-language task requirements and hardware specifications, AutoMCU iteratively generates structured architecture candidates, filters infeasible designs through vendor toolchain feedback before training, evaluates feasible models under a controlled protocol, and verifies deployability through backend-grounded deployment analysis. AutoMCU includes two key mechanisms: 1) hardware-in-the-loop architecture generation for early elimination of undeployable candidates under RAM and Flash constraints, and 2) state-isolated multi-agent scheduling for stable coordination of proposal, training, evaluation, and deployment stages. Experiments on CIFAR-10 and CIFAR-100 under strict MCU constraints show that AutoMCU achieves competitive accuracy while reducing customization time to about 1--2 hours, compared with hundreds of GPU hours for representative MCU-oriented HW-NAS baselines. Comparisons with ColabNAS and the LLM-based NAS method GENIUS on NAS-Bench-201 further demonstrate the effectiveness and stability of AutoMCU. Real-device deployments on multiple STM32 microcontrollers validate its practical applicability to MCU-scale edge intelligence.

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

↑