Learn AI Math

Residual Connection

Also called: Skip Connection

What is Residual Connection?

In one sentence: A residual connection lets a layer's input skip ahead and be added to its output, creating a shortcut through the network.

Instead of each layer completely replacing the information, it adds an update on top of what was already there. This shortcut helps learning signals flow through very deep networks, and it is also called a skip connection.

What does Residual Connection look like?

In a Transformer, the result of attention is added back to the original token numbers before moving on.

Why does Residual Connection matter?

Residual connections made it possible to train networks with dozens or hundreds of layers.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.