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

如何在Adam中设置β₁、β₂:从在线学习的角度

How to Set $β_1, β_2$ in Adam: An Online Learning Perspective

University of Victoria, Canada(维多利亚大学)

Quan Nguyen

AI总结:

本文从在线学习角度分析Adam优化器中β₁和β₂的设置问题,推导出适用于β₁≥√β₂和β₁≤√β₂的更一般分析,并证明在最坏情况下这些界限是紧的。

摘要:

尽管Adam是训练大规模机器学习模型最有效的优化器之一,但对其动量因子β₁和β₂如何最优设置的理论理解仍不完整。先前的研究表明,Adam可以被视为在线学习中最重要的算法类别之一,即跟随正则化领导者(FTRL)的一个实例。这些先前工作的分析要求设置β₁=√β₂,这不涵盖更实际的情况中β₁≠√β₂的情况。我们推导出新的、更一般的分析,适用于β₁≥√β₂和β₁≤√β₂两种情况。在两种情况下,我们的结果严格推广了现有的界限。此外,我们证明这些界限在最坏情况下是紧的。我们还证明,设置β₁=√β₂对于一个无意识对手是最优的,但对于一个非无意识对手则是次优的。

英文摘要:

While Adam is one of the most effective optimizer for training large-scale machine learning models, a theoretical understanding of how to optimally set its momentum factors, $β_1$ and $β_2$, remains largely incomplete. Prior works have shown that Adam can be seen as an instance of Follow-the-Regularized-Leader (FTRL), one of the most important class of algorithms in online learning. The prior analyses in these works required setting $β_1 = \sqrt{β_2}$, which does not cover the more practical cases with $β_1 \neq \sqrt{β_2}$. We derive novel, more general analyses that hold for both $β_1 \geq \sqrt{β_2}$ and $β_1 \leq \sqrt{β_2}$. In both cases, our results strictly generalize the existing bounds. Furthermore, we show that our bounds are tight in the worst case. We also prove that setting $β_1 = \sqrt{β_2}$ is optimal for an oblivious adversary, but sub-optimal for an non-oblivious adversary.

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

↑