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

形式服从功能吗?深度神经网络架构设计对硬件特定加速影响的实证探索

Does Form Follow Function? An Empirical Exploration of the Impact of Deep Neural Network Architecture Design on Hardware-Specific Acceleration

University of Waterloo(滑铁卢大学);DarwinAI(达尔文人工智能公司);Intel Corporation(英特尔公司)

Saad Abbasi, Mohammad Javad Shafiee, Ellick Chan, Alexander Wong

摘要:

关于深度神经网络架构设计和硬件特定加速的形式和功能之间的细粒度关系是研究文献中没有很好研究的一个领域,形式通常由准确性决定,而不是硬件功能。在这项研究中,进行了全面的实证探索,以调查深度神经网络架构设计对推理加速程度的影响,可以通过硬件特定的加速实现。更具体地说,我们通过OpenVINO微处理器特定和GPU特定加速的镜头,实证研究了各种常用的宏观架构设计模式对不同架构深度的影响。实验结果表明,虽然利用硬件特定的加速实现了380%的平均推理加速,但推理加速的程度根据宏架构设计模式的不同而变化很大,在依赖瓶颈卷积设计模式上实现了550%的最大加速。此外,我们进行了深入的探索FLOPs的要求,3级缓存的效率,网络延迟与增加架构的深度和宽度之间的相关性。最后,我们分析了使用硬件特定的加速与各种手工深度卷积神经网络架构设计以及通过神经架构搜索策略发现的本地深度学习框架相比时的推理时间减少。我们发现,DARTS衍生的架构受益于硬件特定软件加速的最大改进(1200%),而基于卷积的MobileNet-V2则具有最低的整体推理时间,约为2.4 ms。

英文摘要:

The fine-grained relationship between form and function with respect to deep neural network architecture design and hardware-specific acceleration is one area that is not well studied in the research literature, with form often dictated by accuracy as opposed to hardware function. In this study, a comprehensive empirical exploration is conducted to investigate the impact of deep neural network architecture design on the degree of inference speedup that can be achieved via hardware-specific acceleration. More specifically, we empirically study the impact of a variety of commonly used macro-architecture design patterns across different architectural depths through the lens of OpenVINO microprocessor-specific and GPU-specific acceleration. Experimental results showed that while leveraging hardware-specific acceleration achieved an average inference speed-up of 380%, the degree of inference speed-up varied drastically depending on the macro-architecture design pattern, with the greatest speedup achieved on the depthwise bottleneck convolution design pattern at 550%. Furthermore, we conduct an in-depth exploration of the correlation between FLOPs requirement, level 3 cache efficacy, and network latency with increasing architectural depth and width. Finally, we analyze the inference time reductions using hardware-specific acceleration when compared to native deep learning frameworks across a wide variety of hand-crafted deep convolutional neural network architecture designs as well as ones found via neural architecture search strategies. We found that the DARTS-derived architecture to benefit from the greatest improvement from hardware-specific software acceleration (1200%) while the depthwise bottleneck convolution-based MobileNet-V2 to have the lowest overall inference time of around 2.4 ms.

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

↑