MCU-MixQ: A HW/SW Co-optimized Mixed-precision Neural Network Design Framework for MCUs
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);North China Electric Power University(华北电力大学)
Junfeng Gong, Cheng Liu, Long Cheng, Huawei Li, Xiaowei Li
Mixed-precision neural network (MPNN) that utilizes just enough data width for the neural network processing is an effective approach to meet the stringent resources constraints including memory and computing of MCUs. Nevertheless, there is still a lack of sub-byte and mixed-precision SIMD operations in MCU-class ISA and the limited computing capability of MCUs remains underutilized, which further aggravates the computing bound encountered in neural network processing. As a result, the benefits of MPNNs cannot be fully unleashed. In this work, we propose to pack multiple low-bitwidth arithmetic operations within a single instruction multiple data (SIMD) instructions in typical MCUs, and then develop an efficient convolution operator by exploring both the data parallelism and computing parallelism in convolution along with the proposed SIMD packing. Finally, we further leverage Neural Architecture Search (NAS) to build a HW/SW co-designed MPNN design framework, namely MCU-MixQ. This framework can optimize both the MPNN quantization and MPNN implementation efficiency, striking an optimized balance between neural network performance and accuracy. According to our experiment results, MCU-MixQ achieves 2.1$\times$ and 1.4$\times$ speedup over CMix-NN and MCUNet respectively under the same resource constraints.
MCUBERT: Memory-Efficient BERT Inference on Commodity Microcontrollers
Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);School of Integrated Circuits, Peking University(北京大学集成电路学院);School of Computer Science, Peking University(北京大学计算机学院);The University of Hong Kong(香港大学);Institute of Electronic Design Automation, Peking University(北京大学电子设计自动化研究所);Beijing Advanced Innovation Center for Integrated Circuits(北京集成电路高精尖创新中心)
MicroNets: Neural Network Architectures for Deploying TinyML Applications on Commodity Microcontrollers
Arm ML Research(Arm机器学习研究院);Harvard University(哈佛大学);SambaNova Systems
在资源受限的微控制器(MCU)上本地执行机器学习工作负载有望大幅扩展物联网的应用空间。然而,所谓的TinyML提出了严峻的技术挑战,因为深度神经网络推理需要大量的计算和内存预算。为了应对这一挑战,神经架构搜索(NAS)有望帮助设计出精确的ML模型,以满足MCU内存、延迟和能量的严格限制。NAS算法的一个关键组成部分是它们的延迟/能量模型,即,从给定的神经网络架构到其在MCU上的推理延迟/能量的映射。在本文中,我们观察到一个有趣的性质NAS搜索空间的MCU模型设计:平均而言,模型延迟与模型操作(op)计数线性变化下,一个统一的先验模型在搜索空间。利用这一洞察力,我们采用可区分NAS(DNAS)来搜索具有低内存使用和低操作数的模型,其中操作数被视为延迟的可行代理。实验结果验证了我们的方法,产生了我们的MicroNet模型,我们使用Tensorflow Lite Micro(TinyML社区中广泛使用的标准开源NN推理运行时)将其部署在MCU上。MicroNets展示了所有三个TinyMLperf行业标准基准任务的最新结果:视觉唤醒词,音频关键字定位和异常检测。模型和培训脚本可以在github.com/ARM-software/ML-zoo上找到。
vMCU: Coordinated Memory Management and Kernel Optimization for DNN Inference on MCUs
School of Computer Science, Peking University(北京大学计算机学院);School of Computer Science & Engineering, University of Washington(华盛顿大学计算机科学与工程学院);OctoAI(OctoAI公司)
Sub-mW Keyword Spotting on an MCU: Analog Binary Feature Extraction and Binary Neural Networks
ICT-irst Fondazione Bruno Kessler(布鲁诺·凯斯勒基金会信息与通信技术研究所);Huawei Technologies, Computing Systems Laboratory, Zurich Research Center(华为技术有限公司苏黎世研究中心计算系统实验室);University of Bologna(博洛尼亚大学)
Investigating Target Class Influence on Neural Network Compressibility for Energy-Autonomous Avian Monitoring
Fraunhofer Institute for Integrated Circuits IIS(弗劳恩霍夫整合电路研究所);Fachhochschule Erfurt(埃弗特应用技术大学);Universität Erfurt(埃弗特大学);Friedrich-Alexander-Universität Erlangen-Nürnberg (FAU)(埃尔朗根-纽伦堡弗赖堡-亚历山大大学);Center for Artificial Intelligence and Robotics (CAIRO)(人工智能与机器人中心);Technische Hochschule Würzburg-Schweinfurt(韦尔茨堡-施维茨技术大学)
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(计算机科学与工程学院,东北大学)
TinyFormer: Efficient Transformer Design and Deployment on Tiny Devices
School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);Qingdao Research Institute, Beihang University(北京航空航天大学青岛研究所);Department of Computer Science and Engineering, The Chinese University of Hong Kong(香港中文大学(深圳)计算机科学与工程系);Fert Beijing Research Institute, School of Integrated Circuit Science and Engineering, Beihang University(北京航空航天大学集成电路科学与工程学院)