arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.08858math.OCcs.AIcs.LGstat.ML
收藏

Adam族方法在深度学习中的解耦权重衰减

Adam-family Methods with Decoupled Weight Decay in Deep Learning

National University of Singapore(新加坡国立大学)

Kuangyu Ding, Nachuan Xiao, Kim-Chuan Toh

AI总结:

本文提出Adam族方法解耦权重衰减的统一框架,证明其收敛性并渐近逼近SGD,解释泛化提升,进而提出AdamD方法,实验显示其性能优于Adam、媲美AdamW。

摘要:

本文研究了Adam族方法在最小化二次正则化非光滑非凸优化问题时的收敛性质,特别是在训练带有权重衰减的非光滑神经网络的背景下。受AdamW方法的启发,我们提出了一个用于带有解耦权重衰减的Adam族方法的新框架。在我们的框架中,随机次梯度的一阶和二阶矩估计独立于权重衰减项进行更新。在温和假设下,并采用非递减步长更新主优化变量时,我们建立了所提框架的收敛性质。此外,我们表明所提出的框架涵盖了多种著名的Adam族方法,从而为这些方法在非光滑神经网络训练中提供了收敛保证。更重要的是,我们证明了所提出的框架渐近逼近SGD方法,从而为经验观察提供了解释,即解耦权重衰减增强了Adam族方法的泛化性能。作为我们框架的一个实际应用,我们提出了一种新的Adam族方法,名为Adam with Decoupled Weight Decay (AdamD),并在温和条件下建立了其收敛性质。数值实验表明,AdamD在泛化性能和效率方面均优于Adam,并与AdamW相当。

英文摘要:

In this paper, we investigate the convergence properties of a wide class of Adam-family methods for minimizing quadratically regularized nonsmooth nonconvex optimization problems, especially in the context of training nonsmooth neural networks with weight decay. Motivated by the AdamW method, we propose a novel framework for Adam-family methods with decoupled weight decay. Within our framework, the estimators for the first-order and second-order moments of stochastic subgradients are updated independently of the weight decay term. Under mild assumptions and with non-diminishing stepsizes for updating the primary optimization variables, we establish the convergence properties of our proposed framework. In addition, we show that our proposed framework encompasses a wide variety of well-known Adam-family methods, hence offering convergence guarantees for these methods in the training of nonsmooth neural networks. More importantly, we show that our proposed framework asymptotically approximates the SGD method, thereby providing an explanation for the empirical observation that decoupled weight decay enhances generalization performance for Adam-family methods. As a practical application of our proposed framework, we propose a novel Adam-family method named Adam with Decoupled Weight Decay (AdamD), and establish its convergence properties under mild conditions. Numerical experiments demonstrate that AdamD outperforms Adam and is comparable to AdamW, in the aspects of both generalization performance and efficiency.

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

↑