The vanishing gradient problem occurs when gradients become too small as they move backward through many layers, making deep networks difficult to train. Skip connections address it by creating a shorter path from deeper parameters to the loss. section 8.5.3
Skip connections help because they:
- Add a block’s input to its output, forming an identity mapping alongside the ordinary feed-forward path. section 8.5.3
- Give gradients a direct route to deeper parameters, reducing dependence on a long chain of multiplied operations. section 8.5.3
- Support convergence and make very deep residual networks easier to train, including architectures exceeding 100 layers. section 8.5.3
From NetDepth to NetRes
A plain three-convolution model applies each layer in sequence. NetRes saves the output after the second convolution and adds it to the third layer’s activated output. Repeating this pattern produces residual blocks; a PyTorch example assembles 100 ResBlock instances into a deeper network.













