AI Research Scientist · Deep Network Training Basics
Residual connections and deep network trainability
Residual connections and deep network trainability
Residual connection
A residual (skip) connection adds a sublayer’s input directly to its output, so the block computes instead of just . This creates an identity shortcut path running parallel to the transformation .Backpropagating through gives . The identity term's derivative is exactly 1, so a full-strength gradient signal passes straight through the shortcut, however small or unstable is.
Stack many blocks and each re-injects that additive 1. Gradients stop being repeatedly multiplied through sublayer Jacobians and shrunk toward zero — they survive the trip back to the earliest layers.
- Gradients pass only through each sublayer’s Jacobian, layer after layer.
- The backward signal shrinks or explodes over 50 multiplications.
- Training stalls badly once depth passes roughly 20-30 layers.
- Each block adds an identity path alongside its Jacobian.
- Gradient magnitude is largely preserved through every shortcut.
- Training converges smoothly even well past 50 layers.
Recall check from the same lesson
If you strip the skip connections out of a well-trained 50-layer residual network and retrain the resulting plain stack from scratch, it will typically be just as easy to train as the original residual version, since the individual sublayer transformations are unchanged.
Review the explanation
Answer: False. Removing the skip connections removes the identity gradient path entirely. The resulting plain 50-layer stack must rely on gradients propagated purely through 50 multiplied sublayer Jacobians, and empirically such deep plain stacks train far worse, or fail to train at all, even though each individual sublayer transformation is unchanged.
Sources
One sitting · 20–30 minutes
A focused session on your AI Research Scientist interview
LearnBench starts from what you already know — skip what you have, master what you’re missing.
Start now