Deep Learning · MT2 · guide
Optimization algorithms
- Reading an optimizer formula without getting lost
- Optimizer notation: old value, memory, new value
- What an optimizer is trying to do
- The ordinary gradient descent update
- Batch stochastic and mini batch gradient descent
- Model answer: batch, stochastic and mini-batch training
- A tiny dataset shows why the methods differ
- Learning rate and common training problems
- A moving average remembers the recent past
- Momentum remembers movement
- Nesterov looks before correcting
- Model answer: momentum and Nesterov
- AdaGrad adds every squared gradient
- RMSProp remembers recent squared gradients
- Adam remembers both direction and squared size
- Adam bias correction: why the denominator is one minus beta to a power
- Model answer: AdaGrad, RMSProp and Adam
- One comparison to rebuild all optimizer formulas
- AdaGrad and RMSProp with a negative gradient