Why ResNet Makes 100+ Layer Neural Networks Practical

An analysis of Kaiming He's ResNet paper, identity shortcut connections, and solving the degradation problem in deep neural nets.

Over the past few years, the prevailing rule in deep learning has been straightforward: deeper architectures learn richer feature hierarchies. We went from AlexNet (8 layers in 2012) to VGG (16–19 layers in 2014) and GoogLeNet (22 layers).

However, anyone who has tried to stack 30 or 40 convolutional layers together knows that you quickly hit a hard physical wall. Beyond a certain depth, the model stops learning.

The Degradation Problem vs. Overfitting

Crucially, this failure is not classic overfitting. When you overfit, training error drops toward zero while validation error explodes. In this case, both training error and validation error get noticeably worse as you add more layers.

This is the network degradation problem—the deeper stack fails to optimize because gradients vanish or explode as they propagate backward through dozens of parameterized layers.

Identity Shortcuts: Learning Residual Mappings

Kaiming He and his team at Microsoft Research introduced Deep Residual Networks (ResNet), and it solves this optimization bottleneck in a remarkably clean way.

Instead of asking a series of stacked layers to fit an entire underlying mapping H(x) directly from scratch, ResNet asks them to learn a residual mapping F(x) = H(x) - x. The original mapping simply becomes H(x) = F(x) + x.

In code, this is implemented using shortcut (skip) connections that perform an identity mapping. The input tensor x is added element-wise to the output of the convolutional block right before the non-linear activation function.

Why Skip Connections Work Mechanistically

• Direct Gradient Propagation: During backpropagation, the gradient flows directly through the identity shortcut without being repeatedly multiplied by weight matrices, keeping early layers actively learning.

• Safe Asymptotic Fallback: If an extra layer is not adding value, the optimizer simply pushes the residual weights F(x) toward zero, making the layer behave as an identity function. Adding layers will not degrade performance.

• Extreme Scalability: The Microsoft team successfully trained a 152-layer network—nearly ten times deeper than VGG—winning the ImageNet challenge with an unprecedented 3.57% top-5 error rate.

Skip connections are not just a clever trick for vision tasks. They establish an architectural principle for keeping gradient flow intact across deep computation graphs. If you are designing deep neural architectures, residual shortcuts should now be part of your standard toolkit.