Why do residual connections make very deep networks trainable?
Deep learning, Architectures
Level L4 Advanced. Length Medium. Nature Th Theoretical.
What's being asked
Whether you understand that depth causes an optimisation problem (not a representational one), and how identity shortcuts address it.
Key idea
A residual block computes , where is the input to block and is the block’s learned layers. So for any later block , where is the identity matrix. The identity term gives gradients a direct path, and the identity mapping is easy to represent by learning .
Steps
- State the degradation problem: deeper plain networks had higher training error, so the cause is not overfitting.
- Write the residual block and its backward pass with the identity term.
- Explain that gradients no longer have to pass through a long product of Jacobians (matrices of partial derivatives), which can shrink or blow up.
- Give the easy-identity argument: extra layers can default to doing nothing.
- Mention related views: an implicit ensemble of many shallower paths, and the pairing with normalisation layers.
Common mistakes
- Saying ResNets fix overfitting.
- Claiming they completely solve vanishing gradients. Normalisation and initialisation still matter.
- Forgetting the projection shortcut (a learned linear map) needed when dimensions change.
How long your answer should be
About 3 minutes.
Last checked on 4 December 2026.
Read this
Previous in Deep learning: How do you derive the recurrence for the receptive field of a stack of convolution and pooling layers with kernel sizes and strides , and what receptive field does it give for a unit in (a) a conv with stride 2 followed by two convs with stride 1, and (b) a conv with stride 1, a max-pool with stride 2, then two convs with stride 1?
Next in Deep learning: Why is L2 regularisation not the same as weight decay when training with Adam, and what does AdamW change?