Asked about The shape of the loss surface

What does momentum do?

An answer that works

It accumulates a running average of past gradients, so consistent directions gain speed and oscillations cancel. That carries the optimiser across saddle points and plateaus and damps zigzagging in narrow valleys.

Reading an answer is not being able to give one. The section that teaches this is The shape of the loss surface, 4 hours of Calculus for ML.

Learn this properly