arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.08377cs.LGmath.OC
收藏

一种新的带梯度分解的自适应梯度法

A New Adaptive Gradient Method with Gradient Decomposition

Center for Data Science(数据科学中心);Peking University(北京大学);Key Lab. of Machine Perception (MOE)(机器感知教育部重点实验室);School of EECS, Peking University(北京大学电子工程与计算机科学学院);Peng Cheng Laboratory(鹏城实验室)

Zhou Shao, Tong Lin

摘要:

自适应梯度方法,特别是Adam类型的方法(如Adam,AMSGrad和AdaBound),已经被提出来加速训练过程,并在学习率上使用逐元素缩放项。然而,与随机梯度下降(SGD)及其加速方案(如带动量的SGD(SGDM))相比,它们的推广性较差。在本文中,我们提出了一种新的自适应方法,称为DecGD,同时实现良好的推广SGDM和获得快速收敛像亚当型方法。具体地,DecGD将当前梯度分解为包括替代梯度和基于损失的向量的两项的乘积。我们的方法调整学习率自适应根据当前的损失为基础的向量,而不是在亚当型方法中使用的平方梯度。DecGD的自适应学习率的直觉是,在一般情况下,一个好的优化器需要随着损失的减少而减少学习率,这类似于学习率衰减调度技术。因此,DecGD在训练的早期阶段获得快速收敛,并根据基于损失的向量来控制有效的学习率,这有助于导致更好的泛化。收敛性分析讨论了凸和非凸的情况下。最后,广泛使用的任务和模型的实证结果表明,DecGD表现出更好的泛化性能比SGDM和快速收敛像亚当类型的方法。

英文摘要:

Adaptive gradient methods, especially Adam-type methods (such as Adam, AMSGrad, and AdaBound), have been proposed to speed up the training process with an element-wise scaling term on learning rates. However, they often generalize poorly compared with stochastic gradient descent (SGD) and its accelerated schemes such as SGD with momentum (SGDM). In this paper, we propose a new adaptive method called DecGD, which simultaneously achieves good generalization like SGDM and obtain rapid convergence like Adam-type methods. In particular, DecGD decomposes the current gradient into the product of two terms including a surrogate gradient and a loss based vector. Our method adjusts the learning rates adaptively according to the current loss based vector instead of the squared gradients used in Adam-type methods. The intuition for adaptive learning rates of DecGD is that a good optimizer, in general cases, needs to decrease the learning rates as the loss decreases, which is similar to the learning rates decay scheduling technique. Therefore, DecGD gets a rapid convergence in the early phases of training and controls the effective learning rates according to the loss based vectors which help lead to a better generalization. Convergence analysis is discussed in both convex and non-convex situations. Finally, empirical results on widely-used tasks and models demonstrate that DecGD shows better generalization performance than SGDM and rapid convergence like Adam-type methods.

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

↑