Residual Connection

Category: Neural Networks & Architectures

A shortcut that adds a layer's input directly to its output, enabling training of very deep networks by preserving gradient flow.

Full Explanation

Residual connections (also called skip connections) add the input of a layer or block directly to its output, so the layer only needs to learn a residual function (the difference between the desired output and the input). Introduced in ResNet by He et al. in 2015, residual connections solved the degradation problem where deeper networks performed worse than shallower ones despite having more capacity. They provide a direct path for gradients to flow through the network during backpropagation, mitigating the vanishing gradient problem. Residual connections are a fundamental component of virtually every modern deep learning architecture, including all transformer models where every attention and FFN sublayer has a residual connection. They enable training networks with hundreds or thousands of layers that would be impossible to train otherwise.

Related Terms

More in Neural Networks & Architectures

Explore More

  • AI Tools Library — Discover AI tools related to Residual Connection
  • AI Education — Courses to learn about Neural Networks & Architectures
  • AI News — Latest news and updates