自适应学习率的方差及其改进

On the Variance of the Adaptive Learning Rate and Beyond

刘力源 Liyuan Liu · UIUC / Microsoft · 2019-08-08 · arXiv:1908.03265 ↗ · 被引 2262

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

学习率预热启发式方法在稳定训练、加速收敛以及提升 RMSprop 和 Adam 等自适应随机优化算法的泛化能力方面取得了显著成功。本文详细研究了其机制。在探索预热背后的理论时,我们发现了自适应学习率的一个问题(即在早期阶段其方差过大),提出预热作为一种方差缩减技术,并通过实验和理论证据验证了我们的假设。我们进一步提出了 RAdam,这是 Adam 的一个新变体,通过引入一项来修正自适应学习率的方差。在图像分类、语言建模和神经机器翻译上的大量实验结果验证了我们的直觉,并展示了所提方法的有效性和鲁棒性。所有实现均可从 https://github.com/LiyuanLucasLiu/RAdam 获取。

The learning rate warmup heuristic achieves remarkable success in stabilizing training, accelerating convergence and improving generalization for adaptive stochastic optimization algorithms like RMSprop and Adam. Here, we study its mechanism in details. Pursuing the theory behind warmup, we identify a problem of the adaptive learning rate (i.e., it has problematically large variance in the early stage), suggest warmup works as a variance reduction technique, and provide both empirical and theoretical evidence to verify our hypothesis. We further propose RAdam, a new variant of Adam, by introducing a term to rectify the variance of the adaptive learning rate. Extensive experimental results on image classification, language modeling, and neural machine translation verify our intuition and demonstrate the effectiveness and robustness of our proposed method. All implementations are available at: https://github.com/LiyuanLucasLiu/RAdam.

核心贡献 · Key contributions

局限 · Limitations

论文章节 · Sections(共 16)

阅读逐段中英对照全文 →