arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2301.00335cs.LG
收藏

训练前修剪可以提高泛化能力,可证明

Pruning Before Training May Improve Generalization, Provably

The University of Texas at Austin(德克萨斯大学奥斯汀分校);The Ohio State University(俄亥俄州立大学);IBM Thomas.J. Watson Research Center(IBM托马斯·J·沃森研究中心);Pinterest

Hongru Yang, Yingbin Liang, Xiaojie Guo, Lingfei Wu, Zhangyang Wang

摘要:

实践表明,将初始化剪枝方法应用于神经网络并训练稀疏化后的网络,不仅可以保持原稠密模型的测试性能,有时甚至可以略微提高泛化性能。对这种实验观测的理论理解尚待发展。这项工作首次尝试研究不同的修剪分数如何影响模型的梯度下降动力学和泛化。具体来说,这项工作考虑了超参数化的两层神经网络的分类任务,其中网络是随机修剪,根据不同的利率在初始化。结果表明,只要剪枝率低于一定的阈值,梯度下降可以使训练损失趋于零,网络具有良好的泛化性能。更令人惊讶的是,随着修剪分数变大,泛化界变得更好。为了补充这个积极的结果,这项工作进一步显示了一个消极的结果:存在一个大的修剪分数,使得虽然梯度下降仍然能够将训练损失推向零(通过记忆噪声),但泛化性能并不比随机猜测更好。这进一步表明,修剪可以改变特征学习过程,这导致修剪后的神经网络的性能下降。

英文摘要:

It has been observed in practice that applying pruning-at-initialization methods to neural networks and training the sparsified networks can not only retain the testing performance of the original dense models, but also sometimes even slightly boost the generalization performance. Theoretical understanding for such experimental observations are yet to be developed. This work makes the first attempt to study how different pruning fractions affect the model's gradient descent dynamics and generalization. Specifically, this work considers a classification task for overparameterized two-layer neural networks, where the network is randomly pruned according to different rates at the initialization. It is shown that as long as the pruning fraction is below a certain threshold, gradient descent can drive the training loss toward zero and the network exhibits good generalization performance. More surprisingly, the generalization bound gets better as the pruning fraction gets larger. To complement this positive result, this work further shows a negative result: there exists a large pruning fraction such that while gradient descent is still able to drive the training loss toward zero (by memorizing noise), the generalization performance is no better than random guessing. This further suggests that pruning can change the feature learning process, which leads to the performance drop of the pruned neural network.

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

↑