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

高效深度神经网络的整体滤波器修剪

Holistic Filter Pruning for Efficient Deep Neural Networks

Robert Bosch GmbH(罗伯特·博世公司);University of Freiburg(弗莱堡大学);Institute for Autonomous Intelligent Systems(自主智能系统研究所)

Lukas Enderich, Fabian Timm, Wolfram Burgard

摘要:

深度神经网络(DNN)通常被过度参数化,以增加通过随机初始化获得足够初始权重的可能性。因此,经过训练的DNN具有许多冗余,可以从模型中删除这些冗余,以降低复杂性并提高泛化能力。通过过滤器修剪实现的结构稀疏性直接减少了权重和激活的张量大小,因此对于降低复杂性特别有效。我们提出了“整体滤波器修剪”(HFP),这是一种用于常见DNN训练的新方法,易于实现,并且能够为参数和乘法的数量指定准确的修剪率。在每次向前传递之后,计算当前模型复杂度并将其与所需目标大小进行比较。通过梯度下降,可以找到全局解,该全局解在各个层上分配修剪预算,使得满足期望的目标大小。在各种实验中,我们对训练进行了深入分析,并在CIFAR-10和ImageNet上实现了最先进的性能(HFP在ImageNet上修剪了ResNet-50的60%乘法,准确性没有显著损失)。我们相信,我们简单而强大的修剪方法将为DNN用户在低成本应用中做出宝贵的贡献。

英文摘要:

Deep neural networks (DNNs) are usually over-parameterized to increase the likelihood of getting adequate initial weights by random initialization. Consequently, trained DNNs have many redundancies which can be pruned from the model to reduce complexity and improve the ability to generalize. Structural sparsity, as achieved by filter pruning, directly reduces the tensor sizes of weights and activations and is thus particularly effective for reducing complexity. We propose "Holistic Filter Pruning" (HFP), a novel approach for common DNN training that is easy to implement and enables to specify accurate pruning rates for the number of both parameters and multiplications. After each forward pass, the current model complexity is calculated and compared to the desired target size. By gradient descent, a global solution can be found that allocates the pruning budget over the individual layers such that the desired target size is fulfilled. In various experiments, we give insights into the training and achieve state-of-the-art performance on CIFAR-10 and ImageNet (HFP prunes 60% of the multiplications of ResNet-50 on ImageNet with no significant loss in the accuracy). We believe our simple and powerful pruning approach to constitute a valuable contribution for users of DNNs in low-cost applications.

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

↑