arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2010.01251cs.CVcs.AI
收藏

UCP:用于深度卷积神经网络压缩和加速的均匀通道修剪

UCP: Uniform Channel Pruning for Deep Convolutional Neural Networks Compression and Acceleration

School of Computer Science and Information Engineering, Hefei University of Technology(合肥工业大学计算机科学与信息工程学院);Engineering Research Center of Safety Critical Industrial Measurement and Control Technology, Ministry of Education, Hefei University of Technology(合肥工业大学安全关键工业测量与控制技术教育部工程研究中心)

Jingfei Chang, Yang Lu, Ping Xue, Xing Wei, Zhen Wei

摘要:

为了将深度CNN应用于移动终端和便携式设备,许多学者最近致力于压缩和加速深度卷积神经网络。在此基础上,我们提出了一种新的均匀信道修剪(UCP)方法来修剪深度CNN,并使用修改的挤压和激励块(MSEB)来衡量卷积层中信道的重要性。不重要的通道,包括与它们相关的卷积核,直接被修剪,这大大降低了存储成本和计算次数。ResNet中有两种类型的残差块。对于存在瓶颈的ResNet,我们使用传统CNN的修剪方法来修剪块中间的3x 3卷积层。对于具有基本残差块的ResNet,我们提出了一种在同一阶段一致地修剪所有残差块的方法,以确保紧凑的网络结构在维度上是正确的。考虑到网络在剪枝后会丢失大量的信息,而且剪枝幅度越大,丢失的信息就越多,所以我们没有选择微调,而是从头开始重新训练,以恢复剪枝后网络的准确性。最后,在CIFAR-10、CIFAR-100和ILSVRC-2012图像分类器上进行了图像分类的实验验证。结果表明,当剪枝率较小时,从头训练后的紧致网络的性能优于原始网络。即使当修剪幅度较大时,也可以保持或略微降低精度。在CIFAR-100上,当将参数和FLOP分别减少到82%和62%时,VGG-19的准确度在重新训练后甚至提高了0.54%。

英文摘要:

To apply deep CNNs to mobile terminals and portable devices, many scholars have recently worked on the compressing and accelerating deep convolutional neural networks. Based on this, we propose a novel uniform channel pruning (UCP) method to prune deep CNN, and the modified squeeze-and-excitation blocks (MSEB) is used to measure the importance of the channels in the convolutional layers. The unimportant channels, including convolutional kernels related to them, are pruned directly, which greatly reduces the storage cost and the number of calculations. There are two types of residual blocks in ResNet. For ResNet with bottlenecks, we use the pruning method with traditional CNN to trim the 3x3 convolutional layer in the middle of the blocks. For ResNet with basic residual blocks, we propose an approach to consistently prune all residual blocks in the same stage to ensure that the compact network structure is dimensionally correct. Considering that the network loses considerable information after pruning and that the larger the pruning amplitude is, the more information that will be lost, we do not choose fine-tuning but retrain from scratch to restore the accuracy of the network after pruning. Finally, we verified our method on CIFAR-10, CIFAR-100 and ILSVRC-2012 for image classification. The results indicate that the performance of the compact network after retraining from scratch, when the pruning rate is small, is better than the original network. Even when the pruning amplitude is large, the accuracy can be maintained or decreased slightly. On the CIFAR-100, when reducing the parameters and FLOPs up to 82% and 62% respectively, the accuracy of VGG-19 even improved by 0.54% after retraining.

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

↑