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

Adam 还是 Gauss-Newton?基于基对齐与 SGD 噪声的比较研究

Adam or Gauss-Newton? A Comparative Study In Terms of Basis Alignment and SGD Noise

Kempner Institute at Harvard University(哈佛大学凯普纳研究所);OpenAI(开放人工智能研究院)

Bingbin Liu, Rachit Bansal, Depen Morwani, Nikhil Vyas, David Alvarez-Melis, Sham M. Kakade

AI总结:

本研究比较了Adam与Gauss-Newton对角预条件优化器,分析基选择与梯度噪声的影响,发现Adam在全批量下可优于GN,在随机机制下与GN^{-1/2}相似,并通过实验验证。

摘要:

对角预条件器是二阶优化器的计算上可行的近似,在加速深度学习模型训练方面显示出巨大潜力。两种主要方法分别基于 Adam 和 Gauss-Newton (GN) 方法:前者利用当前梯度的统计信息,是神经网络的事实标准优化器;后者使用 Gauss-Newton 矩阵的对角元素,支撑了诸如 Sophia 等近期的一些对角优化器。在本工作中,我们通过两个关键因素的视角来比较这两种对角预条件方法:预条件器中基的选择,以及小批量处理带来的梯度噪声的影响。为了获得深入见解,我们在二次目标和逻辑回归上,于所有四个象限中分析这些优化器。我们表明,无论基如何选择,都存在一些实例,其中 Adam 在全批量设置下优于 GN$^{-1}$ 和 GN$^{-1/2}$。相反,在随机(小批量)机制下,对于线性回归,在高斯数据假设下,Adam 的表现类似于 GN$^{-1/2}$。这些理论结果得到了在凸和非凸目标上的实证研究的支持。

英文摘要:

Preconditioned methods are central to deep learning optimization. Predominant approaches include computationally light diagonal preconditioners such as Adam, which rely on gradient statistics, and second-order methods such as Gauss-Newton (GN), which capture richer curvature information. Seeking the best of both worlds, we disentangle the preconditioner design space into several factors, separating the choice of diagonal scaling (Adam-style versus GN-style) from 1) the basis choices under which the diagonal scaling operates, and 2) the gradient noises from mini-batching. Our theoretical results show that GN's optimality for linear regression no longer holds under a poorly chosen basis under both population and stochastic updates, or a move from linear regression to a non-convex variant of logistic regression. In these settings, Adam-style methods offer genuine advantages over curvature-inspired preconditioning, rather than serving merely as a tractable proxy. Empirical results on synthetic problems and CIFAR-10 support these findings.

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

↑