Residual stream and hyper-connections

Transformer components · component · 2015 · any domain

What it is

The running sum that every block reads from and writes to — and new plumbing (hyper-connections, mHC) that widens it.

When to use it

Interpretability work treats the residual stream as the model's working memory; mHC is the 2026 refinement.

Caveats

The residual stream is an interpretive framing, and how cleanly features separate within it is still an open research question. Learned alternatives to the plain residual connection are recent and less widely validated.

Key ideas

  • Every layer reads from and adds to one shared running vector per token
  • The identity path keeps gradients flowing through deep stacks
  • Hyper-connections replace the fixed residual sum with learnable connection strengths between layers

Related architectures

Original paper

Hyper-Connections (2024, arXiv)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted