arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2001.02504cs.DCcs.PF
收藏

移动设备上的高性能依赖卷积和逐点卷积

High Performance Depthwise and Pointwise Convolutions on Mobile Devices

Pengfei Zhang, Eric Lo, Baotong Lu

摘要:

轻量级卷积神经网络(例如,MobileNets)专门设计用于直接在移动设备上进行推理。在各种轻量级模型中,逐点卷积(DWConv)和逐点卷积(PWConv)是它们的关键操作。在本文中,我们观察到现有的DWConv和PWConv的实现没有很好地利用ARM处理器在移动设备中,并表现出大量的缓存未命中下的多核和不良的数据重用寄存器级。我们提出的技术,重新优化的DWConv和PWConv的实现基于ARM架构。实验结果表明,我们的实现在DWConv和PWConv上相对于TVM(Chen et al. 2018)分别可以实现高达5.5倍和2.1倍的加速比。

英文摘要:

Lightweight convolutional neural networks (e.g., MobileNets) are specifically designed to carry out inference directly on mobile devices. Among the various lightweight models, depthwise convolution (DWConv) and pointwise convolution (PWConv) are their key operations. In this paper, we observe that the existing implementations of DWConv and PWConv are not well utilizing the ARM processors in the mobile devices, and exhibit lots of cache misses under multi-core and poor data reuse at register level. We propose techniques to re-optimize the implementations of DWConv and PWConv based on ARM architecture. Experimental results show that our implementation can respectively achieve a speedup of up to 5.5x and 2.1x against TVM (Chen et al. 2018) on DWConv and PWConv.

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

↑