Differentiable Neural Network Pruning to Enable Smart Applications on Microcontrollers

Author:

Liberis Edgar1ORCID,Lane Nicholas D.1ORCID

Affiliation:

1. University of Cambridge, Cambridge, UK and Samsung AI Centre Cambridge, Cambridge, UK

Abstract

Wearable, embedded, and IoT devices are a centrepiece of many ubiquitous computing applications, such as fitness tracking, health monitoring, home security and voice assistants. By gathering user data through a variety of sensors and leveraging machine learning (ML), applications can adapt their behaviour: in other words, devices become "smart". Such devices are typically powered by microcontroller units (MCUs). As MCUs continue to improve, smart devices become capable of performing a non-trivial amount of sensing and data processing, including machine learning inference, which results in a greater degree of user data privacy and autonomy, compared to offloading the execution of ML models to another device. Advanced predictive capabilities across many tasks make neural networks an attractive ML model for ubiquitous computing applications; however, on-device inference on MCUs remains extremely challenging. Orders of magnitude less storage, memory and computational ability, compared to what is typically required to execute neural networks, impose strict structural constraints on the network architecture and call for specialist model compression methodology. In this work, we present a differentiable structured pruning method for convolutional neural networks, which integrates a model's MCU-specific resource usage and parameter importance feedback to obtain highly compressed yet accurate models. Compared to related network pruning work, compressed models are more accurate due to better use of MCU resource budget, and compared to MCU specialist work, compressed models are produced faster. The user only needs to specify the amount of available computational resources and the pruning algorithm will automatically compress the network during training to satisfy them. We evaluate our methodology using benchmark image and audio classification tasks and find that it (a) improves key resource usage of neural networks up to 80x; (b) has little to no overhead or even improves model training time; (c) produces compressed models with matching or improved resource usage up to 1.4x in less time compared to prior MCU-specific model compression methods.

Funder

Engineering and Physical Sciences Research Council

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Networks and Communications,Hardware and Architecture,Human-Computer Interaction

Reference61 articles.

1. Attend and Discriminate

2. Mario Almeida , Stefanos Laskaridis , Stylianos I Venieris , Ilias Leontiadis , and Nicholas D Lane . 2021. DynO: Dynamic Onloading of Deep Neural Networks from Cloud to Device. arXiv preprint arXiv:2104.09949 ( 2021 ). Mario Almeida, Stefanos Laskaridis, Stylianos I Venieris, Ilias Leontiadis, and Nicholas D Lane. 2021. DynO: Dynamic Onloading of Deep Neural Networks from Cloud to Device. arXiv preprint arXiv:2104.09949 (2021).

3. Amazon. 2022. Echo Dot , gen. 4. Retrieved February 1, 2022 from https://www.amazon.co.uk/all-new-echo-dot-4th-generation-smart-speaker-with-alexa-charcoal/dp/B084DWCZXZ Amazon. 2022. Echo Dot, gen. 4. Retrieved February 1, 2022 from https://www.amazon.co.uk/all-new-echo-dot-4th-generation-smart-speaker-with-alexa-charcoal/dp/B084DWCZXZ

4. Sajid Anwar , Kyuyeon Hwang , and Wonyong Sung . 2015. Structured Pruning of Deep Convolutional Neural Networks. CoRR abs/1512.08571 ( 2015 ). arXiv preprint arXiv:1512.08571 (2015). Sajid Anwar, Kyuyeon Hwang, and Wonyong Sung. 2015. Structured Pruning of Deep Convolutional Neural Networks. CoRR abs/1512.08571 (2015). arXiv preprint arXiv:1512.08571 (2015).

5. ARM mbed. 2022. NUCLEO-F446RE. Retrieved February 1 2022 from https://os.mbed.com/platforms/ST-Nucleo-F446RE/ ARM mbed. 2022. NUCLEO-F446RE. Retrieved February 1 2022 from https://os.mbed.com/platforms/ST-Nucleo-F446RE/

Cited by 9 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3