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

基于跨层排序和k-倒数最近过滤器的剪枝网络

Pruning Networks with Cross-Layer Ranking & k-Reciprocal Nearest Filters

Xiamen University(厦门大学);Youtu Laboratory, Tencent(腾讯优图实验室);Inception Institute of Artificial Intelligence(人工智能创想研究院);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);National Tsing Hua University(国立清华大学)

Mingbao Lin, Liujuan Cao, Yuxin Zhang, Ling Shao, Chia-Wen Lin, Rongrong Ji

摘要:

本文主要研究滤波器级网络剪枝。提出了一种新的剪枝方法CLR-RNF。我们首先揭示了一个“长尾”长尾修剪问题,在基于幅度的权重修剪方法,然后提出了一个计算感知的测量个别权重的重要性,其次是跨层排名(Cross-Layer Ranking,简称css)的权重,以确定和删除排名最低的权重。因此,每层稀疏度构成了过滤器修剪中修剪的网络结构。然后,我们介绍了一个基于简化的过滤器选择方案,每个过滤器推荐一组最接近的过滤器。为了从这些推荐组中挑选保留的过滤器,我们进一步设计了一个k-倒数最近过滤器(RNF)选择方案,其中所选过滤器落入这些推荐组的交集中。我们修剪的网络结构和过滤器的选择都是非学习过程,从而显着降低了修剪的复杂性,并区分我们的方法从现有的作品。我们在CIFAR-10和ImageNet上进行了图像分类,以证明我们的CLR-RNF优于最先进的技术。例如,在CIFAR-10上,CLR-RNF从VGGNet-16中删除了74.1%的FLOP和95.0%的参数,精度甚至提高了0.3%。在ImageNet上,它从ResNet-50中删除了70.2%的FLOP和64.8%的参数,只有1.7%的前5名准确率下降。我们的项目在https://github.com/lmbxmu/CLR-RNF。

英文摘要:

This paper focuses on filter-level network pruning. A novel pruning method, termed CLR-RNF, is proposed. We first reveal a "long-tail" long-tail pruning problem in magnitude-based weight pruning methods, and then propose a computation-aware measurement for individual weight importance, followed by a Cross-Layer Ranking (CLR) of weights to identify and remove the bottom-ranked weights. Consequently, the per-layer sparsity makes up of the pruned network structure in our filter pruning. Then, we introduce a recommendation-based filter selection scheme where each filter recommends a group of its closest filters. To pick the preserved filters from these recommended groups, we further devise a k-Reciprocal Nearest Filter (RNF) selection scheme where the selected filters fall into the intersection of these recommended groups. Both our pruned network structure and the filter selection are non-learning processes, which thus significantly reduce the pruning complexity, and differentiate our method from existing works. We conduct image classification on CIFAR-10 and ImageNet to demonstrate the superiority of our CLR-RNF over the state-of-the-arts. For example, on CIFAR-10, CLR-RNF removes 74.1% FLOPs and 95.0% parameters from VGGNet-16 with even 0.3\% accuracy improvements. On ImageNet, it removes 70.2% FLOPs and 64.8% parameters from ResNet-50 with only 1.7% top-5 accuracy drops. Our project is at https://github.com/lmbxmu/CLR-RNF.

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

↑