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

Gate Decorator:加速深度卷积神经网络的全局滤波器剪枝方法

Gate Decorator: Global Filter Pruning Method for Accelerating Deep Convolutional Neural Networks

Peking University(北京大学);Momenta

Zhonghui You, Kun Yan, Jinmian Ye, Meng Ma, Ping Wang

摘要:

滤波器修剪是加速和压缩卷积神经网络(CNN)的最有效方法之一。在这项工作中,我们提出了一种称为Gate Decorator的全局过滤器修剪算法,该算法通过将其输出乘以通道缩放因子(即门)来转换香草CNN模块。当比例因子设置为零时,相当于删除相应的滤波器。我们使用泰勒展开来估计由将比例因子设置为零引起的损失函数的变化,并将该估计用于全局滤波器重要性排名。然后我们通过删除那些不重要的过滤器来修剪网络。修剪后,我们将所有的缩放因子合并到其原始模块中,因此没有引入特殊的操作或结构。此外,我们提出了一个迭代修剪框架称为滴答,以提高修剪精度。大量的实验证明了我们的方法的有效性。例如,我们在ResNet-56上实现了最先进的剪枝率,减少了70%的FLOP,而没有明显的准确性损失。对于ImageNet上的ResNet-50,我们的修剪模型具有40%的FLOP减少,在top-1准确度方面优于基线模型0.31%。使用各种数据集,包括CIFAR-10,CIFAR-100,CUB-200,ImageNet ILSVRC-12和PASCAL VOC 2011。代码可在github.com/youzhonghui/gate-decorator-pruning上获得

英文摘要:

Filter pruning is one of the most effective ways to accelerate and compress convolutional neural networks (CNNs). In this work, we propose a global filter pruning algorithm called Gate Decorator, which transforms a vanilla CNN module by multiplying its output by the channel-wise scaling factors, i.e. gate. When the scaling factor is set to zero, it is equivalent to removing the corresponding filter. We use Taylor expansion to estimate the change in the loss function caused by setting the scaling factor to zero and use the estimation for the global filter importance ranking. Then we prune the network by removing those unimportant filters. After pruning, we merge all the scaling factors into its original module, so no special operations or structures are introduced. Moreover, we propose an iterative pruning framework called Tick-Tock to improve pruning accuracy. The extensive experiments demonstrate the effectiveness of our approaches. For example, we achieve the state-of-the-art pruning ratio on ResNet-56 by reducing 70% FLOPs without noticeable loss in accuracy. For ResNet-50 on ImageNet, our pruned model with 40% FLOPs reduction outperforms the baseline model by 0.31% in top-1 accuracy. Various datasets are used, including CIFAR-10, CIFAR-100, CUB-200, ImageNet ILSVRC-12 and PASCAL VOC 2011. Code is available at github.com/youzhonghui/gate-decorator-pruning

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

↑