Two Knobs, Two Steps

Gradient DescentMedium+20 XP+20

Two Knobs, Two Steps

A model has two parameters and the loss

L(a,b)=a2+4b2+2ab−6a−16bL(a, b) = a^2 + 4b^2 + 2ab - 6a - 16bL(a,b)=a2+4b2+2ab−6a−16b

Gradient descent starts at (a0,b0)=(1,1)(a_0, b_0) = (1, 1)(a0​,b0​)=(1,1) with learning rate α=0.1\alpha = 0.1α=0.1, updating both parameters simultaneously from the same gradient:

a←a−α∂L∂a,b←b−α∂L∂ba \leftarrow a - \alpha \frac{\partial L}{\partial a}, \qquad b \leftarrow b - \alpha \frac{\partial L}{\partial b}a←a−α∂a∂L​,b←b−α∂b∂L​

What is (a2,b2)(a_2, b_2)(a2​,b2​) after two steps?

Hints

Solve it to unlock the solution

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

Select all that apply.