arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1805.04252cs.PFcs.CVcs.LG
收藏

嵌入式系统中深度学习模型的自适应选择

Adaptive Selection of Deep Learning Models on Embedded Systems

Lancaster University(兰卡斯特大学)

Ben Taylor, Vicent Sanz Marco, Willy Wolff, Yehia Elkhatib, Zheng Wang

摘要:

深度学习网络(DNN)最近取得的突破性进展使其对嵌入式系统具有吸引力。然而,DNN可能需要很长时间才能对资源有限的嵌入式设备进行推断。由于隐私问题、高延迟或缺乏连接,将计算卸载到云中通常是不可行的。因此,迫切需要找到一种方法来有效地在设备上本地执行DNN模型。本文提出了一种自适应方案,通过考虑所需的精度和推理时间来确定对给定输入使用哪种DNN模型。我们的方法采用机器学习来开发预测模型,以快速选择用于给定输入和优化约束的预训练DNN。我们首先离线训练一个预测模型,然后使用学习的模型来选择一个DNN模型,用于新的、看不见的输入。我们将我们的方法应用于图像分类任务,并使用ImageNet ILSVRC 2012验证数据集在Jetson TX2嵌入式深度学习平台上对其进行评估。我们考虑了一系列有影响力的DNN模型。实验结果表明,我们的方法实现了7.52%的推理精度的提高,并在推理时间减少了1.8倍,比最有能力的单一DNN模型。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑