Lookahead is an optimizer that keeps two sets of weights and moves the "slow weights" a fixed fraction toward the "fast weights", which have been advanced steps by an ordinary optimizer. Zhang, Lucas, Hinton, and Ba presented it at NeurIPS in 2019. The subtitle, "k steps forward, 1 step back", describes this behavior.
Earlier improvements fell broadly into two families.
- Adaptive learning rates: Methods like AdaGrad and Adam that change the step size per parameter
- Acceleration: Methods like momentum and Nesterov's accelerated gradient that accumulate past gradients to move faster
Lookahead is orthogonal to (can be combined with) both. The inner optimizer can be anything; it wraps SGD or Adam as is. The paper reports that Lookahead reduces the variance of the inner optimizer and stabilizes training. The extra computation is small, and the extra memory is just one set of slow weights.
As a mountain-trail analogy, a scout (the fast weights) is sent steps ahead, and the main party (the slow weights) advances about halfway toward where the scout ended up. Even if the scout zigzags between both sides of a valley, the main party can travel between them and keep moving forward.

