arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1608.08710cs.CVcs.LG
收藏

修剪过滤器以实现高效的ConvNets

Pruning Filters for Efficient ConvNets

University of Maryland(马里兰大学);NEC Labs America(NEC美国实验室)

Hao Li, Asim Kadav, Igor Durdanovic, Hanan Samet, Hans Peter Graf

摘要:

CNN在各种应用中的成功伴随着计算和参数存储成本的显着增加。最近为减少这些开销所做的努力包括修剪和压缩各个层的权重,而不会损害原始精度。然而,基于幅度的权重修剪减少了来自全连接层的大量参数,并且由于修剪后的网络中的不规则稀疏性,可能无法充分降低卷积层中的计算成本。我们提出了一种用于CNN的加速方法,其中我们从CNN中修剪被识别为对输出准确性影响较小的滤波器。通过删除网络中的整个过滤器及其连接的特征图,计算成本显着降低。与修剪权重相比,这种方法不会导致稀疏连接模式。因此,它不需要稀疏卷积库的支持,并且可以与现有的高效BLAS库一起用于密集矩阵乘法。我们发现,即使是简单的过滤器修剪技术,也可以在CIFAR 10上将VGG-16和ResNet-110的推理成本降低高达34%和38%,同时通过重新训练网络恢复接近原始的准确性。

英文摘要:

The success of CNNs in various applications is accompanied by a significant increase in the computation and parameter storage costs. Recent efforts toward reducing these overheads involve pruning and compressing the weights of various layers without hurting original accuracy. However, magnitude-based pruning of weights reduces a significant number of parameters from the fully connected layers and may not adequately reduce the computation costs in the convolutional layers due to irregular sparsity in the pruned networks. We present an acceleration method for CNNs, where we prune filters from CNNs that are identified as having a small effect on the output accuracy. By removing whole filters in the network together with their connecting feature maps, the computation costs are reduced significantly. In contrast to pruning weights, this approach does not result in sparse connectivity patterns. Hence, it does not need the support of sparse convolution libraries and can work with existing efficient BLAS libraries for dense matrix multiplications. We show that even simple filter pruning techniques can reduce inference costs for VGG-16 by up to 34% and ResNet-110 by up to 38% on CIFAR10 while regaining close to the original accuracy by retraining the networks.

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

↑