arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1901.01965cs.NEcs.LG
收藏

一种有效的Winograd卷积算法

Efficient Winograd Convolution via Integer Arithmetic

Arm Inc.(安谋公司)

Lingchuan Meng, John Brothers

摘要:

卷积是许多深度神经网络的核心运算。Winograd卷积算法已被证明可以加速广泛使用的小卷积大小。量化的神经网络可以有效地减少模型大小并提高推理速度,这导致了各种各样的内核和硬件加速器可以处理整数数据。最先进的Winograd算法对整数内核和加速器的有效实现和执行提出了挑战。我们引入了一类新的Winograd算法,通过扩展建设领域的复杂性,并提出优化,减少一般乘法的数量。新算法的算法复杂度比直接法降低了$3.13$ x,效率比有理算法提高了$17.37\%$.此外,我们设计和实现了一个整数为基础的滤波器缩放方案,有效地减少滤波器的位宽$30.77\%$没有任何显着的精度损失。

英文摘要:

Convolution is the core operation for many deep neural networks. The Winograd convolution algorithms have been shown to accelerate the widely-used small convolution sizes. Quantized neural networks can effectively reduce model sizes and improve inference speed, which leads to a wide variety of kernels and hardware accelerators that work with integer data. The state-of-the-art Winograd algorithms pose challenges for efficient implementation and execution by the integer kernels and accelerators. We introduce a new class of Winograd algorithms by extending the construction to the field of complex and propose optimizations that reduce the number of general multiplications. The new algorithm achieves an arithmetic complexity reduction of $3.13$x over the direct method and an efficiency gain up to $17.37\%$ over the rational algorithms. Furthermore, we design and implement an integer-based filter scaling scheme to effectively reduce the filter bit width by $30.77\%$ without any significant accuracy loss.

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

↑