A Jacobian Through a Dead ReLU

Mixed: Jacobians & Layer CompositionHard+30 XP+30

A Jacobian Through a Dead ReLU

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

z=W1x,h=ReLU(z) (elementwise),y=W2hz = W_1 x, \qquad h = \mathrm{ReLU}(z) \ \text{(elementwise)}, \qquad y = W_2 hz=W1​x,h=ReLU(z) (elementwise),y=W2​h

with

W1=(1−12103) (3×2),W2=(12−1011) (2×3)W_1 = \begin{pmatrix}1 & -1\\ 2 & 1\\ 0 & 3\end{pmatrix} \ (3\times2), \qquad W_2 = \begin{pmatrix}1 & 2 & -1\\ 0 & 1 & 1\end{pmatrix} \ (2\times3)W1​=​120​−113​​ (3×2),W2​=(10​21​−11​) (2×3)

Evaluate at the input x=(12)x = \begin{pmatrix}1\\ 2\end{pmatrix}x=(12​).

Find the Jacobian J=∂y∂xJ = \dfrac{\partial y}{\partial x}J=∂x∂y​ at this xxx, and use it to give the first-order change in the output for the small input perturbation δ=(0.1−0.1)\delta = \begin{pmatrix}0.1\\ -0.1\end{pmatrix}δ=(0.1−0.1​).

Hints

Solve it to unlock the solution

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

Select all that apply.