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

AIP:基于知识转移的卷积神经网络对抗迭代剪枝

AIP: Adversarial Iterative Pruning Based on Knowledge Transfer for Convolutional Neural Networks

Hefei University of Technology(合肥工业大学)

Jingfei Chang, Yang Lu, Ping Xue, Yiqun Xu, Zhen Wei

摘要:

随着结构复杂度的增加,卷积神经网络(CNN)的计算量也越来越大。同时,现有的研究揭示了CNN中显著的参数冗余。目前的剪枝方法可以在性能下降不大的情况下压缩CNN,但当剪枝率增加时,准确性损失更严重。此外,一些迭代修剪方法很难准确地识别和删除不重要的参数,由于修剪过程中的精度下降。我们提出了一种新的基于知识转移的CNN对抗迭代剪枝方法(AIP)。原始网络被视为老师,而压缩网络是学生。我们应用注意力地图和输出功能将信息从教师传递给学生。然后,设计一个浅全连接网络作为训练器,允许两个网络的输出进行对抗性博弈,从而可以在修剪区间内快速恢复被修剪的精度。最后,提出了一种基于信道重要性的迭代剪枝方案。我们对图像分类任务CIFAR-10、CIFAR-100和ILSVRC-2012进行了广泛的实验,以验证我们的修剪方法即使在没有精度损失的情况下也可以实现CNN的有效压缩。在ILSVRC-2012上,当去除ResNet-18的36.78%参数和45.55%浮点运算(FLOP)时,Top-1精度下降仅为0.66%。我们的方法是优于一些国家的最先进的修剪计划的压缩率和准确性。此外,我们进一步证明了AIP在目标检测任务PASCAL VOC上具有良好的泛化能力。

英文摘要:

With the increase of structure complexity, convolutional neural networks (CNNs) take a fair amount of computation cost. Meanwhile, existing research reveals the salient parameter redundancy in CNNs. The current pruning methods can compress CNNs with little performance drop, but when the pruning ratio increases, the accuracy loss is more serious. Moreover, some iterative pruning methods are difficult to accurately identify and delete unimportant parameters due to the accuracy drop during pruning. We propose a novel adversarial iterative pruning method (AIP) for CNNs based on knowledge transfer. The original network is regarded as the teacher while the compressed network is the student. We apply attention maps and output features to transfer information from the teacher to the student. Then, a shallow fully-connected network is designed as the discriminator to allow the output of two networks to play an adversarial game, thereby it can quickly recover the pruned accuracy among pruning intervals. Finally, an iterative pruning scheme based on the importance of channels is proposed. We conduct extensive experiments on the image classification tasks CIFAR-10, CIFAR-100, and ILSVRC-2012 to verify our pruning method can achieve efficient compression for CNNs even without accuracy loss. On the ILSVRC-2012, when removing 36.78% parameters and 45.55% floating-point operations (FLOPs) of ResNet-18, the Top-1 accuracy drop are only 0.66%. Our method is superior to some state-of-the-art pruning schemes in terms of compressing rate and accuracy. Moreover, we further demonstrate that AIP has good generalization on the object detection task PASCAL VOC.

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

↑