One Step Downhill

DerivativesMedium+20 XP+20

One Step Downhill

A model has a single weight www, and its loss is

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

Training starts at w0=4w_0 = 4w0​=4 and takes one gradient descent step with learning rate η=0.1\eta = 0.1η=0.1, using the update rule

w1=w0−η L′(w0)w_1 = w_0 - \eta \, L'(w_0)w1​=w0​−ηL′(w0​)

What is w1w_1w1​?

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.