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

通过原生剪枝实现稀疏Winograd卷积

Enabling Sparse Winograd Convolution by Native Pruning

Google(谷歌);Facebook(脸书);Intel Labs(英特尔研究院)

Sheng Li, Jongsoo Park, Ping Tak Peter Tang

摘要:

稀疏方法和Winograd卷积的使用是两种正交方法,每种方法都可以显著加速现代CNN中的卷积计算。Sparse Winograd融合了这两者,因此有可能提供综合的性能优势。然而,训练卷积层,使产生的Winograd内核是稀疏的,迄今为止还不是很成功。通过引入Winograd层代替标准卷积层,我们可以“原生”学习和修剪Winograd系数,并在ImageNet数据集上使用AlexNet获得超过90%的稀疏度,而准确率损失仅为0.1%。此外,我们提出了一个稀疏Winograd卷积算法和实现,利用稀疏性,在最新的Intel Xeon CPU上以32位精度实现高达31.7有效TFLOP/s,这相当于最先进的密集卷积实现的5.4倍加速。

英文摘要:

Sparse methods and the use of Winograd convolutions are two orthogonal approaches, each of which significantly accelerates convolution computations in modern CNNs. Sparse Winograd merges these two and thus has the potential to offer a combined performance benefit. Nevertheless, training convolution layers so that the resulting Winograd kernels are sparse has not hitherto been very successful. By introducing a Winograd layer in place of a standard convolution layer, we can learn and prune Winograd coefficients "natively" and obtain sparsity level beyond 90% with only 0.1% accuracy loss with AlexNet on ImageNet dataset. Furthermore, we present a sparse Winograd convolution algorithm and implementation that exploits the sparsity, achieving up to 31.7 effective TFLOP/s in 32-bit precision on a latest Intel Xeon CPU, which corresponds to a 5.4x speedup over a state-of-the-art dense convolution implementation.

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

↑