arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.15958cs.LG
收藏

从随机微分方程视角看自适应方法:关于噪声作用的理论洞见

Adaptive Methods through the Lens of SDEs: Theoretical Insights on the Role of Noise

University of Basel(巴塞尔大学);University of Oslo(奥斯陆大学);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);ELLIS Institute Tübingen(埃利斯研究所蒂宾根分所);Tübingen AI Center(蒂宾根人工智能中心)

Enea Monzio Compagnoni, Tianlin Liu, Rustem Islamov, Frank Norbert Proske, Antonio Orvieto, Aurelien Lucchi

AI总结:

本文通过为 SignSGD、RMSprop(W) 和 Adam(W) 建立新的随机微分方程,从理论上揭示自适应优化器中噪声、自适应性与曲率的关系,并通过多种网络架构上的数值实验验证了所提 SDE 的准确性。

摘要:

尽管大量经验证据支持自适应优化方法在深度学习中的有效性,但对其理论理解仍远未完成。本文为常用的自适应优化器 SignSGD、RMSprop(W) 和 Adam(W) 引入了新的随机微分方程(SDE)。这些 SDE 对这些优化器提供了定量准确的描述,并有助于阐明自适应性、梯度噪声和曲率之间错综复杂的关系。我们对 SignSGD 的新分析突显了其与 SGD 在收敛速度、平稳分布以及对重尾噪声的鲁棒性方面值得注意且精确的对比。我们将这一分析扩展到 AdamW 和 RMSpropW,观察到噪声的作用在这些方法中要复杂得多。至关重要的是,我们通过验证我们的洞见来用实验证据支持理论分析:这包括在各种神经网络架构(如 MLP、CNN、ResNet 和 Transformer)上使用 Euler-Maruyama 离散化对我们的 SDE 进行数值积分。我们的 SDE 能够准确跟踪相应优化器的行为,尤其是与之前为 Adam 和 RMSprop 推导的 SDE 相比。我们相信,我们的方法可以为最佳训练实践和新的缩放规则提供有价值的见解。

英文摘要:

Despite the vast empirical evidence supporting the efficacy of adaptive optimization methods in deep learning, their theoretical understanding is far from complete. This work introduces novel SDEs for commonly used adaptive optimizers: SignSGD, RMSprop(W), and Adam(W). These SDEs offer a quantitatively accurate description of these optimizers and help illuminate an intricate relationship between adaptivity, gradient noise, and curvature. Our novel analysis of SignSGD highlights a noteworthy and precise contrast to SGD in terms of convergence speed, stationary distribution, and robustness to heavy-tail noise. We extend this analysis to AdamW and RMSpropW, for which we observe that the role of noise is much more complex. Crucially, we support our theoretical analysis with experimental evidence by verifying our insights: this includes numerically integrating our SDEs using Euler-Maruyama discretization on various neural network architectures such as MLPs, CNNs, ResNets, and Transformers. Our SDEs accurately track the behavior of the respective optimizers, especially when compared to previous SDEs derived for Adam and RMSprop. We believe our approach can provide valuable insights into best training practices and novel scaling rules.

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

↑