Reproduce “MCUNetV2: Memory-Efficient Patch-based Inference for Tiny Deep Learning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ji Lin, Wei-Ming Chen, Han Cai, Chuang Gan, Song Han

MCUNetV2, a system for tiny deep learning on microcontrollers, employs patch-based inference and receptive field redistribution to optimize activation memory usage, facilitating larger input resolutions for complex vision tasks. This approach enables 4.6% higher ImageNet Top-1 accuracy and 16.9% higher Pascal VOC mAP on MCUs compared to prior methods.

Key insights

  • Efficient CNN architectures exhibit an "imbalanced memory distribution" where initial layers consume significantly more activation memory, driving the overall peak memory requirement.
  • Patch-based inference can drastically reduce peak memory by processing inputs in smaller chunks, but necessitates careful management of receptive fields to avoid redundant computation.
  • Jointly optimizing neural architectures and their inference schedules through automated search is crucial for unlocking the full potential of memory-efficient execution on MCUs.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.