μNAS: Constrained Neural Architecture Search for Microcontrollers

Edgar Liberis, Łukasz Dudziak, Nicholas D. Lane
10/27/2020
144 citations
cs.LGcs.AR

Official code: ew1057/uNAS (84 stars, Python, last commit 2021-01-26).

Abstract

IoT devices are powered by microcontroller units (MCUs) which are extremely resource-scarce: a typical MCU may have an underpowered processor and around 64 KB of memory and persistent storage, which is orders of magnitude fewer computational resources than is typically required for deep learning. Designing neural networks for such a platform requires an intricate balance between keeping high predictive performance (accuracy) while achieving low memory and storage usage and inference latency.

Show full abstract

This is extremely challenging to achieve manually, so in this work, we build a neural architecture search (NAS) system, called $μ$NAS, to automate the design of such small-yet-powerful MCU-level networks. $μ$NAS explicitly targets the three primary aspects of resource scarcity of MCUs: the size of RAM, persistent storage and processor speed. $μ$NAS represents a significant advance in resource-efficient models, especially for "mid-tier" MCUs with memory requirements ranging from 0.5 KB to 64 KB. We show that on a variety of image classification datasets $μ$NAS is able to (a) improve top-1 classification accuracy by up to 4.8%, or (b) reduce memory footprint by 4--13x, or (c) reduce the number of multiply-accumulate operations by at least 2x, compared to existing MCU specialist literature and resource-efficient models.

View on arXivView PDF

Code Implementations(1)

ew1057/uNASOfficial100%

μNAS is a neural architecture search (NAS) system that designs small-yet-powerful microcontroller-compatible neural networks.

8417Python, MakefileMar 19, 20205 years ago

Similar Papers

Cite this paper

@article{liberis2020nas,
  title  = {μNAS: Constrained Neural Architecture Search for Microcontrollers},
  author = {Edgar Liberis and Łukasz Dudziak and Nicholas D. Lane},
  year   = {2020},
  eprint = {2010.14246},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.14246}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.14246.svg)](https://codeofpaper.com/paper/2010.14246)

Discussion