Up nextNext guide
Occupancy Networks and Implicit 3D Shapes
Visual AI
Visual AI GUIDE
Residual networks use shortcut connections so a block can learn an adjustment to its input.
Listen to this guideAI-narrated · ~2 min
This design helped train deeper convolutional networks and also appears in other neural architectures.
The ResNet paper addressed degradation observed as networks became deeper. Its residual formulation learns F(x) and produces an output by adding the shortcut input, commonly y=F(x)+x when dimensions align. The paper evaluated residual networks up to 152 layers on ImageNet. When tensor dimensions differ, implementations use a projection or another compatible mapping. The original paper reports benchmark results for its evaluated setup; this does not establish current performance in unrelated tasks such as medical imaging or autonomous driving. When shortcut and residual dimensions differ, the ResNet paper uses a learned projection to match shapes before addition. Its bottleneck block uses 1×1, 3×3, and 1×1 convolutions. Residual links help optimize the studied networks but do not guarantee that depth improves every task. Transformer blocks also use residual connections around attention and feed-forward sublayers, as described by Vaswani et al.
A ResNet backbone supplies image features to a classification or detection system.
A researcher compares identity and projection shortcuts when tensor shapes differ.
A deep-learning student traces how the input contributes to the block output.
Transformer blocks use residual connections around sublayers.
Residual connections remain common, but variants and placements differ among architectures. Avoid describing them as universally sufficient to solve optimization or as a guarantee of performance.
Free newsletter
One short email each weekday with the three AI stories that actually matter. Free forever, no ads.
One email each weekday. Unsubscribe in one click. We never sell or share your address.
Test yourself
Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.
Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation
Residual networks use shortcut connections so a block can learn an adjustment to its input. This design helped train deeper convolutional networks and also appears in other neural architectures.
The ResNet paper describes a degradation problem: adding layers to a plain network could increase training error. Residual learning improved optimization in the studied deep networks; it is not a universal guarantee that deeper models perform better.
The ResNet paper reformulates layers as residual functions and adds the shortcut input.
The identity shortcut provides an additional path for gradients to flow around the learned residual function, which can ease optimization in deep networks; it does not eliminate every gradient problem.
The paper evaluates residual networks up to 152 layers on ImageNet.
When F(x) = 0, the output is just x, so the block becomes an identity mapping. This makes extra layers harmless if they aren't needed.
Keep learning
More guides picked for this topic
Up nextNext guide
Occupancy Networks and Implicit 3D Shapes
Visual AI