Two Steps Down the Bowl

Gradient DescentEasy+10 XP+10

Two Steps Down the Bowl

A model has a single parameter www and the loss

L(w)=w2−6w+11L(w) = w^2 - 6w + 11L(w)=w2−6w+11

Gradient descent starts at w0=5w_0 = 5w0​=5 with a fixed learning rate α=0.25\alpha = 0.25α=0.25 and applies the update rule

w←w−αL′(w)w \leftarrow w - \alpha L'(w)w←w−αL′(w)

twice, recomputing the slope at each new position.

What is w2w_2w2​, the value after the second step?

Walking Downhill, One Step at a Time

Step size stays fixed at α = 0.30 here.
-8-4048
new x = old x − α × slope
5.950 = 7.000 − 0.30 × 3.500
Steps taken: 0 · Loss now: 14.250

The slope tells you which way is uphill, so you subtract it to head downhill. Near the edge the ground is steep and the steps are long. As the ground flattens the slope shrinks, so the steps shrink with it, and the walk eases into the bottom instead of shooting past it.

Hints

Solve it to unlock the solution

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

Select all that apply.