MicroNets: Neural Network Architectures for Deploying TinyML Applications on Commodity Microcontrollers

Colby Banbury, Chuteng Zhou, Igor Fedorov, Ramon Matas Navarro, Urmish Thakker +4 more
10/21/2020
cs.LG

Official code: Arm-Examples/ML-zoo (264 stars, Python, Apache-2.0, last commit 2023-03-31).

Abstract

Executing machine learning workloads locally on resource constrained microcontrollers (MCUs) promises to drastically expand the application space of IoT. However, so-called TinyML presents severe technical challenges, as deep neural network inference demands a large compute and memory budget.

Show full abstract

To address this challenge, neural architecture search (NAS) promises to help design accurate ML models that meet the tight MCU memory, latency and energy constraints. A key component of NAS algorithms is their latency/energy model, i.e., the mapping from a given neural network architecture to its inference latency/energy on an MCU. In this paper, we observe an intriguing property of NAS search spaces for MCU model design: on average, model latency varies linearly with model operation (op) count under a uniform prior over models in the search space. Exploiting this insight, we employ differentiable NAS (DNAS) to search for models with low memory usage and low op count, where op count is treated as a viable proxy to latency. Experimental results validate our methodology, yielding our MicroNet models, which we deploy on MCUs using Tensorflow Lite Micro, a standard open-source NN inference runtime widely used in the TinyML community. MicroNets demonstrate state-of-the-art results for all three TinyMLperf industry-standard benchmark tasks: visual wake words, audio keyword spotting, and anomaly detection. Models and training scripts can be found at github.com/ARM-software/ML-zoo.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
26464Python, Jupyter NotebookOct 14, 20203 years agoApache-2.0

Similar Papers

Cite this paper

@article{banbury2020micronets,
  title  = {MicroNets: Neural Network Architectures for Deploying TinyML Applications on Commodity Microcontrollers},
  author = {Colby Banbury and Chuteng Zhou and Igor Fedorov and Ramon Matas Navarro and Urmish Thakker and Dibakar Gope and Vijay Janapa Reddi and Matthew Mattina and Paul N. Whatmough},
  year   = {2020},
  eprint = {2010.11267},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.11267}
}

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.11267.svg)](https://codeofpaper.com/paper/2010.11267)

Discussion