Momentum
A modification of gradient descent: the accumulated direction of the previous steps is added to the current gradient.
Formula
[ v_t=\beta v_{t-1}+\nabla L(w_t) ] [ w_{t+1}=w_t-\eta v_t ]
- \(v_t\) — the accumulated 'velocity';
- \(\beta\) — the memory coefficient (usually 0.9);
- \(\eta\) — the learning rate.
What It Gives
- a stable direction is amplified, random oscillations are smoothed out;
- in narrow 'ravines', movement along the bottom speeds up while movement across it is damped.