LearnBenchStart learning →

AI Research Scientist · Deep Network Training Basics

Residual connections and deep network trainability

Real lesson card · Page 1 of 4

Residual connections and deep network trainability

Residual connection

A residual (skip) connection adds a sublayer’s input directly to its output, so the block computes y=x+F(x)y = x + F(x) instead of just y=F(x)y = F(x). This creates an identity shortcut path running parallel to the transformation FF.
Example
In a transformer block, the sublayer might be self-attention; the block’s output is the attention result plus the original input xx, not the attention result alone.

Recall check from the same lesson

If you strip the skip connections out of a well-trained 50-layer residual network and retrain the resulting plain stack from scratch, it will typically be just as easy to train as the original residual version, since the individual sublayer transformations are unchanged.

Sources

· Editorial policy

One sitting · 20–30 minutes

A focused session on your AI Research Scientist interview

LearnBench starts from what you already know — skip what you have, master what you’re missing.

Start now

More Deep Network Training Basics questions