One Step Downhill

Partial Derivatives & GradientsMedium+20 XP+20

One Step Downhill

A tiny model has two weights, w1w_1w1​ and w2w_2w2​, and its loss is

L(w1,w2)=(w1−3)2+2(w2+1)2L(w_1, w_2) = (w_1 - 3)^2 + 2(w_2 + 1)^2L(w1​,w2​)=(w1​−3)2+2(w2​+1)2

Gradient descent updates every weight at once using the rule

wnew=w−α ∇L(w)\mathbf{w}_{\text{new}} = \mathbf{w} - \alpha\,\nabla L(\mathbf{w})wnew​=w−α∇L(w)

where α\alphaα is the learning rate, a small positive number controlling the step size.

Starting from w=(5, 1)\mathbf{w} = (5,\ 1)w=(5, 1) with α=0.1\alpha = 0.1α=0.1, what is wnew\mathbf{w}_{\text{new}}wnew​?

Hints

Solve it to unlock the solution

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

Select all that apply.