Remembering the Direction of Earlier Updates

Successive batches can pull a weight in different directions. A stored velocity lets Botie carry some of the previous update direction into the next step.

13 sections · 4 questions · 2 coding challenges

1 / 13

Keeping Useful Direction Across Steps

BOTIE

Momentum methods retain information from earlier optimisation steps. This helps explain why a direction that persists can accumulate, while directions that repeatedly reverse can partly cancel.

There are several conventions for scaling the stored state. Here velocity equals beta times the old velocity plus the current gradient; the learning rate is applied when changing the parameter.

Sources for this history