Momentum Sails Past the Minimum

Variants of Gradient DescentMedium+20 XP+20

Momentum Sails Past the Minimum

A single parameter www is trained on the loss

J(w)=(2w−6)2J(w) = (2w - 6)^2J(w)=(2w−6)2

using gradient descent with momentum, in the accumulation form

vt=β vt−1+∇J(wt−1),wt=wt−1−η vtv_t = \beta\, v_{t-1} + \nabla J(w_{t-1}), \qquad w_t = w_{t-1} - \eta\, v_tvt​=βvt−1​+∇J(wt−1​),wt​=wt−1​−ηvt​

where ∇J(wt−1)\nabla J(w_{t-1})∇J(wt−1​) is the derivative of JJJ evaluated at the current weight wt−1w_{t-1}wt−1​.

The settings are

quantityvalue
starting weight w0w_0w0​555
starting velocity v0v_0v0​000
momentum β\betaβ0.90.90.9
learning rate η\etaη0.050.050.05

Exactly three updates are performed. What is the value of w3w_3w3​?

Round your answer to 2 decimal places.

with momentum1.1 from the bottom

Momentum lets the side-to-side wobbles cancel out while the forward motion builds up.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.