Residual Connection
Updated 2026-08-05
Summary
A residual connection adds the input directly to the output, so a deep network only has to learn the difference rather than the whole mapping.
Definition
A residual connection, or skip connection, adds the layer input directly to its output, so the network learns only the residual difference between input and output rather than the full mapping. The core claim is that this reformulation makes very deep networks trainable by giving gradients a clean identity path back through the network. The qualification is that the shortcut requires matching dimensions, and it mitigates degradation and vanishing gradients rather than eliminating every training difficulty.
Introduction
How to use
- Incremental Progress: Do not rebuild from scratch each time; keep the current state and change only what needs to improve. - Identity Baseline: Preserving the existing mapping and learning the delta is what makes very complex tasks tractable. - Layer by Layer: Adding one small improvement at a time lets systems grow far deeper than wholesale redesign allows.
Mechanism
A skip connection defines the layer as learning the residual between the target and the input. Because gradients can flow back through the identity shortcut without passing through every nonlinearity, degradation and vanishing gradients are relieved, which allows networks hundreds of layers deep to train.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- ResNet architectures with over a hundred layers remain trainable because of residual connections.
- Organizations that preserve the existing structure and change only increments avoid the cost of full redesign.
Common pitfalls
- Adding tensors whose dimensions do not match breaks the shortcut and the block fails to train.
- Assuming residuals solve every degradation problem overstates what the mechanism actually addresses.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Residual_neural_networkverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS