[Paper Review] A Large Batch Optimizer Reality Check: Traditional, Generic Optimizers Suffice Across Batch Sizes
This paper demonstrates that traditional optimizers like Nesterov momentum and Adam can match or exceed the performance of specialized large-batch optimizers LARS and LAMB on ResNet-50 and BERT benchmarks without layer-wise normalization. The key finding is that standard optimizers, when properly tuned, achieve comparable or better accuracy at large batch sizes, challenging the necessity of complex update rules for scaling training efficiency.
Recently the LARS and LAMB optimizers have been proposed for training neural networks faster using large batch sizes. LARS and LAMB add layer-wise normalization to the update rules of Heavy-ball momentum and Adam, respectively, and have become popular in prominent benchmarks and deep learning libraries. However, without fair comparisons to standard optimizers, it remains an open question whether LARS and LAMB have any benefit over traditional, generic algorithms. In this work we demonstrate that standard optimization algorithms such as Nesterov momentum and Adam can match or exceed the results of LARS and LAMB at large batch sizes. Our results establish new, stronger baselines for future comparisons at these batch sizes and shed light on the difficulties of comparing optimizers for neural network training more generally.
Motivation & Objective
- To evaluate whether LARS and LAMB offer real advantages over standard optimizers at large batch sizes.
- To establish stronger, fairer baselines for large-batch neural network training by using well-tuned standard optimizers.
- To investigate whether the performance gains of LARS and LAMB are due to better optimization or indirect regularization effects.
- To highlight the critical role of hyperparameter tuning in optimizer comparisons and the risks of biased benchmarking.
- To advocate for more rigorous, standardized evaluation protocols in future optimizer research.
Proposed method
- Retrained ResNet-50 on ImageNet using Nesterov momentum and Adam at large batch sizes (up to 32,768), with extensive hyperparameter tuning.
- Applied the same learning rate schedules and regularization techniques used in LARS and LAMB benchmarks to ensure fair comparison.
- Used identical data preprocessing, model architecture, and training protocols as the original LARS and LAMB studies.
- Performed ablation studies to isolate the impact of optimizer choice from other training pipeline components.
- Evaluated performance on both training and validation loss to disentangle optimization speed from regularization effects.
- Conducted experiments on BERT pre-training to test generalization beyond computer vision.
Experimental results
Research questions
- RQ1Do LARS and LAMB provide measurable performance advantages over standard optimizers like Adam and Nesterov momentum at large batch sizes?
- RQ2To what extent are performance gains from LARS and LAMB due to better optimization versus implicit regularization?
- RQ3Can standard optimizers achieve comparable or better results than LARS and LAMB when given equivalent hyperparameter tuning effort?
- RQ4How sensitive are optimizer comparisons to differences in learning rate scheduling and training pipeline configuration?
- RQ5What are the implications for benchmarking and evaluating new optimizers in deep learning?
Key findings
- Nesterov momentum achieved validation accuracy on ResNet-50 that matched or exceeded the LARS result at a batch size of 32,768, despite LARS being specifically designed for large-batch training.
- Adam matched or outperformed LAMB on BERT pre-training at batch sizes up to 65,536, contradicting claims that Adam cannot scale beyond 16,384.
- The performance gains of LARS and LAMB were not due to superior optimization but likely stemmed from implicit regularization effects, as standard optimizers showed better training accuracy while reaching similar validation performance.
- The study revealed that learning rate schedules are more impactful than optimizer choice, and that unbalanced tuning leads to misleading claims of superiority for new optimizers.
- Standard optimizers like Adam and Nesterov momentum remain competitive and often superior when properly tuned, challenging the necessity of complex, specialized update rules.
- The results underscore the need for standardized, competitive benchmarks where all optimizers are evaluated under identical tuning and pipeline conditions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.