Papers › Lookahead Optimizer: k steps forward, 1 step back

Lookahead Optimizer: k steps forward, 1 step back

19 Jul 2019NeurIPS 2019 12arXiv:1907.08610archive 2025-07-28

Michael R. Zhang, James Lucas, Geoffrey Hinton, Jimmy Ba

The vast majority of successful deep neural networks are trained using variants of stochastic gradient descent (SGD) algorithms. Recent attempts to improve SGD can be broadly categorized into two approaches: (1) adaptive learning rate schemes, such as AdaGrad and Adam, and (2) accelerated schemes, such as heavy-ball and Nesterov momentum. In this paper, we propose a new optimization algorithm, Lookahead, that is orthogonal to these previous approaches and iteratively updates two sets of weights. Intuitively, the algorithm chooses a search direction by looking ahead at the sequence of fast weights generated by another optimizer. We show that Lookahead improves the learning stability and lowers the variance of its inner optimizer with negligible computation and memory cost. We empirically demonstrate Lookahead can significantly improve the performance of SGD and Adam, even with their default hyperparameter settings on ImageNet, CIFAR-10/100, neural machine translation, and Penn Treebank.

PaperPDFConference PDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

19 repositories listed; official and paper-mentioned ones first.

michaelrzhang/lookahead officialmentioned in papermentioned on GitHubpytorchMIT report
201419/Optimizer-PyTorch mentioned on GitHubpytorchApache-2.0 report
Abhimanyu08/Lookahead_Optimizer mentioned on GitHubpytorch report
HamadYA/GhostFaceNets mentioned on GitHubtfMIT report
alphadl/lookahead.pytorch mentioned on GitHubpytorchMIT report
bojone/keras_lookahead mentioned on GitHub report
chizhu/BDC2019 mentioned on GitHubtf report
kpe/params-flow mentioned on GitHubtfMIT report
mnikitin/LookaheadOptimizer-mx mentioned on GitHubmxnet report
nachiket273/lookahead_pytorch mentioned on GitHubpytorch report
nsarang/lookahead_keras mentioned on GitHubtfMIT report
rwightman/pytorch-image-models mentioned on GitHubpytorch report
wkcn/LookaheadOptimizer-mx mentioned on GitHubmxnet report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Image ClassificationMachine TranslationStochastic OptimizationTranslation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Stochastic Optimization CIFAR-10 ResNet-18 - 200 Epochs Lookahead Accuracy 95.27 #2 of 4 Archive leaderboard report
Stochastic Optimization CIFAR-10 ResNet-18 - 200 Epochs SGD Accuracy 95.23 #3 of 4 Archive leaderboard report
Stochastic Optimization CIFAR-10 ResNet-18 - 200 Epochs ADAM Accuracy 94.84 #4 of 4 Archive leaderboard report
Stochastic Optimization ImageNet ResNet-50 - 50 Epochs Lookahead Top 1 Accuracy 75.13% #1 of 2 Archive leaderboard report
Stochastic Optimization ImageNet ResNet-50 - 50 Epochs SGD Top 5 Accuracy 92.15% #2 of 2 Archive leaderboard report
Stochastic Optimization ImageNet ResNet-50 - 60 Epochs Lookahead Top 1 Accuracy 75.49% #1 of 2 Archive leaderboard report
Stochastic Optimization ImageNet ResNet-50 - 60 Epochs Lookahead Top 5 Accuracy 92.53 #1 of 2 Archive leaderboard report
Stochastic Optimization ImageNet ResNet-50 - 60 Epochs SGD Top 1 Accuracy 75.15% #2 of 2 Archive leaderboard report
Stochastic Optimization ImageNet ResNet-50 - 60 Epochs SGD Top 5 Accuracy 92.56 #2 of 2 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

1x1 ConvolutionAdamAverage PoolingBatch NormalizationBottleneck Residual BlockConvolutionGlobal Average PoolingKaiming InitializationLookaheadMax PoolingReLUResidual BlockResidual Connection

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections