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

· Source: cs.LG updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Internet of Things (IoT) & Connected Devices, Emerging Technologies & Innovation · Depth: Expert, extended

Summary

AutoMCU is a novel feasibility-first large language model (LLM)-based multi-agent system designed for automated neural network customization on microcontroller units (MCUs). It addresses the challenge of deploying NNs on resource-constrained MCUs by iteratively generating architecture candidates, filtering infeasible designs via vendor toolchain feedback before training, and verifying deployability through backend-grounded analysis. The system incorporates hardware-in-the-loop architecture generation for early elimination of undeployable candidates under RAM and Flash constraints, and state-isolated multi-agent scheduling for stable coordination. Experiments on CIFAR-10 and CIFAR-100 under strict MCU constraints (e.g., RAM≤256KB, Flash≤512KB) demonstrate AutoMCU achieves competitive accuracy while reducing customization time to 1–2 hours, a significant improvement over hundreds of GPU hours for traditional MCU-oriented HW-NAS baselines like µNAS. Real-device deployments on STM32F407VET6 and STM32H723ZGT6 microcontrollers validate its practical applicability and adaptability. The system uses DeepSeek-V3.2 as its core LLM backend.

Key takeaway

For Machine Learning Engineers deploying neural networks on microcontrollers, AutoMCU offers a significantly faster and more reliable customization workflow. You can reduce model development time from hundreds of GPU hours to just 1–2 hours by leveraging its feasibility-first design. This approach ensures your models are not only accurate but also genuinely deployable on target MCUs, avoiding wasted effort on incompatible architectures. Consider integrating such a system to streamline your TinyML projects.

Key insights

AutoMCU automates MCU neural network customization by prioritizing backend-verified deployability before training.

Principles

Method

AutoMCU uses an LLM-based multi-agent system to propose, screen via vendor toolchains, train, and evaluate NN architectures in a closed loop, guided by historical feedback.

In practice

Topics

Code references

Best for: AI Engineer, Computer Vision Engineer, Research Scientist, AI Scientist, Machine Learning Engineer, AI Hardware Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.LG updates on arXiv.org.