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

一种实用的网络压缩方法

Group Fisher Pruning for Practical Network Compression

Tsinghua University(清华大学);Shanghai AI Laboratory(上海人工智能实验室);SenseTime Research(商汤科技研究院);University College London(伦敦大学学院);Qing Yuan Research Institute(清源研究院)

Liyang Liu, Shilong Zhang, Zhanghui Kuang, Aojun Zhou, Jing-Hao Xue, Xinjiang Wang, Yimin Chen, Wenming Yang, Qingmin Liao, Wayne Zhang

摘要:

网络压缩由于能够减少推理过程中的内存和计算开销而得到了广泛的研究。然而,以前的方法很少处理复杂的结构,如残留连接,组/深度卷积和特征金字塔网络,其中多层通道耦合,需要同时修剪。在本文中,我们提出了一个通用的通道修剪方法,可以适用于各种复杂的结构。特别地,我们提出了一个层分组算法来自动找到耦合通道。然后,我们推导出一个统一的度量的基础上Fisher信息来评估的重要性,一个单一的通道和耦合通道。此外,我们发现GPU上的推理加速与内存的减少而不是FLOP更相关,因此我们采用每个通道的内存减少来规范化重要性。我们的方法可以用来修剪任何结构,包括那些耦合通道。我们对各种主干进行了广泛的实验,包括经典的ResNet和ResNeXt,移动友好的MobileNetV 2,以及基于NAS的RegNet,无论是在图像分类还是在目标检测上,都是探索不足的。实验结果表明,该方法可以有效地修剪复杂的网络,在不牺牲准确性的情况下提高推理速度。

英文摘要:

Network compression has been widely studied since it is able to reduce the memory and computation cost during inference. However, previous methods seldom deal with complicated structures like residual connections, group/depth-wise convolution and feature pyramid network, where channels of multiple layers are coupled and need to be pruned simultaneously. In this paper, we present a general channel pruning approach that can be applied to various complicated structures. Particularly, we propose a layer grouping algorithm to find coupled channels automatically. Then we derive a unified metric based on Fisher information to evaluate the importance of a single channel and coupled channels. Moreover, we find that inference speedup on GPUs is more correlated with the reduction of memory rather than FLOPs, and thus we employ the memory reduction of each channel to normalize the importance. Our method can be used to prune any structures including those with coupled channels. We conduct extensive experiments on various backbones, including the classic ResNet and ResNeXt, mobile-friendly MobileNetV2, and the NAS-based RegNet, both on image classification and object detection which is under-explored. Experimental results validate that our method can effectively prune sophisticated networks, boosting inference speed without sacrificing accuracy.

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

↑