arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.11371cs.LGmath.OCstat.ML
收藏

正确正则化学习神经网络的Adam推广

Understanding the Generalization of Adam in Learning Neural Networks with Proper Regularization

University of California, Los Angeles(加州大学洛杉矶分校);The University of Hong Kong(香港大学);Carnegie Mellon University(卡内基梅隆大学)

Difan Zou, Yuan Cao, Yuanzhi Li, Quanquan Gu

摘要:

Adam等自适应梯度方法在深度学习优化中越来越受欢迎。然而,已经观察到,与(随机)梯度下降相比,Adam可以收敛到不同的解决方案,在许多深度学习应用中(如图像分类),即使使用微调的正则化,测试误差也明显更差。在本文中,我们对这一现象提供了理论解释:我们证明了,在从相同的随机初始化开始学习过参数化的两层卷积神经网络的非凸设置中,对于一类数据分布,(受图像数据启发),Adam和梯度下降(GD)可以收敛到训练目标的具有可证明不同的泛化误差的不同全局解,即使使用权重衰减正则化。相比之下,我们表明,如果训练目标是凸的,并采用权重衰减正则化,任何优化算法,包括亚当和GD将收敛到相同的解决方案,如果训练成功。这表明Adam的较差泛化性能从根本上与深度学习优化的非凸景观有关。

英文摘要:

Adaptive gradient methods such as Adam have gained increasing popularity in deep learning optimization. However, it has been observed that compared with (stochastic) gradient descent, Adam can converge to a different solution with a significantly worse test error in many deep learning applications such as image classification, even with a fine-tuned regularization. In this paper, we provide a theoretical explanation for this phenomenon: we show that in the nonconvex setting of learning over-parameterized two-layer convolutional neural networks starting from the same random initialization, for a class of data distributions (inspired from image data), Adam and gradient descent (GD) can converge to different global solutions of the training objective with provably different generalization errors, even with weight decay regularization. In contrast, we show that if the training objective is convex, and the weight decay regularization is employed, any optimization algorithms including Adam and GD will converge to the same solution if the training is successful. This suggests that the inferior generalization performance of Adam is fundamentally tied to the nonconvex landscape of deep learning optimization.

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

↑