Up nextNext guide
Optimizer State Offloading to CPU and NVMe
Technical
Technical GUIDE
Lookahead and Lion are two modern twists on neural-network optimization.
Listen to this guideAI-narrated · ~2 min
Lookahead wraps any base optimizer with 'slow' and 'fast' weights for more stable progress, while Lion (EvoLved Sign Momentum) was discovered by an AI program search and updates weights using only the sign of a momentum term — making it memory-light and often faster than Adam.
Lookahead, proposed by Zhang, Hinton and colleagues in 2019, runs a standard 'fast' optimizer (like Adam or SGD) for k steps, then nudges a separate set of 'slow' weights a fraction of the way toward where the fast weights ended up. This dampens oscillations and reduces sensitivity to hyperparameters. Lion, published by Google in 2023, came out of symbolic program search over optimizer algorithms. It tracks momentum but applies the sign function to the update, so every parameter moves by a fixed step size in the direction of accumulated gradient sign. Lion stores only the momentum buffer (half the state of Adam, which keeps two), uses larger weight decay and a smaller learning rate, and has matched or beaten Adam on large vision and language models while training faster and cheaper.
Wrapping Adam with Lookahead to stabilize training of transformers and reduce hyperparameter tuning effort.
Using Lion to train large vision models (e.g., ViT) with lower optimizer memory than Adam.
Pretraining language models with Lion to achieve comparable accuracy at reduced compute cost.
Combining Lookahead with SGD in reinforcement-learning agents to smooth noisy policy updates.
Lion has been adopted in several large-scale training runs because it cuts optimizer memory and can speed up convergence, and its discovery showcases automated 'AI-designing-AI' algorithm search as a real source of practical gains. Expect more search-derived optimizers, hybrid schemes that blend Lookahead-style slow weights with sign-based updates, and growing interest in memory-efficient optimizers as model sizes keep stressing GPU memory budgets.
Free newsletter
One short email each weekday with the three AI stories that actually matter. Free forever, no ads.
One email each weekday. Unsubscribe in one click. We never sell or share your address.
Test yourself
Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.
Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation
Lookahead and Lion are two modern twists on neural-network optimization. Lookahead wraps any base optimizer with 'slow' and 'fast' weights for more stable progress, while Lion (EvoLved Sign Momentum) was discovered by an AI program search and updates weights using only the sign of a momentum term — making it memory-light and often faster than Adam.
Lion applies the sign function to an interpolated momentum term, so every parameter moves by a uniform step in the gradient's sign direction.
Lookahead runs a fast inner optimizer for k steps, then moves slow weights a fraction of the way toward the fast weights and resets.
Lion (EvoLved Sign Momentum) emerged from a program-search procedure that evolved and evaluated candidate optimizer programs.
Adam tracks both first and second moments; Lion keeps only a single momentum buffer, roughly halving optimizer state memory.
Since the sign function fixes the magnitude of each coordinate's update, the effective step is large, so a smaller learning rate (and larger weight decay) is used.
Keep learning
More guides picked for this topic
Up nextNext guide
Optimizer State Offloading to CPU and NVMe
Technical