The Update the Limiter Allowed

Calculus in Deep LearningEasy+10 XP+10

The Update the Limiter Allowed

A three-parameter model is mid-training. This batch produces the gradient

∇L=(2, −6, 3)\nabla L = (2,\ -6,\ 3)∇L=(2, −6, 3)

and the parameters currently sit at:

ParameterCurrent valueGradient component
w1w_1w1​1.501.501.50222
w2w_2w2​4.004.004.00−6-6−6
w3w_3w3​−0.80-0.80−0.80333

The training loop runs clipping by norm with threshold c=3.5c = 3.5c=3.5, and then a plain gradient-descent update with learning rate α=0.20\alpha = 0.20α=0.20. In order:

  1. Measure the gradient's length ∥∇L∥\lVert \nabla L \rVert∥∇L∥.
  2. If that length is above ccc, replace the gradient by c∥∇L∥ ∇L\dfrac{c}{\lVert \nabla L \rVert}\,\nabla L∥∇L∥c​∇L. If it is at or below ccc, leave the gradient exactly as it is.
  3. Update every parameter with w←w−α gw \leftarrow w - \alpha\,gw←w−αg, where ggg is whatever came out of step 2.

What is the value of w2w_2w2​ after this single update?

Round your answer to two decimal places.

Hints

Solve it to unlock the solution

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