On the adequacy of untuned warmup for adaptive optimization

By Jerry Ma, Denis Yarats. 2019

83 citations recorded by the source corpus.

Adaptive optimization algorithms such as Adam (Kingma and Ba, 2014) are widely used in deep learning. The stability of such algorithms is often improved with a warmup schedule for the learning rate. Motivated by the difficulty of choosing and tuning warmup schedules, recent work proposes automatic variance rectification of Adam's adaptive learning rate, claiming that this rectified approach ("RAdam") surpasses the vanilla Adam algorithm and reduces the need for expensive tuning of Adam with warmup. In this work, we refute this analysis and provide an alternative explanation for the necessity of warmup based on the magnitude of the update term, which is of greater relevance to training stability. We then provide some "rule-of-thumb" warmup schedules, and we demonstrate that simple untuned warmup of Adam performs more-or-less identically to RAdam in typical practical settings. We conclude by suggesting that practitioners stick to linear warmup with Adam, with a sensible default being linear warmup over 2 / (1 - β₂) training iterations.

Subfields: Artificial Intelligence, Management Science and Operations Research, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Devi Parikh
  2. Mohit Bansal
  3. Trevor Darrell
  4. Vedanuj Goswami
  5. Sashank J. Reddi
  6. Percy Liang
  7. Amanpreet Singh
  8. Jianfeng Gao

In Management Science and Operations Research

  1. Pedro H. P. Savarese
  2. David A. McAllester
  3. Michael Maire
  4. Sanjiv Kumar
  5. Devi Parikh
  6. Sashank J. Reddi
  7. Seungyeon Kim
  8. Andreas Veit

In Optimization & Training

  1. Sashank J. Reddi
  2. Suvrit Sra
  3. Sanjiv Kumar
  4. Sai Praneeth Karimireddy
  5. Jingzhao Zhang
  6. Pedro H. P. Savarese
  7. David A. McAllester
  8. Michael Maire

Citations in the corpus