arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.02070cs.LGcs.NAmath.NA
收藏

Adam优化器的不收敛性和极限环

Non-Convergence and Limit Cycles in the Adam optimizer

OTH Regensburg(雷根斯堡应用技术大学)

Sebastian Bock, Martin Georg Weiß

摘要:

深度神经网络最流行的训练算法之一是由Kingma和Ba引入的自适应矩估计(Adam)。尽管它在许多应用中取得了成功,但没有令人满意的收敛性分析:在超参数的某些限制下,批处理模式只能显示局部收敛,增量模式存在反例。最近的研究结果表明,对于简单的二次目标函数,在批处理模式下存在周期为2的极限环,但仅限于非典型超参数,并且仅限于没有偏差校正的算法。更一般地,有几种更自适应的梯度方法,它们试图从训练数据中估计拟合学习率和/或搜索方向,以与具有固定学习率的纯梯度下降相比改进学习过程。我们扩展了亚当在批处理模式下的收敛性分析与偏差校正,并表明,即使是二次目标函数作为最简单的情况下凸函数2极限环存在,所有的超参数的选择。我们分析了这些极限环的稳定性,并与我们的分析,其他结果的近似收敛,但在额外的假设下,有界梯度不适用于二次函数。由于方程的复杂性,调查严重依赖于计算机代数的使用。

英文摘要:

One of the most popular training algorithms for deep neural networks is the Adaptive Moment Estimation (Adam) introduced by Kingma and Ba. Despite its success in many applications there is no satisfactory convergence analysis: only local convergence can be shown for batch mode under some restrictions on the hyperparameters, counterexamples exist for incremental mode. Recent results show that for simple quadratic objective functions limit cycles of period 2 exist in batch mode, but only for atypical hyperparameters, and only for the algorithm without bias correction. %More general there are several more adaptive gradient methods which try to estimate a fitting learning rate and / or search direction from the training data to improve the learning process compared to pure gradient descent with fixed learningrate. We extend the convergence analysis for Adam in the batch mode with bias correction and show that even for quadratic objective functions as the simplest case of convex functions 2-limit-cycles exist, for all choices of the hyperparameters. We analyze the stability of these limit cycles and relate our analysis to other results where approximate convergence was shown, but under the additional assumption of bounded gradients which does not apply to quadratic functions. The investigation heavily relies on the use of computer algebra due to the complexity of the equations.

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

↑