Looped Transformers: One Reused Layer Matches a 12-Layer Model on In-Context Learning
A 2024 ICLR paper by researchers at the University of Wisconsin-Madison showed that a single transformer layer run repeatedly in a loop can match a standard 12-layer GPT-2-style model on several in-context learning tasks. The looped model had roughly 0.79M parameters, compared with about 9.48M for the standard one. The approach builds iterative, gradient-descent-like computation into the architecture, which suits tasks such as linear regression better than fixed-depth stacks. The authors found that adding the original input back at every loop pass was essential, since without it performance degraded when the loop ran longer than during training. These results come from the authors' own experiments and were not independently re-run by the writer.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in