HomeArticlesResidual Connections: Why Deep Networks Need Shortcuts

Residual Connections: Why Deep Networks Need Shortcuts

In 2015 a simple idea let researchers train neural networks over 100 layers deep, something that had previously seemed impossible. That idea was the residual connection: a shortcut so simple it looks almost like a trick, yet it reshaped how nearly every deep network is built today.

mysimulator teamUpdated June 2026≈ 8 min read▶ Open the simulation

The Degradation Problem

Common sense suggests that stacking more layers onto a neural network should never make it worse, since a deeper network can always mimic a shallower one by having its extra layers learn the identity function. But in practice, researchers found the opposite: as plain networks got deeper, training accuracy would improve, then plateau, then get worse — even on the training set itself, not just unseen data. This ruled out overfitting as the culprit and pointed to something more fundamental: plain deep networks were simply hard to optimize, because gradients and signals struggled to propagate cleanly through dozens of stacked layers.

Learning the Residual, Not the Whole Mapping

The fix proposed by He et al. was to change what each block of layers is asked to learn. Instead of forcing a stack of layers to directly learn a full desired mapping H(x), residual blocks let them learn only the residual F(x) = H(x) − x, while a skip connection carries the original input x forward and adds it back in. The output becomes F(x) + x, so if the ideal transformation for a block is close to doing nothing, the layers just need to push F(x) toward zero — a far easier target than reconstructing the identity mapping from scratch through nonlinear layers.

Why Shortcuts Make Optimization Easier

The real payoff of residual connections shows up during backpropagation. Because the skip connection provides a direct, unimpeded path from output back to input, gradients can flow through it without being repeatedly multiplied by small weight-layer derivatives at every step — a major source of the vanishing gradient problem in very deep plain networks. This means even the earliest layers of a 100+ layer network keep receiving strong, meaningful gradient signals, so the whole stack can be trained effectively with ordinary gradient descent rather than getting stuck or diverging.

From ImageNet to Everywhere

ResNet's impact was immediate and dramatic: it won the 2015 ImageNet Large Scale Visual Recognition Challenge with networks reaching 152 layers, far deeper than anything trained successfully before, and reduced top-5 error to a level that beat human-level benchmarks on that task. But the idea outgrew image classification entirely — residual connections are now a default architectural ingredient in transformers (including every layer of models behind modern language and vision AI), speech models, and reinforcement learning networks, wherever engineers need to train very deep systems reliably.

Frequently asked questions

Do residual connections make a network more powerful, or just easier to train?

Mainly the latter. A plain deep network can, in theory, represent the same functions a residual network can, since a residual block collapses to the identity when F(x) is zero. The real benefit of residual connections is optimization: they make it dramatically easier for gradient descent to actually find good solutions in very deep networks, which is why deeper ResNets reliably outperform their plain counterparts in practice.

Are residual connections the same as skip connections in U-Nets?

They are related but not identical. Both pass information across layers without transformation, but classic residual connections add the input to a block's output (F(x) + x), while U-Net-style skip connections typically concatenate features from an encoder layer with a corresponding decoder layer. Both address the general problem of preserving information and gradient flow across depth, just with different mechanics.

Why does adding x back in help instead of just using a smaller network?

A smaller network is limited to what it can represent, while a residual network keeps the full capacity of extra layers available if needed, but makes it cheap for those layers to contribute little when they aren't helpful. This lets the network effectively learn how much extra transformation is useful at each depth, rather than committing to a fixed size upfront.

Try it live

Everything above runs in your browser — open Residual Connections: Why Deep Networks Need Shortcuts and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Residual Connections: Why Deep Networks Need Shortcuts simulation

What did you find?

Add reproduction steps (optional)