Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Simply Stabilizing the Loop via Fully Looped Transformer

About

Scaling model performance typically requires increasing model size. Looped Transformer offers a compelling alternative by iteratively reusing the same Transformer blocks, trading additional computation for improved performance without increasing parameter count or context length. Because the number of loop iterations can be adjusted at inference, it also provides a natural mechanism for balancing performance and test-time compute. However, Looped Transformer still suffers from training instability when the number of loop iterations increases. Our analysis reveals that this instability stems from two sources: gradient oscillation and residual explosion. To address these two problems, we propose the Fully Looped Transformer, which introduces two parameter-free modifications: (1) Fully Looped Architecture, which distributes inter-loop signals across all layers to mitigate residual explosion; (2) Attention Injection, which reuses the existing attention block to suppress gradient oscillation. These modifications stabilize training dynamics, enabling the Fully Looped Transformer to be trained stably up to 12 loop iterations, whereas other baseline looped models collapse in this regime. In milder settings where Looped Transformer does not collapse, Fully Looped Transformer still improves average downstream-task performance by up to 13.2\%. Overall, our experiments demonstrate that Fully Looped Transformer improves training stability, enhances downstream performance, and provides preliminary adaptability under different test-time compute budgets by varying loop iterations at inference.

Rao Fu, Zixuan Yang, Jiankun Zhang, Jing Ma, Hechang Chen, Yu Li, Yi Chang• 2026

Related benchmarks

TaskDatasetResultRank
Language ModelingWikiText-2--
2320
Language Modeling(val)
Validation BPB0.892
76
EvaluationCore Metrics
Core Metrics16.16
22
Zero-shot ReasoningDownstream Tasks (LMB, PIQA, HellaSwag, OPQA, ARC)
LAMBADA (LMB) Accuracy32.75
22
Showing 4 of 4 rows

Other info

Follow for update