Looped Transformers increase effective depth by repeatedly applying a shared block, offering a parameter-efficient approach to language modeling. However, most existing works directly reuse each loop's output as the next's input, which can lead to hidden-state scale growth and perturbation amplification as recurrence deepens. We propose Rectified Looped Transformer (RLT), which redesigns feedback between loops using an interpolation schedule inspired by flow-based modeling. At each loop, RLT forms the next input by linearly interpolating between the current state and its prediction. Such interpolation distributes state changes across loops, encouraging a smoother trajectory from the initial input to the final output. Theoretical analysis proves that, under appropriate assumptions, RLT keeps state magnitudes uniformly bounded across loops and reduces the worst-case perturbation amplification. We evaluate RLT on language modeling corpora and downstream benchmarks. At matched training and inference depths, RLT consistently achieves lower perplexity than a standard looped Transformer, while exhibiting greater robustness to input perturbations and variance in inference depth. Consistent with the theoretical results, latent trajectory analysis shows that RLT maintains more stable hidden-state norms across loops, which also facilitates extrapolation-based decoding strategies. Notably, RLT achieves these gains without requiring additional trainable parameters or extra recurrent block evaluations, thus providing a simple yet more stable feedback mechanism for looped Transformers.
Step-resolved data attribution for looped transformers
Hasso Plattner Institute for Digital Engineering, University of Potsdam(波恩大学数字工程研究所);Technical University of Munich(慕尼黑技术大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);Harvard University(哈佛大学);Imperial College London(伦敦帝国理工学院);Google DeepMind(谷歌DeepMind)
Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descent
Middle Tennessee State University(中田纳西州立大学);University of New South Wales(新南威尔士大学);The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);The Simons Institute for the Theory of Computing at the University of California, Berkeley(加州大学伯克利分校西蒙斯理论计算研究所)
Technical University of Darmstadt(达姆施塔特工业大学);University of Texas at Dallas(德克萨斯大学达拉斯分校);Hessian Center for Artificial Intelligence (hessian.AI)(黑森人工智能中心);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心)
Right Direction, Wrong Step: Geometric Analysis of Finite-Step Failure in Looped Transformers
University of Technology Sydney(悉尼科技大学);East China Normal University(华东师范大学);Shanghai University of Electric Power(上海电力大学);University of Agder(阿格德大学);Squirrel AI Learning(松鼠AI)
Shallow Queries, Mature Values: Depth-Asynchronous Self-Speculation for Looped Transformers
Tsinghua University(清华大学);Southern University of Science and Technology(南方科技大学);The University of Hong Kong(香港大学);Peking University(北京大学);Shenzhen University of Advanced Technology(深圳先进技术大学)
Loopback Transformer: Towards a Unified View of Residual Looped Transformers
University of Wisconsin–Madison(威斯康星大学麦迪逊分校);University of California, Santa Barbara(加利福尼亚大学圣巴巴拉分校);California Institute of Technology(加州理工学院);Microsoft(微软公司)
Looped ReLU MLPs May Be All You Need as Practical Programmable Computers
The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Tsinghua University(清华大学);The Simons Institute for the Theory of Computing(西蒙斯理论计算研究所);University of Pennsylvania(宾夕法尼亚大学)