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

动态OFA:异构嵌入式平台上性能扩展的并行DNN架构切换

Dynamic-OFA: Runtime DNN Architecture Switching for Performance Scaling on Heterogeneous Embedded Platforms

University of Southampton(南安普顿大学)

Wei Lou, Lei Xun, Amin Sabet, Jia Bi, Jonathon Hare, Geoff V. Merrett

摘要:

移动和嵌入式平台越来越需要跨异构处理元件高效地执行计算要求苛刻的DNN。在运行时,由于其他并发运行的应用程序,DNN的可用硬件资源可能会有很大变化。应用程序的性能要求也可能在不同的场景下发生变化。为了实现期望的性能,已经提出了动态DNN,其中信道/层的数量可以实时的缩放,以在变化的资源约束下满足不同的要求。然而,这种动态DNN的训练过程可能是昂贵的,因为不同部署场景的平台感知模型必须重新训练才能变得动态。本文提出了Dynamic-OFA,这是一种新的动态DNN方法,用于最先进的平台感知NAS模型(即一次性网络(OFA))。动态OFA从静态OFA骨干模型中预先抽取一系列子网络,并包含一个运行时管理器来选择不同运行时环境下的不同子网络。因此,动态OFA不需要传统的动态DNN训练管道。与现有技术相比,我们在Jetson Xavier NX上使用ImageNet的实验结果表明,对于类似的ImageNet Top-1精度,该方法的速度快达3.5倍(CPU),2.4倍(GPU),或者在类似的延迟下,精度高出3.8%(CPU),5.1%(GPU)。

英文摘要:

Mobile and embedded platforms are increasingly required to efficiently execute computationally demanding DNNs across heterogeneous processing elements. At runtime, the available hardware resources to DNNs can vary considerably due to other concurrently running applications. The performance requirements of the applications could also change under different scenarios. To achieve the desired performance, dynamic DNNs have been proposed in which the number of channels/layers can be scaled in real time to meet different requirements under varying resource constraints. However, the training process of such dynamic DNNs can be costly, since platform-aware models of different deployment scenarios must be retrained to become dynamic. This paper proposes Dynamic-OFA, a novel dynamic DNN approach for state-of-the-art platform-aware NAS models (i.e. Once-for-all network (OFA)). Dynamic-OFA pre-samples a family of sub-networks from a static OFA backbone model, and contains a runtime manager to choose different sub-networks under different runtime environments. As such, Dynamic-OFA does not need the traditional dynamic DNN training pipeline. Compared to the state-of-the-art, our experimental results using ImageNet on a Jetson Xavier NX show that the approach 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.

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

↑