Two Dead Units and a Nudge

Mixed: Jacobians & Layer CompositionHard+30 XP+30

Two Dead Units and a Nudge

A two-layer network maps x∈R2\mathbf{x} \in \mathbb{R}^{2}x∈R2 to y∈R2\mathbf{y} \in \mathbb{R}^{2}y∈R2:

z=W1x+b1,h=ReLU(z),y=W2h+b2\mathbf{z} = W_1\mathbf{x} + \mathbf{b}_1, \qquad \mathbf{h} = \mathrm{ReLU}(\mathbf{z}), \qquad \mathbf{y} = W_2\mathbf{h} + \mathbf{b}_2z=W1​x+b1​,h=ReLU(z),y=W2​h+b2​

with

W1=(2−113−2112),b1=(1−60−1),W2=(123−10−124),b2=(01)W_1 = \begin{pmatrix} 2 & -1 \\ 1 & 3 \\ -2 & 1 \\ 1 & 2 \end{pmatrix}, \quad \mathbf{b}_1 = \begin{pmatrix} 1 \\ -6 \\ 0 \\ -1 \end{pmatrix}, \quad W_2 = \begin{pmatrix} 1 & 2 & 3 & -1 \\ 0 & -1 & 2 & 4 \end{pmatrix}, \quad \mathbf{b}_2 = \begin{pmatrix} 0 \\ 1 \end{pmatrix}W1​=​21−21​−1312​​,b1​=​1−60−1​​,W2​=(10​2−1​32​−14​),b2​=(01​)

The ReLU derivative is 111 where its input is positive and 000 where its input is negative.

The network is evaluated at

x=(21)\mathbf{x} = \begin{pmatrix} 2 \\ 1 \end{pmatrix}x=(21​)

and the input is then nudged by

Δx=(0.1−0.2)\Delta\mathbf{x} = \begin{pmatrix} 0.1 \\ -0.2 \end{pmatrix}Δx=(0.1−0.2​)

Using the network's Jacobian ∂y∂x\dfrac{\partial \mathbf{y}}{\partial \mathbf{x}}∂x∂y​ evaluated at x\mathbf{x}x, the predicted output change is Δy=J Δx\Delta\mathbf{y} = J\,\Delta\mathbf{x}Δy=JΔx.

What is ∥Δy∥2\lVert \Delta\mathbf{y} \rVert_2∥Δy∥2​?

Round your answer to 2 decimal places.

Hints

Solve it to unlock the solution

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

units