arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.10771cs.LGcs.CVstat.ML
收藏

神经网络剪枝的重要性估计

Importance Estimation for Neural Network Pruning

NVIDIA(英伟达)

Pavlo Molchanov, Arun Mallya, Stephen Tyree, Iuri Frosio, Jan Kautz

摘要:

神经网络参数的结构修剪减少了推理期间的计算、能量和存储器传输成本。我们提出了一种新的方法,估计神经元(滤波器)对最终损失的贡献,并迭代地删除那些分数较小的神经元。我们描述了我们的方法的两个变化,使用一阶和二阶泰勒展开近似过滤器的贡献。这两种方法都可以在任何网络层上一致地扩展,而不需要每层的敏感性分析,并且可以应用于任何类型的层,包括跳过连接。对于在ImageNet上训练的现代网络,我们通过实验测量了通过我们的方法计算的贡献与真实重要性的可靠估计之间的高度相关性(> 93%)。修剪与所提出的方法导致改进的国家的最先进的准确性,FLOPs,和参数减少。在ResNet-101上,我们通过删除30%的参数实现了40%的FLOPS减少,ImageNet上的前1名准确率损失了0.02%。代码可在www.example.com上获得。

英文摘要:

Structural pruning of neural network parameters reduces computation, energy, and memory transfer costs during inference. We propose a novel method that estimates the contribution of a neuron (filter) to the final loss and iteratively removes those with smaller scores. We describe two variations of our method using the first and second-order Taylor expansions to approximate a filter's contribution. Both methods scale consistently across any network layer without requiring per-layer sensitivity analysis and can be applied to any kind of layer, including skip connections. For modern networks trained on ImageNet, we measured experimentally a high (>93%) correlation between the contribution computed by our methods and a reliable estimate of the true importance. Pruning with the proposed methods leads to an improvement over state-of-the-art in terms of accuracy, FLOPs, and parameter reduction. On ResNet-101, we achieve a 40% FLOPS reduction by removing 30% of the parameters, with a loss of 0.02% in the top-1 accuracy on ImageNet. Code is available at https://github.com/NVlabs/Taylor_pruning.

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

↑