MCUFormer: Deploying Vision Transformers on Microcontrollers with Limited Memory
Yinan Liang, Ziwei Wang, Xiuwei Xu, Yansong Tang, Jie Zhou, Jiwen Lu

TL;DR
MCUFormer introduces a co-optimized approach combining architecture search and memory-efficient inference techniques to deploy vision transformers on microcontrollers with extremely limited memory, achieving high accuracy on ImageNet.
Contribution
It presents a novel hardware-algorithm co-optimization framework for deploying vision transformers on microcontrollers with minimal memory, including architecture search and memory scheduling strategies.
Findings
Achieves 73.62% top-1 accuracy on ImageNet with 320KB memory.
Demonstrates effective deployment of vision transformers on microcontrollers.
Provides open-source code for reproducibility.
Abstract
Due to the high price and heavy energy consumption of GPUs, deploying deep models on IoT devices such as microcontrollers makes significant contributions for ecological AI. Conventional methods successfully enable convolutional neural network inference of high resolution images on microcontrollers, while the framework for vision transformers that achieve the state-of-the-art performance in many vision applications still remains unexplored. In this paper, we propose a hardware-algorithm co-optimizations method called MCUFormer to deploy vision transformers on microcontrollers with extremely limited memory, where we jointly design transformer architecture and construct the inference operator library to fit the memory resource constraint. More specifically, we generalize the one-shot network architecture search (NAS) to discover the optimal architecture with highest task performance given…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCCD and CMOS Imaging Sensors · Advanced Neural Network Applications · Advanced Memory and Neural Computing
MethodsLib
