Giving Different Weights Different Step Scales

Some parameters repeatedly receive larger gradients than others. Adam keeps separate running estimates of gradient direction and squared magnitude for each parameter.

13 sections · 4 questions · 3 coding challenges

1 / 13

Remembering Both Direction and Scale

BOTIE

Adaptive subgradient methods used gradient history to change parameter-specific scales. Kingma and Ba’s Adam combined running first and second moment estimates with a correction for their zero initialisation.

Adam is an update rule, not a substitute for choosing a loss or checking generalisation. Our examples calculate the state explicitly; they do not claim that Adam always outperforms other optimisers.

Sources for this history