mlsanityData to 14 Oct 2026

MCUFormer: Deploying Vision Transformers on Microcontrollers with Limited Memory

arXiv 2310.16898 ↗First posted 25 Oct 2023cs.CVcited by 9

Not on the map. Why?

Abstract (arXiv)

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 the memory budget from the microcontrollers, where we enlarge the existing search space of vision transformers by considering the low-rank decomposition dimensions and patch resolution for memory reduction. For the construction of the inference operator library of vision transformers, we schedule the memory buffer during inference through operator integration, patch embedding decomposition, and token overwriting, allowing the memory buffer to be fully utilized to adapt to the forward pass of the vision transformer. Experimental results demonstrate that our MCUFormer achieves 73.62% top-1 accuracy on ImageNet for image classification with 320KB memory on STM32F746 microcontroller. Code is available at https://github.com/liangyn22/MCUFormer.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 35 of its 45 references that are in the map. First posted on arXiv 25 Oct 2023.

Builds on

35 of 45 references.

References · 35

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  4. 2020End-to-End Object Detection with Transformerscited by 7,414
  5. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  7. 2018DARTS: Differentiable Architecture Searchcited by 1,798
  8. 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
  9. 2021Multiscale Vision Transformerscited by 897
  10. 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
  11. 2018ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardwarecited by 673
  12. 2020End-to-End Video Instance Segmentation with Transformerscited by 443
23 more
  1. 2022LM-Nav: Robotic Navigation with Large Pre-Trained Models of Language, Vision, and Actioncited by 439
  2. 2023Tri-Perspective View for Vision-Based 3D Semantic Occupancy Predictioncited by 409
  3. 2021Multi-Modal Fusion Transformer for End-to-End Autonomous Drivingcited by 377
  4. 2023SurroundOcc: Multi-Camera 3D Occupancy Prediction for Autonomous Drivingcited by 316
  5. 2021Post-Training Quantization for Vision Transformercited by 278
  6. 2020MCUNet: Tiny Deep Learning on IoT Devicescited by 273
  7. 2019PC-DARTS: Partial Channel Connections for Memory-Efficient Architecture Searchcited by 265
  8. 2021I-BERT: Integer-only BERT Quantizationcited by 255
  9. 2021AutoFormer: Searching Transformers for Visual Recognitioncited by 188
  10. 2021Vision-Only Robot Navigation in a Neural Radiance Worldcited by 155
  11. 2018CMSIS-NN: Efficient Neural Network Kernels for Arm Cortex-M CPUscited by 121
  12. 2021MCUNetV2: Memory-Efficient Patch-based Inference for Tiny Deep Learningcited by 89
  13. 2023Embodied Task Planning with Large Language Modelscited by 84
  14. 2021SeaDronesSee: A Maritime Benchmark for Detecting Humans in Open Watercited by 61
  15. 2021GLiT: Neural Architecture Search for Global and Local Image Transformercited by 53
  16. 2021GANav: Efficient Terrain Segmentation for Robot Navigation in Unstructured Outdoor Environmentscited by 51
  17. 2021VTNet: Visual Transformer Network for Object Goal Navigationcited by 51
  18. 2021Searching the Search Space of Vision Transformercited by 41
  19. 2022Shapley-NAS: Discovering Operation Contribution for Neural Architecture Searchcited by 23
  20. 2020RNNPool: Efficient Non-linear Pooling for RAM Constrained Inferencecited by 21
  21. 2021PSViT: Better Vision Transformer via Token Pooling and Attention Sharingcited by 21
  22. 2022SemAffiNet: Semantic-Affine Transformation for Point Cloud Segmentationcited by 11
  23. 2023Anyview: Generalizable Indoor 3D Object Detection with Variable Framescited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 4; 2025: 2; 2026: 2.

9 papers.