本文研究了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.
L $_2$正则化和权重衰减正则化对于标准的随机梯度下降是等价的(当通过学习率重新缩放时),但是正如我们所证明的,这是自适应梯度算法的\emph{not}情况,例如Adam。虽然这些算法的常见实现采用L $_2$正则化(通常称之为“权重衰减”,由于我们暴露的不等价性,可能会产生误导),但我们提出了一个简单的修改,以通过\emph{decoupling}从w.r.t.损失函数。我们提供的经验证据表明,我们提出的修改(i)从标准SGD和Adam的学习率设置中获得了权重衰减因子的最佳选择,(ii)大大提高了Adam的泛化性能,使其能够在图像分类数据集上与具有动量的SGD竞争(在此之前,后者通常优于前者)。我们提出的解耦权重衰减已经被许多研究人员采用,社区已经在TensorFlow和PyTorch中实现了它;我们实验的完整源代码可以在https://github.com/loshchil/AdamW-and-SGDW上获得
FedAdamW: A Communication-Efficient Optimizer with Convergence and Generalization Guarantees for Federated Large Models
School of Computer Science and Technology, Tianjin University(天津大学计算机科学与技术学院);Medical College, Tianjin University(天津大学医学院);School of Artificial Intelligence, Xidian University(西安电子科技大学人工智能学院);State Key Lab of General Artificial Intelligence, School of Intelligence Science and Technology, Peking University(北京大学智能科学与技术学院通用人工智能国家重点实验室);Pazhou Laboratory (Huangpu), Guangzhou, Guangdong, China(广州黄埔 Pazhou 实验室)
AdaFamily: A family of Adam-like adaptive gradient methods
DIGITAL - Institute for Information and Communication Technologies(DIGITAL - 信息与通信技术研究所);JOANNEUM RESEARCH(格拉茨乔安努姆研究机构(JOANNEUM RESEARCH));Graz, Austria(奥地利格拉茨)
Decoupling Variance and Scale-Invariant Updates in Adaptive Gradient Descent for Unified Vector and Matrix Optimization
Department of Computer Science, Purdue University, West Lafayette, USA(计算机科学系,普渡大学,西拉法叶,美国);Edwardson School of Industrial Engineering, Purdue University, West Lafayette, USA(工业工程学院,普渡大学,西拉法叶,美国)
Adam-family Methods for Nonsmooth Optimization with Convergence Guarantees
Institute of Operations Research and Analytics(运筹学与分析研究所);National University of Singapore(新加坡国立大学);School of Computer and Computing Science(计算机与计算科学学院);Hangzhou City University(杭州城市大学);State Key Laboratory of Scientific and Engineering Computing(科学与工程计算国家重点实验室);Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);Department of Mathematics(数学系)
The quadratic assignment problem: the linearization of Xia and Yuan is weaker than the linearization of Adams and Johnson and a family of cuts to narrow the gap