arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.00692cs.LGstat.ML
收藏

随机梯度下降中噪声几何结构的理论分析

A Theoretical Analysis of Noise Geometry in Stochastic Gradient Descent

School of Mathematical Sciences(数学科学学院);Peking University(北京大学);Center for Machine Learning Research(机器学习研究中心)

Mingze Wang, Lei Wu

AI总结:

本文针对小批量随机梯度下降的噪声几何结构开展理论研究,提出量化对齐强度的指标,证明过参数化模型中对齐特性的可保证性,揭示SGD逃离尖锐极小值的独特机制,并通过实验验证理论结论。

摘要:

本文对小批量随机梯度下降(SGD)的噪声几何结构开展理论研究,该现象指噪声与局部损失曲面的几何形态呈现有利对齐的特性。我们通过分析噪声对损失及子空间投影动力学的影响,提出两个度量指标以量化对齐强度。研究表明,对于(过参数化)线性模型和两层非线性网络,采用这些指标衡量时,对齐特性可在与过参数化程度无关的条件下得到可证明的保证。为展示噪声几何表征的实用性,我们对SGD逃离尖锐极小值的机制进行了精细化分析,揭示出与梯度下降(GD)沿最尖锐方向逃离不同,SGD更倾向于从更平坦的方向逃离,且循环学习率可利用SGD的这一特性更有效地导航至更平坦的区域。最后,本文通过大量实验验证了理论发现。

英文摘要:

In this paper, we provide a theoretical study of noise geometry for minibatch stochastic gradient descent (SGD), a phenomenon where noise aligns favorably with the geometry of local landscape. We propose two metrics, derived from analyzing how noise influences the loss and subspace projection dynamics, to quantify the alignment strength. We show that for (over-parameterized) linear models and two-layer nonlinear networks, when measured by these metrics, the alignment can be provably guaranteed under conditions independent of the degree of over-parameterization. To showcase the utility of our noise geometry characterizations, we present a refined analysis of the mechanism by which SGD escapes from sharp minima. We reveal that unlike gradient descent (GD), which escapes along the sharpest directions, SGD tends to escape from flatter directions and cyclical learning rates can exploit this SGD characteristic to navigate more effectively towards flatter regions. Lastly, extensive experiments are provided to support our theoretical findings.

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

↑