arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.05337cs.LGstat.ML
收藏

大步长 SGD 学习稀疏特征

SGD with Large Step Sizes Learns Sparse Features

EPFL(洛桑联邦理工学院)

Maksym Andriushchenko, Aditya Varre, Loucas Pillaud-Vivien, Nicolas Flammarion

AI总结:

本文研究 SGD 大步长训练的隐式正则化机制,揭示损失谷底弹跳稳定会诱发正交随机动力学并偏向稀疏预测器,且通过实验与简单模型理论分析加以验证。

摘要:

我们展示了随机梯度下降(SGD)在神经网络训练中的动力学的重要特征。我们给出的经验观察表明,常用的大步长会:(i) 导致迭代点从谷底的一侧跳到另一侧,从而造成损失稳定;以及 (ii) 这种稳定会诱发一种与弹跳方向正交的隐藏随机动力学,隐式地使其偏向稀疏预测器。此外,我们通过实验表明,大步长让 SGD 在损失景观谷底保持高位的时间越长,隐式正则化就越能发挥作用并找到稀疏表示。值得注意的是,实验没有使用任何显式正则化,因此正则化效果完全来自受步长调度影响的 SGD 训练动力学。因此,这些观察揭示了梯度和噪声如何通过步长调度共同驱动 SGD 在神经网络损失景观中的动力学。我们通过研究简单神经网络模型以及借鉴随机过程的定性论证,从理论上证明了这些发现。最后,该分析让我们能够以新的视角理解训练神经网络时的一些常见做法和观察到的现象。我们实验的代码可在 https://github.com/tml-epfl/sgd-sparse-features 获取。

英文摘要:

We showcase important features of the dynamics of the Stochastic Gradient Descent (SGD) in the training of neural networks. We present empirical observations that commonly used large step sizes (i) lead the iterates to jump from one side of a valley to the other causing loss stabilization, and (ii) this stabilization induces a hidden stochastic dynamics orthogonal to the bouncing directions that biases it implicitly toward sparse predictors. Furthermore, we show empirically that the longer large step sizes keep SGD high in the loss landscape valleys, the better the implicit regularization can operate and find sparse representations. Notably, no explicit regularization is used so that the regularization effect comes solely from the SGD training dynamics influenced by the step size schedule. Therefore, these observations unveil how, through the step size schedules, both gradient and noise drive together the SGD dynamics through the loss landscape of neural networks. We justify these findings theoretically through the study of simple neural network models as well as qualitative arguments inspired from stochastic processes. Finally, this analysis allows us to shed a new light on some common practice and observed phenomena when training neural networks. The code of our experiments is available at https://github.com/tml-epfl/sgd-sparse-features.

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

↑