A Log That Turns Around

OptimizersMedium+20 XP+20

A Log That Turns Around

A student codes plain gradient descent for a one-weight model with loss

L(w)=(w−3)2L(w) = (w - 3)^2L(w)=(w−3)2

starting at w=0w = 0w=0 with a fixed learning rate of 0.10.10.1. There is no momentum, no schedule and no mini-batch noise, so every step should use the exact gradient. Their training log:

step012345678
loss9.005.763.241.440.360.000.361.443.24

The loss falls all the way to zero and then climbs straight back up.

Which diagnosis explains this log?

loss over one weight
02468100510152025weight wlossmin (5, 2)(1.2000, 14.9960000)
weight
1.2000
gradient
−6.8400
loss
14.9960000
step 0 of 14starting point

Hints

Solve it to unlock the solution

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

Select all that apply.