Don't Decay the Learning Rate, Increase the Batch Size

Samuel L. Smith, Pieter-Jan Kindermans, Chris Ying, Quoc V. Le
11/1/2017
1,182 citations
cs.LGcs.CVcs.DC

No official code found. Best implementation: shishishi123/CS5824-final-project (3 stars). 1 more below.

Abstract

It is common practice to decay the learning rate. Here we show one can usually obtain the same learning curve on both training and test sets by instead increasing the batch size during training.

Show full abstract

This procedure is successful for stochastic gradient descent (SGD), SGD with momentum, Nesterov momentum, and Adam. It reaches equivalent test accuracies after the same number of training epochs, but with fewer parameter updates, leading to greater parallelism and shorter training times. We can further reduce the number of parameter updates by increasing the learning rate $ε$ and scaling the batch size $B \propto ε$. Finally, one can increase the momentum coefficient $m$ and scale $B \propto 1/(1-m)$, although this tends to slightly reduce the test accuracy. Crucially, our techniques allow us to repurpose existing training schedules for large batch training with no hyper-parameter tuning. We train ResNet-50 on ImageNet to $76.1\%$ validation accuracy in under 30 minutes.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
shishishi123/CS5824-final-projectCommunity3–––
triggor/nn-project-dont-decayCommunity3–––

Reproduction of the "Don't Decay the Learning Rate, Increase the Batch Size" conference paper.

30

Reproducibility of fundings of the "DON’T DECAY THE LEARNING RATE, INCREASE THE BATCH SIZE" conference paper by Google

31

Similar Papers

Cite this paper

@article{smith2017dont,
  title  = {Don't Decay the Learning Rate, Increase the Batch Size},
  author = {Samuel L. Smith and Pieter-Jan Kindermans and Chris Ying and Quoc V. Le},
  year   = {2017},
  eprint = {1711.00489},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.00489}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1711.00489.svg)](https://codeofpaper.com/paper/1711.00489)

Discussion