Recurrent Looped Transformer

Hugging Face Daily Papers Papers

Summary

论文提出 Recurrent Looped Transformer (RLT),将层分为并行因果编码器和循环解码器,使计算路径随序列长度增长而每 token 成本固定,在奇偶校验、S5 置换追踪和模运算等算法任务上显著优于标准 Transformer 的长度外推能力。

State tracking requires an update at every input, but the depth a Transformer applies to each token is fixed regardless of sequence length. We introduce the Recurrent Looped Transformer (RLT), which splits its layers between a parallel causal encoder and a recurrent decoder. At each token, the decoder merges the encoder output with the previous token's final decoder state, so the computation path grows with sequence length at a fixed per-token cost. On six algorithmic tasks, we compare five splits of eight layers with an eight-layer Transformer over three seeds. Trained on at most 40 bits, two RLT splits generalize parity to 256 bits with 100% accuracy in every seed, while the Transformer stays at chance. On swap-based S_5 permutation tracking at eight times the training length, RLT reaches 97% final-state accuracy versus under 1% for the Transformer, and accuracy increases with decoder depth. On modular arithmetic beyond the training lengths, RLT reaches up to 93% versus 33% for the Transformer. Ablations show that these gains depend on the feedback: removing it drops parity and swap-based S_5 to chance at every split. Updating the feedback once per four-token chunk lets known tokens in a chunk run in parallel and keeps 64-bit parity at 99%, while permutation tracking depends on per-token feedback: chunking lowers length-64 swap-based S_5 from 100% to 20%.
Original Article
View Cached Full Text

Cached at: 10/08/26, 12:30 PM

Paper page - Recurrent Looped Transformer

Source: https://huggingface.co/papers/2610.07591

Abstract

Statetrackingrequiresanupdateateveryinput,butthedepthaTransformerappliestoeachtokenisfixedregardlessofsequencelength.WeintroducetheRecurrentLoopedTransformer(RLT),whichsplitsitslayersbetweenaparallelcausalencoderandarecurrentdecoder.Ateachtoken,thedecodermergestheencoderoutputwiththeprevioustoken’sfinaldecoderstate,sothecomputationpathgrowswithsequencelengthatafixedper-tokencost.Onsixalgorithmictasks,wecomparefivesplitsofeightlayerswithaneight-layerTransformeroverthreeseeds.Trainedonatmost40bits,twoRLTsplitsgeneralizeparityto256bitswith100%accuracyineveryseed,whiletheTransformerstaysatchance.Onswap-basedS_5permutationtrackingateighttimesthetraininglength,RLTreaches97%final-stateaccuracyversusunder1%fortheTransformer,andaccuracyincreaseswithdecoderdepth.Onmodulararithmeticbeyondthetraininglengths,RLTreachesupto93%versus33%fortheTransformer.Ablationsshowthatthesegainsdependonthefeedback:removingitdropsparityandswap-basedS_5tochanceateverysplit.Updatingthefeedbackonceperfour-tokenchunkletsknowntokensinachunkruninparallelandkeeps64-bitparityat99%,whilepermutationtrackingdependsonper-tokenfeedback:chunkinglowerslength-64swap-basedS_5from100%to20%.

View arXiv pageView PDFProject pageGitHub908Add to collection

Get this paper in your agent:

hf papers read 2610\.07591

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2610.07591 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2610.07591 in a dataset README.md to link it from this page.

Spaces citing this paper1

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

Recurrent Looped Transformer

Hacker News Top

Recurrent Looped Transformer (RLT) is a novel architecture combining a causal encoder with a recurrent decoder to achieve latent reasoning with unbounded temporal depth, model-hardware co-design, and model-RL algorithm co-design.

Loopback Transformer: Towards a Unified View of Residual Looped Transformers

Hugging Face Daily Papers

The paper proposes Loopback Transformer, which reinterprets residual connections as memory along network depth via a write–transport–read formulation, storing block updates with geometric forgetting and content-dependent attention. At matched tokens and depth it achieves lower validation loss and higher 13-task zero-shot accuracy than Standard Transformers at 1.4B and 3B while retaining only 68% and 75% of their parameters.

Decoding Looped Transformers Better for (Almost) Free

Hugging Face Daily Papers

The paper introduces LoopCD, a training-free contrastive decoding framework for looped transformers that uses intermediate recurrent states as weak/strong prediction pairs, delivering substantial gains (e.g., Ouro-2.6B-Thinking's AIME 2024 pass@1 rising from 61.88% to 73.33%) while enabling halving of recurrent loops and 22.5%-48.2% reductions in forward FLOPs.

Causal Latent Workspaces for Looped Transformers

arXiv cs.CL

该论文提出因果潜在工作区 Transformer(causal latent workspace Transformer),通过在共享深度的循环块之间加入可读写的前缀专属潜在槽位,提升了循环 Transformer 的语言建模困惑度,并在三个字节级语料上的多数设置中优于五个基线对照。

What Are Looped Transformers? Explained Clearly (8 minute read)

TLDR AI

Looped transformers reuse the same layers across multiple passes to trade parameter count for compute, achieving better reasoning with fewer weights. The article traces the idea back to the Universal Transformer (2018) and explains why it initially failed due to scaling laws and timing.