Marco, VS, Taylor, B, Wang, Z orcid.org/0000-0001-6157-0662 et al. (1 more author) (2020) Optimizing Deep Learning Inference on Embedded Systems Through Adaptive Model Selection. ACM Transactions on Embedded Computing Systems, 19 (1). 2. ISSN 1539-9087
Abstract
Deep neural networks (DNNs) are becoming a key enabling technique for many application domains. However, on-device inference on battery-powered, resource-constrained embedding systems is often infeasible due to prohibitively long inferencing time and resource requirements of many DNNs. Offloading computation into the cloud is often unacceptable due to privacy concerns, high latency, or the lack of connectivity. Although compression algorithms often succeed in reducing inferencing times, they come at the cost of reduced accuracy.
This article presents a new, alternative approach to enable efficient execution of DNNs on embedded devices. Our approach dynamically determines which DNN to use for a given input by considering the desired accuracy and inference time. It employs machine learning to develop a low-cost predictive model to quickly select a pre-trained DNN to use for a given input and the optimization constraint. We achieve this first by offline training a predictive model and then using the learned model to select a DNN model to use for new, unseen inputs. We apply our approach to two representative DNN domains: image classification and machine translation. We evaluate our approach on a Jetson TX2 embedded deep learning platform and consider a range of influential DNN models including convolutional and recurrent neural networks. For image classification, we achieve a 1.8x reduction in inference time with a 7.52% improvement in accuracy over the most capable single DNN model. For machine translation, we achieve a 1.34x reduction in inference time over the most capable single model with little impact on the quality of translation.
Metadata
Item Type: | Article |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © 2020 Copyright held by the owner/author(s). Publication rights licensed to ACM. This is an author produced version of a journal article published in ACM Transactions on Embedded Computing Systems. Uploaded in accordance with the publisher's self-archiving policy. |
Dates: |
|
Institution: | The University of Leeds |
Academic Units: | The University of Leeds > Faculty of Engineering & Physical Sciences (Leeds) > School of Computing (Leeds) |
Depositing User: | Symplectic Publications |
Date Deposited: | 11 Nov 2019 12:23 |
Last Modified: | 14 Feb 2020 02:55 |
Status: | Published |
Publisher: | ACM |
Identification Number: | 10.1145/3371154 |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:153294 |