arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.02153cs.LGcs.AI
收藏

重新审视自适应梯度下降优化中的初始步骤

Revisiting the Initial Steps in Adaptive Gradient Descent Optimization

Robotics Institute, Carnegie Mellon University(卡内基梅隆大学机器人研究所)

Abulikemu Abuduweili, Changliu Liu

AI总结:

针对自适应梯度优化方法(如Adam)泛化性能欠佳、训练Transformer时不稳定的问题,本研究指出二阶矩估计标准初始化($v_0=0$)是关键因素,提出数据驱动或随机非零初始化策略,实证表明其能稳定收敛、提升性能,使Adam可媲美近期自适应优化变体。

摘要:

自适应梯度优化方法(如Adam)因其能实现更快收敛,在各类机器学习任务的深度神经网络训练中被广泛应用。然而,与随机梯度下降(SGD)相比,这些方法往往泛化性能欠佳,且存在不稳定性,尤其在训练Transformer模型时更为明显。本研究表明,二阶矩估计的标准初始化($v_0=0$)是导致这些局限的重要因素。我们提出简单且有效的解决方案:通过数据驱动或随机初始化策略,将二阶矩估计初始化为非零值。实证评估显示,该方法不仅稳定了收敛过程,还提升了自适应梯度优化器的最终性能;此外,采用所提初始化策略后,Adam的性能可与许多近期提出的自适应梯度优化方法变体相媲美。代码可在https://github.com/Walleclipse/Adam_Initialization获取。

英文摘要:

Adaptive gradient optimization methods, such as Adam, are prevalent in training deep neural networks across diverse machine learning tasks due to their ability to achieve faster convergence. However, these methods often suffer from suboptimal generalization compared to stochastic gradient descent (SGD) and exhibit instability, particularly when training Transformer models. In this work, we show the standard initialization of the second-order moment estimation ($v_0 =0$) as a significant factor contributing to these limitations. We introduce simple yet effective solutions: initializing the second-order moment estimation with non-zero values, using either data-driven or random initialization strategies. Empirical evaluations demonstrate that our approach not only stabilizes convergence but also enhances the final performance of adaptive gradient optimizers. Furthermore, by adopting the proposed initialization strategies, Adam achieves performance comparable to many recently proposed variants of adaptive gradient optimization methods. Our code is available at https://github.com/Walleclipse/Adam_Initialization.

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

↑