arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.10337cs.CVcs.LG
收藏

COP:基于正则化相关滤波器级剪枝的定制深度模型压缩

COP: Customized Deep Model Compression via Regularized Correlation-Based Filter-Level Pruning

Zhejiang University(浙江大学);Fabu Inc.(法布公司);Alibaba-Zhejiang University Joint Institute of Frontier Technologies(阿里巴巴-浙江大学前沿技术联合研究院);GAC R&D Center(广汽研究院)

Wenxiao Wang, Cong Fu, Jishun Guo, Deng Cai, Xiaofei He

摘要:

神经网络压缩使有效但笨重的深度卷积神经网络(CNN)能够部署在资源受限的场景中。大多数最先进的方法修剪过滤器的过滤器级别根据过滤器的“重要性”的模型。尽管他们的成功,我们注意到他们遭受至少两个以下问题:1)过滤器之间的冗余没有考虑,因为重要性是独立评估。2)跨层过滤器比较是无法实现的,因为重要性是在每个层内局部定义的。因此,我们必须手动指定逐层修剪比率。3)它们容易产生次优解,因为它们忽略了减少参数和减少计算成本之间的不平等。减少网络中不同位置的相同数量的参数可以减少不同的计算成本。为了解决上述问题,我们提出了一种新的算法COP(correlation-based pruning),它可以有效地检测冗余滤波器。我们通过全局标准化启用跨层滤波器比较。我们增加了参数数量和计算成本正则化条款的重要性,这使得用户能够定制的压缩,根据自己的喜好(更小或更快)。大量的实验表明,COP明显优于其他算法。该代码在https://github.com/ZJULearning/COP上发布。

英文摘要:

Neural network compression empowers the effective yet unwieldy deep convolutional neural networks (CNN) to be deployed in resource-constrained scenarios. Most state-of-the-art approaches prune the model in filter-level according to the "importance" of filters. Despite their success, we notice they suffer from at least two of the following problems: 1) The redundancy among filters is not considered because the importance is evaluated independently. 2) Cross-layer filter comparison is unachievable since the importance is defined locally within each layer. Consequently, we must manually specify layer-wise pruning ratios. 3) They are prone to generate sub-optimal solutions because they neglect the inequality between reducing parameters and reducing computational cost. Reducing the same number of parameters in different positions in the network may reduce different computational cost. To address the above problems, we develop a novel algorithm named as COP (correlation-based pruning), which can detect the redundant filters efficiently. We enable the cross-layer filter comparison through global normalization. We add parameter-quantity and computational-cost regularization terms to the importance, which enables the users to customize the compression according to their preference (smaller or faster). Extensive experiments have shown COP outperforms the others significantly. The code is released at https://github.com/ZJULearning/COP.

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

↑