Adafactor: Adaptive Learning Rates with Sublinear Memory Cost

By Noam Shazeer, Mitchell Stern. 2018

1,323 citations recorded by the source corpus.

In several recently proposed stochastic optimization methods (e.g. RMSProp, Adam, Adadelta), parameter updates are scaled by the inverse square roots of exponential moving averages of squared past gradients. Maintaining these per-parameter second-moment estimators requires memory equal to the number of parameters. For the case of neural network weight matrices, we propose maintaining only the per-row and per-column sums of these moving averages, and estimating the per-parameter second moments based on these sums. We demonstrate empirically that this method produces similar results to the baseline. Secondly, we show that adaptive methods can produce larger-than-desired updates when the decay rate of the second moment accumulator is too slow. We propose update clipping and a gradually increasing decay rate scheme as remedies. Combining these methods and dropping momentum, we achieve comparable results to the published Adam regime in training the Transformer model on the WMT 2014 English-German machine translation task, while using very little auxiliary storage in the optimizer. Finally, we propose scaling the parameter updates based on the scale of the parameters themselves.

Subfields: Artificial Intelligence, Statistical and Nonlinear Physics, 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. Mohit Bansal
  2. Luke S. Zettlemoyer
  3. Quoc V. Le
  4. Jianfeng Gao
  5. Percy Liang
  6. Yejin Choi
  7. Graham Neubig
  8. Noah A. Smith

In Statistical and Nonlinear Physics

  1. Mohammad Norouzi
  2. David J. Fleet
  3. William Chan
  4. Greg Yang
  5. Chitwan Saharia
  6. Jonathan Ho
  7. Stefano Ermon
  8. Quoc V. Le

In Optimization & Training

  1. Quoc V. Le
  2. Yoshua Bengio
  3. Richard Socher
  4. Frank Hutter
  5. Barret Zoph
  6. Ruslan Salakhutdinov
  7. Luke S. Zettlemoyer
  8. Simon Lacoste-Julien

Citations in the corpus