arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2406.04443cs.LGmath.OC
收藏

当噪声具有重尾特性时,裁剪能改进 Adam-Norm 和 AdaGrad-Norm

Clipping Improves Adam-Norm and AdaGrad-Norm when the Noise Is Heavy-Tailed

Moscow Institute of Physics and Technology, Russia(莫斯科物理技术学院);Ivannikov Institute for System Programming RAS, Russia(伊万诺夫系统编程研究所);Sber AI Lab, Russia(俄罗斯Sber人工智能实验室);Innopolis University, Russia(因诺波利斯大学);The Russian Presidential Academy of National Economy and Public Administration, Russia(俄罗斯总统经济与公共行政学院);Skolkovo Institute of Science and Technology, Russia(斯克沃尔佐夫科学与技术研究所);Mohamed bin Zayed University of Artificial Intelligence, UAE(穆罕默德·本·扎耶德人工智能大学);Machine Learning and Optimization Laboratory (MLO), EPFL, Lausanne, Switzerland(机器学习与优化实验室(MLO),EPFL,拉瓦尔普勒斯,瑞士)

Savelii Chezhegov, Yaroslav Klyukin, Andrei Semenov, Aleksandr Beznosikov, Alexander Gasnikov, Samuel Horváth, Martin Takáč, Eduard Gorbunov

AI总结:

针对重尾噪声下AdaGrad/Adam高概率收敛性差的问题,证明梯度裁剪能为其及延迟版本提供多重对数依赖的新收敛界,并在实验中验证了优越性。

摘要:

具有自适应步长的方法,如 AdaGrad 和 Adam,对于训练现代深度学习模型至关重要,尤其是大型语言模型。通常,对于后者,随机梯度中的噪声具有重尾特性。梯度裁剪可证明有助于在此类噪声下实现良好的高概率收敛。然而,尽管 AdaGrad/Adam 与 Clip-SGD 之间存在相似性,目前对 AdaGrad/Adam 类型方法在这种情况下的高概率收敛理解仍然有限。在本研究中,我们证明了如果噪声具有重尾特性,AdaGrad/Adam(及其延迟版本)可能会出现可证明的糟糕高概率收敛。我们还表明,梯度裁剪解决了这一问题,即针对具有重尾噪声的光滑凸/非凸随机优化,我们推导出了新的高概率收敛界,其对置信水平具有多重对数依赖性,适用于带裁剪及带/不带延迟的 AdaGrad-Norm 和 Adam-Norm。我们将结果扩展到具有延迟步长的 AdaGrad/Adam 情形。我们的实证评估突出了 AdaGrad/Adam 裁剪版本在处理重尾噪声时的优越性。

英文摘要:

Methods with adaptive stepsizes, such as AdaGrad and Adam, are essential for training modern Deep Learning models, especially Large Language Models. Typically, the noise in the stochastic gradients is heavy-tailed for the later ones. Gradient clipping provably helps to achieve good high-probability convergence for such noises. However, despite the similarity between AdaGrad/Adam and Clip-SGD, the current understanding of the high-probability convergence of AdaGrad/Adam-type methods is limited in this case. In this work, we prove that AdaGrad/Adam (and their delayed version) can have provably bad high-probability convergence if the noise is heavy-tailed. We also show that gradient clipping fixes this issue, i.e., we derive new high-probability convergence bounds with polylogarithmic dependence on the confidence level for AdaGrad-Norm and Adam-Norm with clipping and with/without delay for smooth convex/non-convex stochastic optimization with heavy-tailed noise. We extend our results to the case of AdaGrad/Adam with delayed stepsizes. Our empirical evaluations highlight the superiority of clipped versions of AdaGrad/Adam in handling the heavy-tailed noise.

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

↑