0

On the Variance of the Adaptive Learning Rate and Beyond

The warmup heuristic stabilizes training and improves generalization for adaptive stochastic optimization algorithms by reducing variance in the adaptive learning rate, and RAdam is proposed as an effective variant of Adam.

Year
2019
Venue
ICLR 2020 1
Authors
7
Hosting
Abstract onlyARXIV-DEFAULT

Cite

Notes

Only stored in your browser.

Attribution

Abstract & full text
arxiv.org/abs/1908.03265v4ARXIV-DEFAULT
TL;DR
Semantic Scholar
Attribution policy →

Abstract

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.

Authors

7