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

用于CNN推理加速的交叉过滤器压缩

Cross-filter compression for CNN inference acceleration

Fuyuan Lyu, Shien Zhu, Weichen Liu

摘要:

卷积神经网络具有很强的多任务处理能力,如图像分类等。然而,需要大量资源来训练网络。因此,已经做出了很多努力来通过降低权重、激活和梯度的精度来加速神经网络。然而,这些滤波量化方法存在由核的大小引起的自然上限。同时,随着小内核的普及,自然限制进一步降低。为了解决这个问题,我们提出了一种新的交叉滤波器压缩方法,可以提供$\sim32\times$节省内存和$122\times$加速卷积运算。在我们的方法中,所有的卷积滤波器被量化到给定的比特,空间相邻的滤波器共享相同的缩放因子。我们的压缩方法分别基于Binary-Weight和XNOR-Net,在CIFAR-10和ImageNet数据集上进行了评估,这些数据集具有广泛使用的网络结构,如ResNet和VGG,与最先进的量化方法相比,可以看到可容忍的准确性损失。

英文摘要:

Convolution neural network demonstrates great capability for multiple tasks, such as image classification and many others. However, much resource is required to train a network. Hence much effort has been made to accelerate neural network by reducing precision of weights, activation, and gradient. However, these filter-wise quantification methods exist a natural upper limit, caused by the size of the kernel. Meanwhile, with the popularity of small kernel, the natural limit further decrease. To address this issue, we propose a new cross-filter compression method that can provide $\sim32\times$ memory savings and $122\times$ speed up in convolution operations. In our method, all convolution filters are quantized to given bits and spatially adjacent filters share the same scaling factor. Our compression method, based on Binary-Weight and XNOR-Net separately, is evaluated on CIFAR-10 and ImageNet dataset with widely used network structures, such as ResNet and VGG, and witness tolerable accuracy loss compared to state-of-the-art quantification methods.

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

↑