arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.01246cond-mat.dis-nncs.LG
收藏

随机梯度下降引入有效的景观相关正则化,偏好平坦解

Stochastic gradient descent introduces an effective landscape-dependent regularization favoring flat solutions

Peking University(北京大学);Peking-Tsinghua Center for Life Science(北京大学生命科学联合中心);Center for Quantitative Biology, Peking University(北京大学定量生物学中心);School of Physics, Peking University(北京大学物理学院);IBM T. J. Watson Research Center(IBM托马斯·J·沃森研究中心)

Ning Yang, Chao Tang, Yuhai Tu

AI总结:

本研究通过构建简并极小值模型并求解福克-普朗克方程,揭示SGD噪声引入景观相关正则化,偏好平坦解并缩短收敛时间,但存在噪声上限。

摘要:

泛化是深度学习中最重要的问题之一。在神经网络的过参数化机制中,存在许多低损失解,它们对训练数据的拟合效果同样出色。关键问题是哪个解具有更好的泛化能力。实证研究表明,解处的损失景观平坦度与其泛化能力之间存在强相关性,而随机梯度下降(SGD)在寻找平坦解方面至关重要。为了理解SGD如何驱动学习系统走向平坦解,我们构建了一个简单模型,其损失景观具有连续一组简并(或近简并)极小值。通过求解底层随机学习动力学的福克-普朗克方程,我们表明,由于SGD噪声的强各向异性,它引入了一个额外的有效损失项,该损失项随平坦度增加而减小,其整体强度随学习率和批次间变化而增加。我们发现,额外的景观相关SGD损失打破了简并性,并作为寻找平坦解的有效正则化。此外,更强的SGD噪声缩短了收敛到平坦解的时间。然而,我们确定了SGD噪声的上限,超过该上限系统将无法收敛。我们的结果不仅阐明了SGD在泛化中的作用,还可能对高效且无发散的学习超参数选择具有重要意义。

英文摘要:

Generalization is one of the most important problems in deep learning (DL). In the overparameterized regime in neural networks, there exist many low-loss solutions that fit the training data equally well. The key question is which solution is more generalizable. Empirical studies showed a strong correlation between flatness of the loss landscape at a solution and its generalizability, and stochastic gradient descent (SGD) is crucial in finding the flat solutions. To understand how SGD drives the learning system to flat solutions, we construct a simple model whose loss landscape has a continuous set of degenerate (or near degenerate) minima. By solving the Fokker-Planck equation of the underlying stochastic learning dynamics, we show that due to its strong anisotropy the SGD noise introduces an additional effective loss term that decreases with flatness and has an overall strength that increases with the learning rate and batch-to-batch variation. We find that the additional landscape-dependent SGD-loss breaks the degeneracy and serves as an effective regularization for finding flat solutions. Furthermore, a stronger SGD noise shortens the convergence time to the flat solutions. However, we identify an upper bound for the SGD noise beyond which the system fails to converge. Our results not only elucidate the role of SGD for generalization they may also have important implications for hyperparameter selection for learning efficiently without divergence.

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

↑