Skip to main content
QUICK REVIEW

[论文解读] Why Lottery Ticket Wins? A Theoretical Perspective of Sample Complexity on Sparse Neural Networks

Shuai Zhang, Meng Wang|arXiv (Cornell University)|May 4, 2021
Stochastic Gradient Optimization TechniquesComputer Science被引用 1
一句话总结

本文通过分析稀疏神经网络中的样本复杂度和几何结构,首次为彩票猜想提供了理论依据。研究表明,剪枝可减少实现零泛化误差所需的训练样本数量,并加速收敛,从而解释了为何胜出的彩票网络比未剪枝网络泛化性能更优。

ABSTRACT

The lottery ticket hypothesis (LTH) states that learning on a properly pruned network (the winning ticket) has improved test accuracy over the originally unpruned network. Although LTH has been justified empirically in a broad range of deep neural network (DNN) involved applications like computer vision and natural language processing, the theoretical validation of the improved generalization of a winning ticket remains elusive. To the best of our knowledge, our work, for the first time, characterizes the performance of training a sparse neural network by analyzing the geometric structure of the objective function and the sample complexity to achieve zero generalization error. We show that the convex region near a desirable model with guaranteed generalization enlarges as the neural network model is pruned, indicating the structural importance of a winning ticket. Moreover, as the algorithm for training a sparse neural network is specified as (accelerated) stochastic gradient descent algorithm, we theoretically show that the number of samples required for achieving zero generalization error is proportional to the number of the non-pruned model weights in the hidden layer. With a fixed number of samples, training a pruned neural network enjoys a faster convergence rate to the desirable model than training the original unpruned one, providing a formal justification of the improved generalization of the winning ticket. Our theoretical results are acquired from learning a sparse neural network of one hidden layer, while experimental results are further provided to justify the implications in pruning multi-layer neural networks.

研究动机与目标

  • 从理论上解释为何彩票猜想——即剪枝后的稀疏神经网络——比其未剪枝版本泛化性能更优。
  • 分析剪枝如何影响损失函数几何结构,特别是最优模型周围凸区域的大小。
  • 量化在稀疏网络与密集网络中实现零泛化误差所需的样本复杂度。
  • 在随机梯度下降框架下,正式建立模型稀疏性与更快收敛速率之间的关联。
  • 通过实证验证,将单隐藏层网络的理论洞见扩展至多层架构。

提出的方法

  • 分析损失函数的几何结构,识别出理想模型周围的凸区域,表明其随剪枝而扩大。
  • 将零泛化误差的样本复杂度形式化为隐藏层中非剪枝参数数量的正比函数。
  • 利用(加速)随机梯度下降建模训练过程,推导出剪枝网络中收敛速率的改进。
  • 基于网络稀疏性和参数数量,建立泛化误差与收敛速度的理论边界。
  • 通过多层神经网络上的实验验证理论预测,展示一致的性能提升。

实验结果

研究问题

  • RQ1剪枝如何影响损失函数景观中凸区域的大小?这是否能解释胜出彩票网络的泛化性能提升?
  • RQ2模型稀疏性与实现零泛化误差所需训练样本数量之间存在何种理论关系?
  • RQ3与未剪枝网络相比,剪枝是否能在随机梯度下降训练中实现更快的收敛速率?
  • RQ4单隐藏层网络的理论洞见能否推广至更深的多层架构?
  • RQ5隐藏层中非剪枝参数的数量如何影响样本复杂度与泛化性能?

主要发现

  • 剪枝扩大了最优模型周围的凸区域,表明其优化景观更具优势。
  • 实现零泛化误差所需的样本数量与隐藏层中非剪枝参数数量成正比。
  • 在固定样本数量下,由于样本复杂度降低,剪枝网络比未剪枝网络收敛更快。
  • 在(加速)随机梯度下降框架下,理论收敛速率的提升得到了正式证明。
  • 实证结果证实,剪枝的理论影响在多层神经网络中依然成立。
  • 剪枝的结构优势——更大的凸区域与更低的样本复杂度——为彩票猜想提供了正式解释。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。