SGDR: Stochastic Gradient Descent with Warm Restarts
About
Restart techniques are common in gradient-free optimization to deal with multimodal functions. Partial warm restarts are also gaining popularity in gradient-based optimization to improve the rate of convergence in accelerated gradient schemes to deal with ill-conditioned functions. In this paper, we propose a simple warm restart technique for stochastic gradient descent to improve its anytime performance when training deep neural networks. We empirically study its performance on the CIFAR-10 and CIFAR-100 datasets, where we demonstrate new state-of-the-art results at 3.14% and 16.21%, respectively. We also demonstrate its advantages on a dataset of EEG recordings and on a downsampled version of the ImageNet dataset. Our source code is available at https://github.com/loshchil/SGDR
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | CIFAR-10 (test) | Accuracy95.23 | 3381 | |
| Natural Language Inference | RTE | Accuracy59.9 | 590 | |
| Image Classification | TinyImageNet (test) | Accuracy62.5 | 499 | |
| Machine Translation | WMT En-De 2014 (test) | BLEU27.35 | 379 | |
| Sentiment Analysis | IMDB (test) | Accuracy90.7 | 306 | |
| Question Answering | SQuAD v1.1 (test) | F1 Score88.61 | 260 | |
| Image Classification | ImageNet (test) | -- | 235 | |
| Knowledge | MMLU | Accuracy65.88 | 161 | |
| Machine Translation | IWSLT De-En 2014 (test) | BLEU35.21 | 146 | |
| Machine Translation | WMT En-De '14 | BLEU27.35 | 89 |