arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.07060cs.CVcs.LGstat.ML
收藏

具有渐变资源约束的神经网络的逐层剪枝

Channel-wise pruning of neural networks with tapering resource constraint

Intel Corp.(英特尔公司)

Alexey Kruglov

摘要:

神经网络剪枝是为计算能力有限的边缘设备设计高效神经网络的重要步骤。剪枝是将知识从原网络的权重转移到较小的目标子网络的一种形式。本文提出了一种新的卷积神经网络计算约束结构化通道剪枝方法。该方法迭代地微调网络,同时通过拉格朗日乘子法框架中的完整约束逐渐减少修剪网络可用的计算资源。提供了一种显式的和自适应的自动控制锥度的速度。我们的修剪方法的可训练参数与神经网络的权重分离,这允许我们避免对神经网络求解器的干扰(例如,避免修剪速度对神经网络学习率的直接依赖)。我们的方法结合了“严格”的方法,直接应用约束优化,避免了陷阱的ADMM为基础的方法,如他们需要定义的目标资源量为每个修剪运行,修剪速度和修剪层之间的权重的相对规模的优先级的直接依赖。对于VGG-16@ILSVRC-2012,我们实现了15.47 -> 3.87 GMAC的降低,其中仅1%的前1准确度降低(68.4% -> 67.4%)。对于AlexNet @ ILSVRC-2012,我们实现了0.724 -> 0.411 GMAC,前1个准确度降低了1%(56.8% -> 55.8%)。

英文摘要:

Neural network pruning is an important step in design process of efficient neural networks for edge devices with limited computational power. Pruning is a form of knowledge transfer from the weights of the original network to a smaller target subnetwork. We propose a new method for compute-constrained structured channel-wise pruning of convolutional neural networks. The method iteratively fine-tunes the network, while gradually tapering the computation resources available to the pruned network via a holonomic constraint in the method of Lagrangian multipliers framework. An explicit and adaptive automatic control over the rate of tapering is provided. The trainable parameters of our pruning method are separate from the weights of the neural network, which allows us to avoid the interference with the neural network solver (e.g. avoid the direct dependence of pruning speed on neural network learning rates). Our method combines the `rigoristic' approach by the direct application of constrained optimization, avoiding the pitfalls of ADMM-based methods, like their need to define the target amount of resources for each pruning run, and direct dependence of pruning speed and priority of pruning on the relative scale of weights between layers. For VGG-16 @ ILSVRC-2012, we achieve reduction of 15.47 -> 3.87 GMAC with only 1% top-1 accuracy reduction (68.4% -> 67.4%). For AlexNet @ ILSVRC-2012, we achieve 0.724 -> 0.411 GMAC with 1% top-1 accuracy reduction (56.8% -> 55.8%).

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

↑