Paper commentary
Super-Convergence: Very Fast Training of Neural Networks Using Large Learning Rates
Large learning rate cycles train networks much faster than standard schedules
- Problem Standard training takes many iterations, because the learning rate is kept near 0.1 and then cut in steps. The cost grows when labeled training data is limited.
- Method The 1cycle policy runs one cycle of large learning rates instead of step cuts. It also lowers weight decay and other regularizers to keep the overall regularization balance right.
- Results Resnet-56 on Cifar-10 reached 92.4% after about 10,000 iterations, while piecewise-constant training peaked at 91.2% after about 80,000.
Where standard schedules fall short
Standard training keeps a global learning rate near 0.1 for many epochs, until test accuracy levels off. It then cuts the rate by a factor of 0.1 and repeats this two or three times. The cost shows up on Resnet-56 trained on Cifar-10, where the piecewise-constant run peaks at 91.2% after about 80,000 iterations. The problem gets worse when the labeled training set shrinks.
Large learning rates as a regularizer
The key idea is that a large learning rate regularizes training, so the other regularizers have to be turned down. Practitioners already balance several regularizers, including large learning rates, small batch sizes, weight decay, and dropout. The authors' point is that this balance has to be set again for each dataset and architecture. Once large rates supply regularization, cutting weight decay and similar terms keeps the total balance right, which makes training more efficient.
Choosing bounds with the range test and 1cycle
The learning rate range test starts from zero or a very small rate and raises it linearly during a pre-training run. Accuracy rises while the rate is useful and falls once the rate becomes too large, so the peak sets the maximum bound. The minimum is then taken as the maximum divided by 3 or 4. On Resnet-56 with Cifar-10 the authors tested rates up to 3.0, and accuracy stayed high across that range, which they read as a sign of potential for super-convergence.
Runs with 5,000, 20,000, and 100,000 maximum iterations gave curves that the authors read as independent of run length.
1cycle keeps the cyclical schedule but uses one cycle that is shorter than the whole run. In the Imagenet runs the rate ramped from 0.05 to 1.0 and then fell to 0.00005 over 20 epochs.
Estimating the optimal learning rate
The authors start from Hessian-free optimization, but the full Hessian has on the order of N squared entries, which is too costly to compute. A finite difference of two gradients gives an estimate of curvature in the direction of steepest descent. The AdaSecant form turns this into a per-weight rate: the step size used times a ratio of weight differences across three sequential iterations.
To get one global rate, the authors borrow the summation from Schaul et al., but sum absolute values instead of squares so the result stays positive.
The raw estimate varies quickly, so the authors smooth it with a moving average using α = 0.1. Over the first 300 iterations the smoothed estimate lies qualitatively in the range 2 to 6 for this architecture. The authors attribute the large values to small Hessian approximations, and they take that to mean SGD is finding flat and wide minima.
They say a full evaluation of the method is left for future work.
Cifar-10 speed, data size, depth and batch size
The main test compares Resnet-56 on Cifar-10 under CLR with piecewise-constant training. Super-convergence scored 92.4% after about 10,000 iterations, while piecewise-constant training peaked at 91.2% after about 80,000. With a maximum rate of 3, the modified schedule scored 92.1% after 6,000 iterations. Here the gain shows up in both iterations and peak accuracy.
Limited data is where the gap grows. The authors report 9.2% better for super-convergence in this case. So the authors conclude that super-convergence matters more as labeled data becomes scarcer.
The authors also tested Resnet-20 and Resnet-110 against piecewise-constant training with an initial rate of 0.35. Resnet-20 scored 90.4% with CLR, compared to 88.6% for the piecewise-constant schedule. For Resnet-110 the gain is smaller, at 92.1% versus 91.0%. The benefit is therefore larger for the shallower network in these two pairs.
Batch size was the next question, because the literature ties batch size to the generalization gap. The authors found a small accuracy gain with larger total mini-batch sizes, and the generalization gap was about the same for small and large batches. They read this as a departure from earlier reports, and as showing that large batches allow large learning rates.
ImageNet with weight decay reduced
On ImageNet the authors reduced weight decay, because the large rates needed it reduced. Resnet-50 with the standard schedule ended at 63.7% top-1, and its curve looked headed toward about 65%. The 1cycle runs, with the rate ramped from 0.05 to 1.0 and then down to 0.00005, scored 67.6% top-1 with weight decay from 3×10−6 to 10−5. Smaller weight decay values showed signs of underfitting, which hurt performance.
Inception-resnet-v2 with the step schedule scored 67.6% after 100 epochs, and the authors extrapolate its curve to 69-70%. With 1cycle over 20 epochs and weight decay of 3×10−6, it scored 74.0% top-1. The authors note a small amount of overfitting at that weight decay.
Other datasets and architectures
The wide resnet was built from a 32-layer resnet by using four times rather than two times the channels. For the 40-layer densenet, 1cycle over 50 epochs scored 91.7%, while the step policy needed 400 epochs to reach 92.7%. In the table the total batch size was 512.
On MNIST, LeNet with 1cycle scored near 99.3%, even in as few as 12 epochs.
Limitations
The Hessian-based estimate is qualitative, and the authors did not fully evaluate it. The authors did not observe super-convergence with the SGDR sawtooth pattern. Nesterov momentum, AdaDelta, AdaGrad and Adam did not use sufficiently large learning rates, and did not show super-convergence in the reported runs. The Imagenet curves average only two runs, and the weight decay for the 1cycle runs was picked by the authors' own tests.
The 69-70% extrapolation for inception-resnet-v2 is not a measured result.
Paper info
- Authors
- Smith, Leslie N., Topin, Nicholay
- Venue
- arXiv · Preprint
- First published
- 2017-8-23
- Added
- 2026-11-12
- Updated
- 2018-5-17
- Version
- v3
- arXiv
- 1708.07120
- Category
- cs.LG · cs.CV · cs.NE · stat.ML
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Smith, Leslie N., Topin, Nicholay (2017). Super-Convergence: Very Fast Training of Neural Networks Using Large Learning Rates. arXiv:1708.07120v3. https://arxiv.org/abs/1708.07120v3
BibTeX
@misc{n2017super,
title = {{Super-Convergence: Very Fast Training of Neural Networks Using Large Learning Rates}},
author = {Smith, Leslie N. and Topin, Nicholay},
year = {2017},
eprint = {1708.07120},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/1708.07120v3}
}