arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.02525cs.AR
收藏

动态DNN满足移动和嵌入式平台上的可扩展资源管理要求

Dynamic DNNs Meet Runtime Resource Management on Mobile and Embedded Platforms

Lei Xun, Bashir M. Al-Hashimi, Jonathon Hare, Geoff V. Merrett

摘要:

深度神经网络(DNN)推理越来越多地在移动和嵌入式平台上执行,这是由于低延迟和更好的隐私性。然而,由于密集的计算和内存访问,在这些平台上的高效部署是具有挑战性的。我们提出了DNN性能和能量优化的整体系统设计,结合了算法和硬件的权衡机会。该系统可以被看作是三个抽象层:设备层包含异构计算资源;应用层具有多个并发工作负载;运行时资源管理层监视动态变化的算法性能目标以及硬件资源和约束,并试图通过同时调整算法和硬件来满足它们。此外,我们说明了运行时的方法,通过一个动态版本的“一次为所有的网络”(即动态OFA),它可以扩展的ConvNet架构,以适应异构计算资源的有效性和不同的模型架构,如Transformer具有良好的通用性。与最先进的动态DNN相比,我们在Jetson Xavier NX上使用ImageNet的实验结果表明,对于类似的ImageNet Top-1准确度,Dynamic-OFA的速度快达3.5倍(CPU),2.4倍(GPU),或者在类似的延迟下,准确度高出3.8%(CPU),5.1%(GPU)。此外,与Linux总督(例如性能,schedutil)相比,我们的运行时方法在类似的延迟下降低了16.5%的能耗。

英文摘要:

Deep neural network (DNN) inference is increasingly being executed on mobile and embedded platforms due to low latency and better privacy. However, efficient deployment on these platforms is challenging due to the intensive computation and memory access. We propose a holistic system design for DNN performance and energy optimisation, combining the trade-off opportunities in both algorithms and hardware. The system can be viewed as three abstract layers: the device layer contains heterogeneous computing resources; the application layer has multiple concurrent workloads; and the runtime resource management layer monitors the dynamically changing algorithms' performance targets as well as hardware resources and constraints, and tries to meet them by tuning the algorithm and hardware at the same time. Moreover, We illustrate the runtime approach through a dynamic version of 'once-for-all network' (namely Dynamic-OFA), which can scale the ConvNet architecture to fit heterogeneous computing resources efficiently and has good generalisation for different model architectures such as Transformer. Compared to the state-of-the-art Dynamic DNNs, our experimental results using ImageNet on a Jetson Xavier NX show that the Dynamic-OFA is up to 3.5x (CPU), 2.4x (GPU) faster for similar ImageNet Top-1 accuracy, or 3.8% (CPU), 5.1% (GPU) higher accuracy at similar latency. Furthermore, compared with Linux governor (e.g. performance, schedutil), our runtime approach reduces the energy consumption by 16.5% at similar latency.

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

↑