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

通过近似方法和无标度性理解AdamW

Understanding AdamW through Proximal Methods and Scale-Freeness

Boston University(波士顿大学);George Mason University(乔治梅森大学)

Zhenxun Zhuang, Mingrui Liu, Ashok Cutkosky, Francesco Orabona

摘要:

由于较少的超参数调整和出色的性能,Adam已被广泛用于训练深度神经网络。为了提高泛化能力,Adam通常与平方$\ell_2$正则化器(称为Adam- $\ell_2$)一起使用。然而,使用AdamW可以获得更好的性能,AdamW从Adam- $\ell_2$的更新规则中提取正则化子的梯度。然而,我们仍然缺乏对AdamW优点的完整解释。在本文中,我们从优化和经验的角度来解决这个问题。首先,我们将展示如何重新解释AdamW作为近似梯度方法,它利用正则化子的封闭形式的近似映射,而不是像Adam- $\ell_2$那样只利用其梯度信息。接下来,我们考虑AdamW及其邻近对应物所享有的“无标度”属性:它们的更新对于梯度的分量重新标度是不变的。我们在广泛的深度学习实验中提供了经验证据,表明AdamW表现出优于Adam- $\ell_2$的问题与我们期望网络梯度表现出多尺度的程度之间存在相关性,从而激发了AdamW的优势可能是由于无尺度更新的假设。

英文摘要:

Adam has been widely adopted for training deep neural networks due to less hyperparameter tuning and remarkable performance. To improve generalization, Adam is typically used in tandem with a squared $\ell_2$ regularizer (referred to as Adam-$\ell_2$). However, even better performance can be obtained with AdamW, which decouples the gradient of the regularizer from the update rule of Adam-$\ell_2$. Yet, we are still lacking a complete explanation of the advantages of AdamW. In this paper, we tackle this question from both an optimization and an empirical point of view. First, we show how to re-interpret AdamW as an approximation of a proximal gradient method, which takes advantage of the closed-form proximal mapping of the regularizer instead of only utilizing its gradient information as in Adam-$\ell_2$. Next, we consider the property of "scale-freeness" enjoyed by AdamW and by its proximal counterpart: their updates are invariant to component-wise rescaling of the gradients. We provide empirical evidence across a wide range of deep learning experiments showing a correlation between the problems in which AdamW exhibits an advantage over Adam-$\ell_2$ and the degree to which we expect the gradients of the network to exhibit multiple scales, thus motivating the hypothesis that the advantage of AdamW could be due to the scale-free updates.

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

↑