随机模型的权值递减剪枝
Stochastic Model Pruning via Weight Dropping Away and Back
摘要:
深度神经网络在各种具有挑战性的任务上取得了巨大的成功。然而,大多数成功的DNN具有极其复杂的结构,这导致了对模型压缩的广泛研究。作为模型压缩的一个重要进展领域,传统的渐进修剪方法涉及迭代修剪-再训练过程,并且可能遭受两个关键问题:局部重要性判断,其中修剪的权重在当前模型中仅仅是不重要的;以及不可恢复的修剪过程,其中修剪的权重没有机会回来。针对这两个问题,本文提出了下降修剪的方法,利用随机优化的修剪过程中,在每个修剪步骤,即下降,随机删除一些不重要的权重,并回落,随机恢复一些修剪的权重引入一个下降的策略。丢弃概率的适当选择减小了修剪过程中的模型大小,并帮助其流向目标稀疏度。与随机训练一个紧凑的模型进行剪枝的贝叶斯方法相比,我们直接针对随机渐进剪枝。我们提供了一个详细的分析表明,下降和回落的方法有各自的贡献。此外,与最先进的权重修剪和贝叶斯训练方法相比,Drop Pruning可以在许多基准任务上实现具有竞争力的压缩性能和准确性。
英文摘要:
Deep neural networks have dramatically achieved great success on a variety of challenging tasks. However, most successful DNNs have an extremely complex structure, leading to extensive research on model compression.As a significant area of progress in model compression, traditional gradual pruning approaches involve an iterative prune-retrain procedure and may suffer from two critical issues: local importance judgment, where the pruned weights are merely unimportant in the current model; and an irretrievable pruning process, where the pruned weights have no chance to come back. Addressing these two issues, this paper proposes the Drop Pruning approach, which leverages stochastic optimization in the pruning process by introducing a drop strategy at each pruning step, namely, drop away, which stochastically deletes some unimportant weights, and drop back, which stochastically recovers some pruned weights. The suitable choice of drop probabilities decreases the model size during the pruning process and helps it flow to the target sparsity. Compared to the Bayesian approaches that stochastically train a compact model for pruning, we directly aim at stochastic gradual pruning. We provide a detailed analysis showing that the drop away and drop back approaches have individual contributions. Moreover, Drop Pruning can achieve competitive compression performance and accuracy on many benchmark tasks compared with state-of-the-art weights pruning and Bayesian training approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。