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

再论随机梯度下降的噪声模型

Revisiting the Noise Model of Stochastic Gradient Descent

Bar Ilan University(巴伊兰大学)

Barak Battash, Ofir Lindenbaum

摘要:

随机梯度噪声(SGN)是影响随机梯度下降(SGD)算法成功的重要因素。根据中心极限定理,SGN最初被建模为高斯分布,最近,有人建议使用$SαS$ Lévy分布更好地表征随机梯度噪声。据称,这一说法被驳斥,并反弹到以前建议的高斯噪声模型。本文提出了坚实的,详细的经验证据,SGN是重尾的,更好地描绘了$SαS$分布。此外,我们认为深度神经网络(DNN)中的不同参数在整个训练过程中具有不同的SGN特征。为了更准确地近似SGD在局部最小值附近的动力学,我们在$\mathbb{R}^N$中构建了一个新的框架,基于Lévy驱动的随机微分方程(Révy),其中一维Lévy过程对DNN中的每个参数进行建模。接下来,我们表明,SGN跳跃强度(频率和幅度)取决于学习率衰减机制(LR衰减),此外,我们证明经验,LR衰减效果可能源于SGN的减少,而不是步长的减少。基于我们的分析,我们研究了DNN在局部最小值附近的平均逃逸时间,捕获概率和更多属性。最后,我们证明了训练过程可能会从盆地中退出具有较重尾部SGN的参数方向。我们将分享我们的代码的可重复性。

英文摘要:

The stochastic gradient noise (SGN) is a significant factor in the success of stochastic gradient descent (SGD). Following the central limit theorem, SGN was initially modeled as Gaussian, and lately, it has been suggested that stochastic gradient noise is better characterized using $SαS$ Lévy distribution. This claim was allegedly refuted and rebounded to the previously suggested Gaussian noise model. This paper presents solid, detailed empirical evidence that SGN is heavy-tailed and better depicted by the $SαS$ distribution. Furthermore, we argue that different parameters in a deep neural network (DNN) hold distinct SGN characteristics throughout training. To more accurately approximate the dynamics of SGD near a local minimum, we construct a novel framework in $\mathbb{R}^N$, based on Lévy-driven stochastic differential equation (SDE), where one-dimensional Lévy processes model each parameter in the DNN. Next, we show that SGN jump intensity (frequency and amplitude) depends on the learning rate decay mechanism (LRdecay); furthermore, we demonstrate empirically that the LRdecay effect may stem from the reduction of the SGN and not the decrease in the step size. Based on our analysis, we examine the mean escape time, trapping probability, and more properties of DNNs near local minima. Finally, we prove that the training process will likely exit from the basin in the direction of parameters with heavier tail SGN. We will share our code for reproducibility.

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

↑