Recurrent Looped Transformer: plain AI paper summary
AI-generated summary. Read the original paper before relying on it.
Hugging Face paper page · Original paper on arXiv
The Recurrent Looped Transformer splits its layers into a parallel encoder and a recurrent decoder. This lets it track state across long sequences better than a standard Transformer.
Key findings
- The model splits layers between a parallel encoder and a recurrent decoder to allow the computation path to grow with sequence length.
- On parity tasks, two specific layer splits achieved 100% accuracy up to 256 bits, while the standard Transformer stayed at chance level.
- For swap-based S_5 permutation tracking, the RLT reached 97% accuracy at eight times the training length, compared to under 1% for the Transformer.
- Ablations show that removing the recurrent feedback drops performance to chance, proving the gains depend on this specific mechanism.
- Chunking the feedback to run every four tokens maintains 99% accuracy on 64-bit parity but drops permutation tracking accuracy from 100% to 20%.
How you might use it
- Use the architecture for algorithmic tasks requiring strict state tracking, such as parity or permutation checks.
- Measure accuracy on state-dependent tasks at sequence lengths beyond the training data to verify generalization.
- Test chunked feedback if parallel processing speed is critical, but measure the drop in accuracy for complex permutation tasks.
Limits
The paper does not report performance on natural language tasks or real-world production workloads. It also does not detail the computational overhead of the recurrent decoder compared to a standard Transformer of equivalent parameter count.
Related research
- BDH-CQ: In-Context Learning with Recurrent Latent Reasoning Related paper on arXiv: Both papers address the limitation of fixed-depth Transformers by introducing recurrent state mechanisms that update during inference. The main paper (RLT) uses a recurrent decoder to grow computation with sequence length at fixed per-token cost, while BDH-CQ uses recurrent latent memory updated by in-context inputs to enable iterative reasoning without verbalization.