One Step of Gradient Descent

Mixed: Loss Functions & Gradient DescentHard+30 XP+30

One Step of Gradient Descent

You are fitting the linear model y^=wx+b\hat{y} = wx + by^​=wx+b to this two-point training set:

iiixix_ixi​yiy_iyi​
1111333
2222555

The loss is mean squared error over the full batch:

L(w,b)=1n∑i=1n(y^i−yi)2,n=2L(w, b) = \frac{1}{n}\sum_{i=1}^{n}\bigl(\hat{y}_i - y_i\bigr)^2, \qquad n = 2L(w,b)=n1​∑i=1n​(y^​i​−yi​)2,n=2

You initialise w0=0w_0 = 0w0​=0, b0=0b_0 = 0b0​=0 and take one full-batch gradient descent step with learning rate η=0.1\eta = 0.1η=0.1, updating www and bbb simultaneously from the gradients computed at (w0,b0)(w_0, b_0)(w0​,b0​).

What are w1w_1w1​, b1b_1b1​, and the loss L(w1,b1)L(w_1, b_1)L(w1​,b1​) after that single step?

Hints

Solve it to unlock the solution

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

Select all that apply.