Math & Optimization · intermediate · concept 47 of 176
Optimizers: SGD, Momentum & Adam
Gradient descent says which direction to step; optimizers decide how big and how smart the step is. Momentum smooths the path, Adam adapts the step size per parameter, and AdamW is the default that trains nearly every modern model. Small detail, enormous practical consequence.
Key terms
SGDMomentumAdam & AdamWLearning rate scheduleWarmup
Learn these first
Where you meet it in the real world
Every training run; learning-rate schedules are often the difference between converging and diverging
Videos
▶ Adam Optimization Algorithm (C2W2L08) ↗
DeepLearningAI · YouTube
Guides and articles
An overview of gradient descent optimization algorithms ↗
Sebastian Ruder
12. Optimization Algorithms — Dive into Deep Learning 1.0.3 documentation ↗
Dive into Deep Learning