2020
Cite Score
42
AI summary
This paper introduces LAMB, a new layerwise adaptive large batch optimization technique that leverages layerwise adaptation to accelerate the training of deep neural networks, demonstrating superior performance on BERT and RESNET-50, and reducing BERT training time to 76 minutes using a TPUv3 Pod.
Main Contributions
Abstract
Training large deep neural networks on massive datasets is computationally very challenging. There has been recent surge in interest in using large batch stochastic optimization methods to tackle this issue. The most prominent algorithm in this line of research is LARS, which by employing layerwise adaptive learning rates trains RESNET on ImageNet in a few minutes. However, LARS performs poorly for attention models like BERT, indicating that its performance gains are not consistent across tasks. In this paper, we first study a principled layerwise adaptation strategy to accelerate training of deep neural networks using large mini-batches. Using this strategy, we develop a new layerwise adaptive large batch optimization technique called LAMB; we then provide convergence analysis of LAMB as well as LARS, showing convergence to a stationary point in general nonconvex settings. Our empirical results demonstrate the superior performance of LAMB across various tasks such as BERT and RESNET-50 training with very little hyperparameter tuning. In particular, for BERT training, our optimizer enables use of very large batch sizes of 32868 without any degradation of performance. By increasing the batch size to the memory limit of a TPUv3 Pod, BERT training time can be reduced from 3 days to just 76 minutes (Table 1). The LAMB implementation is available online¹.
Citation Graph
References [32]
K. He, X. Zhang, S. Ren, Jian Sun - 2016
20 papers in library cite
Jacob Devlin, M. W. Chang, K. Lee, Kristina Toutanova - 2018
39 papers in library cite
Ilya Sutskever, James Martens, G. Dahl, Geoffrey Hinton - 2013
13 papers in library cite
Jeffrey Dean, G. S. Corrado, R. Monga, K. Chen, M. Devin, Quoc V. Le, Mark Z. Mao, Marc'aurelio Ranzato, A. Senior, P. Tucker, K. Yang, Andrew Y. Ng - 2012
16 papers in library cite
P. Goyal, Piotr Dollar, Ross Girshick, P. Noordhuis, L. Wesolowski, A. Kyrola, A. Tulloch, Y. Jia, K. He - 2017
2 papers in library cite
Nitish Shirish Keskar, D. Mudigere, J. Nocedal, M. Smelyanskiy, P. T. P. Tang - 2016
4 papers in library cite
Yoshua Bengio - 2012
3 papers in library cite
Benjamin Recht, C. Re, S. Wright, F. Niu - 2011
6 papers in library cite
Y. Nesterov - 1983
3 papers in library cite
C. J. Shallue, Jaehoon Lee, J. Antognini, Jascha Sohl Dickstein, R. Frostig, George E. Dahl - 2018
2 papers in library cite
James Martens, R. Grosse - 2015
2 papers in library cite
A. Devarakonda, M. Naumov, M. Garland - 2017
1 paper in library cites
C. Coleman, D. Narayanan, D. Kang, T. Z. Zhao, J. Zhang, L. Nardi, P. Bailis, K. Olukotun, C. Re, Matei Zaharia - 2017
1 paper in library cites
S. L. Smith, P. J. Kindermans, Quoc V. Le - 2017
1 paper in library cites
T. Akiba, S. Suzuki, K. Fukuda - 2017
1 paper in library cites
F. N. Iandola, M. W. Moskewicz, K. Ashraf, Kurt Keutzer - 2016
1 paper in library cites
X. Jia, S. Song, Weiran He, Yuzhi Wang, H. Rong, F. Zhou, L. Xie, Z. Guo, Yining Yang, Longhui Yu - 2018
1 paper in library cites
C. Ying, S. Kumar, Deli Chen, Tianle Wang, Y. Cheng - 2018
1 paper in library cites
Y. You, Zhengyou Zhang, Cho Jui Hsieh, J. Demmel, Kurt Keutzer - 2018
1 paper in library cites
H. Mikami, H. Suganuma, Y. Tanaka, Y. Kageyama - 2018
1 paper in library cites
T. Dozat - 2016
1 paper in library cites
Y. You, J. Hseu, C. Ying, J. Demmel, Kurt Keutzer, Cho Jui Hsieh - 2019
1 paper in library cites
S. Ghadimi, G. Lan, Haowei Zhang - 2014
1 paper in library cites
V. Codreanu, D. Podareanu, V. Saletore - 2017
1 paper in library cites
M. Li - 2017
1 paper in library cites
Y. You, I. Gitman, B. Ginsburg - 2017
1 paper in library cites
K. Osawa, Y. Tsuji, Y. Ueno, A. Naruse, R. Yokota, S. Matsuoka - 2018
1 paper in library cites
J. Bernstein, Y. X. Wang, K. Azizzadenesheli, A. Anandkumar - 2018
1 paper in library cites
S. Ghadimi, G. Lan - 2013
1 paper in library cites
S. Ghadimi, G. Lan - 2013
1 paper in library cites
E. Hoffer, I. Hubara, D. Soudry - 2017
1 paper in library cites
M. Yamazaki, A. Kasagi, A. Tabuchi, T. Honda, M. Miwa, N. Fukumoto, T. Tabaru, A. Ike, K. Nakashima - 2019
1 paper in library cites
Cited by
3
papers in your library
Cites
7
papers in your library
Read
on December 28, 2025
Your review
Tags