Skip to content
StackDecode
AI & ML Atlas
Neural NetworksoptimiserInteractive simulation

AdaDelta

An AdaGrad extension that needs no manually set learning rate.

The idea

AdaDelta keeps decaying averages of both squared gradients and squared past updates. The ratio of the update average to the gradient average gives a unit-consistent step, so no global learning rate is required. It avoids AdaGrad's vanishing step size.

Watch it run

This is a real computation, not a drawing. Pause, step, change the settings, or try new random data.

  • current weights
  • minimum
  • last update

Start somewhere on the bowl. Rings are lines of equal loss; the minimum is at the centre.

step:
0
loss:
3.4617
1/61

Loss landscape seen from above: a long narrow valley. Final loss 1.2824.

Step by step

  1. 1Compute the gradient g.
  2. 2Update the average of g².
  3. 3Compute the step Δ = −(RMS[Δθ] / RMS[g]) · g.
  4. 4Update the average of Δ² and apply θ ← θ + Δ.

Where it is used

When you want an optimiser with little tuning.

Watch out for

In practice often performs similarly to RMSProp and Adam, which are more common.

Related