SpArSe: Sparse Architecture Search for CNNs on Resource-Constrained Microcontrollers
Authors:
Preprint
Abstract
The vast majority of processors in the world are actually microcontroller units (MCUs), which find widespread use performing simple control tasks in applications ranging from automobiles to medical devices and office equipment. The Internet of Things (IoT) promises to inject machine learning into many of these every-day objects via tiny, cheap MCUs. However, these resource-impoverished hardware platforms severely limit the complexity of machine learning models that can be deployed. For example, although convolutional neural networks (CNNs) achieve state-of-the-art results on many visual recognition tasks, CNN inference on MCUs is challenging due to severe finite memory limitations. To circumvent the memory challenge associated with CNNs, various alternatives have been proposed that do fit within the memory budget of an MCU, albeit at the cost of prediction accuracy. This paper challenges the idea that CNNs are not suitable for deployment on MCUs. We demonstrate that it is possible to automatically design CNNs which generalize well, while also being small enough to fit onto memory-limited MCUs. Our Sparse Architecture Search method combines neural architecture search with pruning in a single, unified approach, which learns superior models on four popular IoT datasets. The CNNs we find are more accurate and up to $4.35\times$ smaller than previous approaches, while meeting the strict MCU working memory constraint.
Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Single Path One-Shot Neural Architecture Search with Uniform Sampling2020
- Single-Path NAS: Designing Hardware-Efficient ConvNets in Less Than 4 Hours2020
- Dealing with categorical and integer-valued variables in Bayesian Optimization with Gaussian processesNeurocomputing, 2020
- MnasNet: Platform-Aware Neural Architecture Search for Mobile2019
- Internet of Things (IoT): A vision, architectural elements, and future directionsFuture Generation Computer Systems, 2013
- The Internet of Things: A surveyComputer Networks, 2010
- CHARACTER RECOGNITION IN NATURAL IMAGES2009
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998