Accelerated Large Batch Optimization of BERT Pretraining in 54 minutes
Not on the map. Why?
Abstract (arXiv)
BERT has recently attracted a lot of attention in natural language understanding (NLU) and achieved state-of-the-art results in various NLU tasks. However, its success requires large deep neural networks and huge amount of data, which result in long training time and impede development progress. Using stochastic gradient methods with large mini-batch has been advocated as an efficient tool to reduce the training time. Along this line of research, LAMB is a prominent example that reduces the training time of BERT from 3 days to 76 minutes on a TPUv3 Pod. In this paper, we propose an accelerated gradient method called LANS to improve the efficiency of using large mini-batches for training. As the learning rate is theoretically upper bounded by the inverse of the Lipschitz constant of the function, one cannot always reduce the number of optimization iterations by selecting a larger learning rate. In order to use larger mini-batch size without accuracy loss, we develop a new learning rate scheduler that overcomes the difficulty of using large learning rate. Using the proposed LANS method and the learning rate scheme, we scaled up the mini-batch sizes to 96K and 33K in phases 1 and 2 of BERT pretraining, respectively. It takes 54 minutes on 192 AWS EC2 P3dn.24xlarge instances to achieve a target F1 score of 90.5 or higher on SQuAD v1.1, achieving the fastest BERT training time in the cloud.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 1; 2023: 3; 2024: 0; 2025: 1.
7 papers.
- 2021Communication-Compressed Adaptive Gradient Method for Distributed Nonconvex Optimizationcited by 12
- 2025LLM Content Moderation and User Satisfaction: Evidence from Response Refusals in Chatbot Arenacited by 6
- 2021Compressed Communication for Distributed Training: Adaptive Methods and Systemcited by 5
- 2023DropCompute: simple and more robust distributed synchronous training via compute variance reductioncited by 4
- 2023Accelerating Large Batch Training via Gradient Signal to Noise Ratio (GSNR)cited by 3
- 2022DynaMaR: Dynamic Prompt with Mask Token Representationcited by 0
- 2023Transformer-based Named Entity Recognition in Construction Supply Chain Risk Management in Australiacited by 0
- 2025LLM Content Moderation and User Satisfaction: Evidence from Response Refusals in Chatbot Arena4 Jan 2025
- 2023Transformer-based Named Entity Recognition in Construction Supply Chain Risk Management in Australia23 Nov 2023
- 2023Accelerating Large Batch Training via Gradient Signal to Noise Ratio (GSNR)24 Sep 2023
- 2023DropCompute: simple and more robust distributed synchronous training via compute variance reduction18 Jun 2023
- 2022DynaMaR: Dynamic Prompt with Mask Token Representation7 Jun 2022
- 2021Communication-Compressed Adaptive Gradient Method for Distributed Nonconvex Optimization1 Nov 2021
- 2021Compressed Communication for Distributed Training: Adaptive Methods and System17 May 2021