03 Looped transformers
Run the same block several times, so depth becomes a knob you turn at inference rather than a fixed number of parameters.
VideoThe idea in a few minutes
The problem
Ordinary stacks: every extra layer of reasoning costs new parameters.
VisualizationParameters vs. depth
The idea
One shared block applied in a loop, with the hidden state fed back in.
VisualizationUnrolled loop animation
The trade-off
Quality vs. number of loops, and the compute each loop costs.
VisualizationLoops → quality, latency
Sources
Papers and model reports.