23/31
Part 5 of 6 · A worked exampleLearn and do

Break it each way, and every answer looks fine

Start from the trained layer and put in one bug at a time:

BugWhat runsOutputCorrect
nonexW⊤+2 xA⊤B⊤xW^\top + 2\,xA^\top B^\top[5, 3][5, 3]
B starts at [0.1, -0.2]at creation, [7,−1]+2⋅(−2)⋅[0.1,−0.2][7, -1] + 2 \cdot (-2) \cdot [0.1, -0.2][6.6, -0.2][7, -1]
no α/r\alpha / r[7,−1]+[−1,2][7, -1] + [-1, 2][6, 1][5, 3]
merge without α/r\alpha / rx(W+BA)⊤x(W + BA)^\top[6, 1][5, 3]
branch still on after mergexW′⊤+[−2,4]xW'^{\top} + [-2, 4][3, 7][5, 3]
base not frozensame outputs13 trainable numbers5

The unscaled merge does more damage on the way out.

Predict

After an unscaled merge, unmerge() subtracts 2 B A and leaves W − B A. What does the base alone give now?

Pick an answer above to see the rest