Two Transposes Backward

Linear Algebra for Deep LearningMedium+20 XP+20

Two Transposes Backward

A two-layer linear network runs the forward pass x→W1→h→W2→yx \rightarrow W_1 \rightarrow h \rightarrow W_2 \rightarrow yx→W1​→h→W2​→y, with

W1=[2013]W2=[1−121]W_1 = \begin{bmatrix} 2 & 0 \\ 1 & 3 \end{bmatrix} \qquad W_2 = \begin{bmatrix} 1 & -1 \\ 2 & 1 \end{bmatrix}W1​=[21​03​]W2​=[12​−11​]

So h=W1xh = W_1 xh=W1​x and y=W2hy = W_2 hy=W2​h.

Backpropagation reaches the output carrying the gradient

∂L∂y=[12]\frac{\partial L}{\partial y} = \begin{bmatrix} 1 \\ 2 \end{bmatrix}∂y∂L​=[12​]

Propagate it all the way back to the input. What is ∂L∂x\dfrac{\partial L}{\partial x}∂x∂L​?

Hints

Solve it to unlock the solution

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

Select all that apply.