Two Steps Down, With the Learning Rate Shrinking

Mixed: Chain Rule & Gradient DescentHard+30 XP+30

Two Steps Down, With the Learning Rate Shrinking

A model has exactly one parameter, www. Its loss is built in two layers — an inner score

u(w)  =  w2−6w+13u(w) \;=\; w^2 - 6w + 13u(w)=w2−6w+13

and the loss is that score squared:

L(w)  =  (u(w))2  =  (w2−6w+13)2L(w) \;=\; \big(u(w)\big)^2 \;=\; \big(w^2 - 6w + 13\big)^2L(w)=(u(w))2=(w2−6w+13)2

Training starts at w0=5w_0 = 5w0​=5 and runs ordinary gradient descent,

wt+1  =  wt  −  ηt L′(wt)w_{t+1} \;=\; w_t \;-\; \eta_t \, L'(w_t)wt+1​=wt​−ηt​L′(wt​)

except that the learning rate is decayed as training goes on, following ηt=0.021+t\eta_t = \dfrac{0.02}{1+t}ηt​=1+t0.02​. So the two updates are not taken with the same step size:

updatemoveslearning rate used
t=0t = 0t=0w0→w1w_0 \to w_1w0​→w1​η0=0.02\eta_0 = 0.02η0​=0.02
t=1t = 1t=1w1→w2w_1 \to w_2w1​→w2​η1=0.01\eta_1 = 0.01η1​=0.01

Run exactly two updates and report w2w_2w2​.

Recompute the gradient from scratch at each new point, and keep at least four decimal places in your intermediate work.

Give your answer rounded to two decimal places — for example 1.23.

Hints

Solve it to unlock the solution

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