arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.08100cs.LGmath.OCmath.PR
收藏

学习率不消失时Adam及其他自适应随机梯度下降优化方法的不收敛性

Non-convergence of Adam and other adaptive stochastic gradient descent optimization methods for non-vanishing learning rates

University of Münster(明斯特大学);The Chinese University of Hong Kong, Shenzhen (CUHK-Shenzhen)(香港中文大学(深圳));Shenzhen Research Institute of Big Data(深圳大数据研究院)

Steffen Dereich, Robin Graeber, Arnulf Jentzen

AI总结:

本研究针对学习率不消失时自适应SGD方法的收敛性问题,证明Adam等自适应优化器在学习率渐近有非零下界时无法收敛到随机极限点,并建立了一类加速自适应SGD方法的路径式先验界。

摘要:

深度学习算法——通常由一类通过随机梯度下降(SGD)优化方法训练的深度神经网络组成——如今是众多人工智能(AI)系统的核心组成部分,已经彻底改变了现代社会中人们的工作与生活方式。例如,SGD方法被用于训练功能强大的大语言模型(LLM),如不同版本的ChatGPT和Gemini;SGD方法被用于构建成功的生成式AI文本生成图像模型,如Midjourney、DALL-E和Stable Diffusion;此外,SGD方法还被用于训练深度神经网络(DNN),以近似求解科学模型,例如物理和生物学领域的偏微分方程(PDE)模型,以及工程领域的最优控制与停时问题。众所周知,若学习率有非零下界,即使在若干凸优化问题的场景下,普通标准SGD方法也无法收敛。然而,在许多实际相关的训练场景中,人们通常使用的并非普通标准SGD方法,而是RMSprop、Adam优化器这类自适应SGD方法,这类方法会在训练过程中自适应调整学习率。这自然引出了一个问题:这类在训练过程中自适应调整学习率的自适应优化器,在学习率不消失的情况下是否能够收敛?在本研究中,我们对该问题给出了否定答案,证明了当学习率渐近有非零下界时,流行的Adam优化器这类自适应SGD方法无法收敛到任何可能的随机极限点。在证明该不收敛结果的过程中,我们为一类加速与自适应SGD方法建立了合适的路径式先验界,这些界本身也具有独立研究价值。

英文摘要:

Deep learning algorithms - typically consisting of a class of deep neural networks trained by a stochastic gradient descent (SGD) optimization method - are nowadays the key ingredients in many artificial intelligence (AI) systems and have revolutionized our ways of working and living in modern societies. For example, SGD methods are used to train powerful large language models (LLMs) such as versions of ChatGPT and Gemini, SGD methods are employed to create successful generative AI based text-to-image creation models such as Midjourney, DALL-E, and Stable Diffusion, but SGD methods are also used to train DNNs to approximately solve scientific models such as partial differential equation (PDE) models from physics and biology and optimal control and stopping problems from engineering. It is known that the plain vanilla standard SGD method fails to converge even in the situation of several convex optimization problems if the learning rates are bounded away from zero. However, in many practical relevant training scenarios, often not the plain vanilla standard SGD method but instead adaptive SGD methods such as the RMSprop and the Adam optimizers, in which the learning rates are modified adaptively during the training process, are employed. This naturally rises the question whether such adaptive optimizers, in which the learning rates are modified adaptively during the training process, do converge in the situation of non-vanishing learning rates. In this work we answer this question negatively by proving that adaptive SGD methods such as the popular Adam optimizer fail to converge to any possible random limit point if the learning rates are asymptotically bounded away from zero. In our proof of this non-convergence result we establish suitable pathwise a priori bounds for a class of accelerated and adaptive SGD methods, which are also of independent interest.

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

↑