Adaptive Deep Learning Model Selection on Embedded Systems

Taylor, Ben and Sanz Marco, Vicent and Wolff, Willy and Elkhatib, Yehia and Wang, Zheng (2018) Adaptive Deep Learning Model Selection on Embedded Systems. In: LCTES 2018 Proceedings of the 19th ACM SIGPLAN/SIGBED International Conference on Languages, Compilers, and Tools for Embedded Systems. ACM, New York, pp. 31-43. ISBN 9781450358033

[img]
Preview
PDF (lctes18-paper15)
lctes18_paper15.pdf - Accepted Version
Available under License Creative Commons Attribution.

Download (9MB)

Abstract

The recent ground-breaking advances in deep learning networks (DNNs) make them attractive for embedded systems. However, it can take a long time for DNNs to make an inference on resource-limited embedded devices. Offloading the computation into the cloud is often infeasible due to privacy concerns, high latency, or the lack of connectivity. As such, there is a critical need to find a way to effectively execute the DNN models locally on the devices. This paper presents an adaptive scheme to determine which DNN model to use for a given input, by considering the desired accuracy and inference time. Our approach employs machine learning to develop a predictive model to quickly select a pre-trained DNN to use for a given input and the optimization constraint. We achieve this by first training off-line a predictive model, and then use the learnt model to select a DNN model to use for new, unseen inputs. We apply our approach to the image classification task and evaluate it on a Jetson TX2 embedded deep learning platform using the ImageNet ILSVRC 2012 validation dataset. We consider a range of influential DNN models. Experimental results show that our approach achieves a 7.52% improvement in inference accuracy, and a 1.8x reduction in inference time over the most-capable, single DNN model.

Item Type:
Contribution in Book/Report/Proceedings
Additional Information:
© ACM, 2018. This is the author's version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in Proceedings of 19th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES’18). http://dx.doi.org/10.1145/3211332.3211336
ID Code:
124414
Deposited By:
Deposited On:
09 Apr 2018 09:32
Refereed?:
Yes
Published?:
Published
Last Modified:
29 Nov 2020 08:20