The Recurrent Transformer: Greater Effective Depth and Efficient Decoding
Not on the map. Why?
Abstract (arXiv)
Transformers process tokens in parallel but are temporally shallow: at position t, each layer attends to key-value pairs computed based on the previous layer, yielding a depth capped by the number of layers. Recurrent models offer unbounded temporal depth but suffer from optimization instability and historically underutilize modern accelerators. We introduce the Recurrent Transformer, a simple architectural change where each layer attends to key-value pairs computed off its own activations, yielding layerwise recurrent memory while preserving standard autoregressive decoding cost. We show that the architecture can emulate both (i) a conventional Transformer and (ii) token-to-token recurrent updates under mild assumptions, while avoiding optimization instability. Naively, prefill/training appears bandwidth-bound with effective arithmetic intensity near 1 because keys and values are revealed sequentially; we give an exact tiling-based algorithm that preserves the mathematical computation while reducing HBM traffic from Theta(N2) to Theta(Nlog N), increasing effective arithmetic intensity to Theta(N/log N) for sequence length N. On 150M and 300M parameter C4 pretraining, Recurrent Transformers improve cross-entropy over a parameter-matched Transformer baseline and achieve the improvement with fewer layers (fixed parameters), suggesting that recurrence can trade depth for width, thus reducing KV cache memory footprint and inference latency.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 34 of its 45 references that are in the map. First posted on arXiv 23 Apr 2026.
Builds on
34 of 45 references.
References · 34
- 2017Attention Is All You Needcited by 59,932
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2019Root Mean Square Layer Normalizationcited by 1,425
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
22 more
- 2020On Layer Normalization in the Transformer Architecturecited by 906
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2022Simplified State Space Layers for Sequence Modelingcited by 776
- 2017Crowdsourcing Multiple Choice Science Questionscited by 742
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 20242 OLMo 2 Furiouscited by 302
- 2018An Empirical Model of Large-Batch Trainingcited by 268
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2022Recurrent Memory Transformercited by 197
- 2018Measuring the Effects of Data Parallelism on Neural Network Trainingcited by 190
- 2021Self-attention Does Not Need O(n2) Memorycited by 152
- 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 137
- 2024How Does Critical Batch Size Scale in Pre-training?cited by 68
- 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 57
- 2024Establishing Task Scaling Laws via Compute-Efficient Model Ladderscited by 32
- 2024TransformerFAM: Feedback attention is working memorycited by 21
- 2021Staircase Attention for Recurrent Processing of Sequencescited by 13
- 2024Flash Inference: Near Linear Time Inference for Long Convolution Sequence Models and Beyondcited by 3
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Training-Free Looped Transformerscited by 12
- 2026Pretraining Recurrent Networks without Recurrencecited by 5
- 2026Temporal Recurrence Favors Fewer Layerscited by 1
- 2026WhiteMatter: All-to-All Cross-Layer Connections via KV Source Mixingcited by 0
- 2026Beyond Episodic AI: Cognitive Field Networks for Biologically Inspired Persistent Cognitioncited by 0
- 2026Beyond Episodic AI: Cognitive Field Networks for Biologically Inspired Persistent Cognition15 Sep 2026
- 2026Temporal Recurrence Favors Fewer Layers11 Sep 2026
- 2026WhiteMatter: All-to-All Cross-Layer Connections via KV Source Mixing19 Aug 2026
- 2026Pretraining Recurrent Networks without Recurrence4 Jun 2026
- 2026Training-Free Looped Transformers22 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026Trading Depth for Time in Recurrent Transformers
- 2026Latent Recurrent Transformer: Architecture Exploration, Training Strategies, and Scaling Behavior
- 2024MLKV: Multi-Layer Key-Value Heads for Memory Efficient Transformer Decoding
- 2026The Surprising Effectiveness of Shared Memory in Looped Transformers
- 2025End-to-End Transformer Acceleration Through Processing-in-Memory Architectures
- 2026The Context-Ready Transformer
- 2025Two-Scale Latent Dynamics for Recurrent-Depth Transformers
- 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving