Gradient through depth: plain layers multiply, residual blocks add

Two networks with the same random weights: a plain stack, where each layer is h ← φ(W h), and a residual one, where each block is h ← h + F(h). How big is the gradient that reaches each layer, and why? Slide the weight scale: the plain network’s gradient tilts steeply up or down unless the scale is exactly right, while the residual one barely moves.

Gradient norm and signal norm per layer, and the singular values of one layer's Jacobian Left, the size of the gradient reaching each layer on a log scale, for the plain network in orange and the residual one in blue, each a median line with a band over many upstream directions. Right, the size of the signal at each layer on the way forward. Below, the singular values of one layer's Jacobian as dots on a log axis, for the plain layer and for the residual block.
activation
depth weight scale s
residual branch