arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.06970cs.LGcs.NIcs.PFcs.SYeess.SYstat.ML

FastDeepIoT: 向理解和优化移动和嵌入式设备上神经网络执行时间迈进

FastDeepIoT: Towards Understanding and Optimizing Neural Network Execution Time on Mobile and Embedded Devices

University of Illinois Urbana Champaign(伊利诺伊大学厄巴纳-香槟分校);State University of New York at Buffalo(纽约州立大学布法罗分校)

Shuochao Yao, Yiran Zhao, Huajie Shao, Shengzhong Liu, Dongxin Liu, Lu Su, Tarek Abdelzaher

AI总结:

本文提出FastDeepIoT框架,通过揭示神经网络结构与执行时间之间的非线性关系,优化移动和嵌入式设备上执行时间与准确性的权衡,同时无需预先了解硬件规格或深度学习库的实现细节。

摘要:

深度神经网络在许多传感应用问题中展现出巨大潜力,但其过度的资源需求会减慢执行时间,成为在低端设备上部署的重大障碍。为了解决这一挑战,最近的研究集中在压缩神经网络大小以提高性能。我们表明,改变神经网络大小并不成比例地影响感兴趣的性能属性,例如执行时间。相反,在网络配置空间中存在极端的运行时间非线性性。因此,我们提出了一个名为FastDeepIoT的新型框架,该框架揭示了神经网络结构与执行时间之间的非线性关系,然后利用这种理解来找到显著改善移动和嵌入式设备上执行时间与准确性权衡的网络配置。FastDeepIoT有两个关键贡献。首先,FastDeepIoT自动学习了一个准确且高度可解释的深度神经网络在目标设备上的执行时间模型。这无需事先了解硬件规格或所用深度学习库的详细实现。其次,FastDeepIoT告知压缩算法如何在经过分析的设备上最小化执行时间而不影响准确性。我们使用三种不同的传感相关任务在两部移动设备(Nexus 5和Galaxy Nexus)上评估了FastDeepIoT。FastDeepIoT进一步将神经网络的执行时间减少了48%到78%,并将能耗降低了37%到69%,与最先进的压缩算法相比。

英文摘要:

Deep neural networks show great potential as solutions to many sensing application problems, but their excessive resource demand slows down execution time, pausing a serious impediment to deployment on low-end devices. To address this challenge, recent literature focused on compressing neural network size to improve performance. We show that changing neural network size does not proportionally affect performance attributes of interest, such as execution time. Rather, extreme run-time nonlinearities exist over the network configuration space. Hence, we propose a novel framework, called FastDeepIoT, that uncovers the non-linear relation between neural network structure and execution time, then exploits that understanding to find network configurations that significantly improve the trade-off between execution time and accuracy on mobile and embedded devices. FastDeepIoT makes two key contributions. First, FastDeepIoT automatically learns an accurate and highly interpretable execution time model for deep neural networks on the target device. This is done without prior knowledge of either the hardware specifications or the detailed implementation of the used deep learning library. Second, FastDeepIoT informs a compression algorithm how to minimize execution time on the profiled device without impacting accuracy. We evaluate FastDeepIoT using three different sensing-related tasks on two mobile devices: Nexus 5 and Galaxy Nexus. FastDeepIoT further reduces the neural network execution time by $48\%$ to $78\%$ and energy consumption by $37\%$ to $69\%$ compared with the state-of-the-art compression algorithms.

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

↑