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

模型修剪中的权重重要性和Hessian偏差

Exploring Weight Importance and Hessian Bias in Model Pruning

University of California, Riverside(加州大学河滨分校);University of California, Santa Barbara(加州大学圣巴巴拉分校)

Mingchen Li, Yahya Sattar, Christos Thrampoulidis, Samet Oymak

摘要:

模型修剪是构建紧凑且计算效率高的机器学习模型的必要步骤。好的剪枝算法的一个关键特征是它精确地量化了模型权重的相对重要性。虽然模型修剪有着丰富的历史,但即使对于涉及线性模型或浅层神经网络的相对简单的问题,我们仍然没有完全掌握修剪机制。在这项工作中,我们提供了一个原则性的探索修剪建立在一个自然的概念的重要性。对于线性模型,我们证明了这种重要性的概念是由协方差缩放捕获的,协方差缩放连接到著名的基于Hessian的修剪。然后,我们推导出渐近公式,使我们能够精确地比较不同的修剪方法的性能。对于神经网络,我们证明了重要性可以与较大的幅度和适当的初始化是至关重要的幅度为基础的修剪。具体来说,我们确定的设置中,权重变得更重要,尽管变得更小,这反过来又导致了灾难性的失败幅度为基础的修剪。我们的研究结果还阐明,隐式正则化的Hessian结构的形式有一个催化剂的作用,在确定重要的权重,这决定了修剪性能。

英文摘要:

Model pruning is an essential procedure for building compact and computationally-efficient machine learning models. A key feature of a good pruning algorithm is that it accurately quantifies the relative importance of the model weights. While model pruning has a rich history, we still don't have a full grasp of the pruning mechanics even for relatively simple problems involving linear models or shallow neural nets. In this work, we provide a principled exploration of pruning by building on a natural notion of importance. For linear models, we show that this notion of importance is captured by covariance scaling which connects to the well-known Hessian-based pruning. We then derive asymptotic formulas that allow us to precisely compare the performance of different pruning methods. For neural networks, we demonstrate that the importance can be at odds with larger magnitudes and proper initialization is critical for magnitude-based pruning. Specifically, we identify settings in which weights become more important despite becoming smaller, which in turn leads to a catastrophic failure of magnitude-based pruning. Our results also elucidate that implicit regularization in the form of Hessian structure has a catalytic role in identifying the important weights, which dictate the pruning performance.

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

↑