arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.02325cs.LGmath.OC
收藏

动量并不能减少随机梯度下降中的随机噪声

Momentum Does Not Reduce Stochastic Noise in Stochastic Gradient Descent

Naoki Sato, Hideaki Iiduka

AI总结:

本文通过收敛分析与最优batch size估计证明,momentum既不能减少SGD中的梯度噪声,也不能减少搜索方向噪声,且其带来的目标函数平滑优势有限。

摘要:

对于非凸目标函数,包括训练深度神经网络时遇到的函数,带momentum的随机梯度下降(SGD)被认为比不带momentum的SGD收敛更快且具有更好的泛化能力。特别是,添加momentum被认为可以减少随机噪声。为了验证这一点,我们利用收敛分析和最优batch size估计公式估计了梯度噪声的大小,发现momentum并不能减少梯度噪声。我们还分析了搜索方向噪声的影响,搜索方向噪声定义为优化器的搜索方向与最陡下降方向之间的误差所构成的随机噪声,发现它本质上会平滑目标函数,而且momentum同样不能减少搜索方向噪声。最后,对搜索方向噪声引入的平滑程度的分析表明,添加momentum给SGD带来的优势有限。

英文摘要:

For nonconvex objective functions, including those found in training deep neural networks, stochastic gradient descent (SGD) with momentum is said to converge faster and have better generalizability than SGD without momentum. In particular, adding momentum is thought to reduce stochastic noise. To verify this, we estimated the magnitude of gradient noise by using convergence analysis and an optimal batch size estimation formula and found that momentum does not reduce gradient noise. We also analyzed the effect of search direction noise, which is stochastic noise defined as the error between the search direction of the optimizer and the steepest descent direction, and found that it inherently smooths the objective function and that momentum does not reduce search direction noise either. Finally, an analysis of the degree of smoothing introduced by search direction noise revealed that adding momentum offers limited advantage to SGD.

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

↑