Block-Recurrent Transformers
Not on the map. Why?
Abstract (arXiv)
We introduce the Block-Recurrent Transformer, which applies a transformer layer in a recurrent fashion along a sequence, and has linear complexity with respect to sequence length. Our recurrent cell operates on blocks of tokens rather than single tokens during training, and leverages parallel computation within a block in order to make efficient use of accelerator hardware. The cell itself is strikingly simple. It is merely a transformer layer: it uses self-attention and cross-attention to efficiently compute a recurrent function over a large set of state vectors and tokens. Our design was inspired in part by LSTM cells, and it uses LSTM-style gates, but it scales the typical LSTM cell up by several orders of magnitude. Our implementation of recurrence has the same cost in both computation time and parameter count as a conventional transformer layer, but offers dramatically improved perplexity in language modeling tasks over very long sequences. Our model out-performs a long-range Transformer XL baseline by a wide margin, while running twice as fast. We demonstrate its effectiveness on PG19 (books), arXiv papers, and GitHub source code. Our code has been released as open source.
Key facts. Cited by 107 papers in the map (data through 7 Oct 2026). Builds on 42 of its 57 references that are in the map. First posted on arXiv 11 Mar 2022.
Builds on
42 of 57 references.
References · 42
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
30 more
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2020Efficient Transformers: A Surveycited by 784
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2020Towards a Human-like Open-Domain Chatbotcited by 467
- 2021Attention is Not All You Need: Pure Attention Loses Rank Doubly Exponentially with Depthcited by 411
- 2021Random Feature Attentioncited by 350
- 2015LSTM: A Search Space Odysseycited by 315
- 2020Query-Key Normalization for Transformerscited by 266
- 2022Transformer Quality in Linear Timecited by 189
- 2015Training Very Deep Networkscited by 172
- 2022SCROLLS: Standardized CompaRison Over Long Language Sequencescited by 170
- 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 161
- 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 113
- 2018The Best of Both Worlds: Combining Recent Advances in Neural Machine Translationcited by 101
- 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
- 2021Going Beyond Linear Transformers with Recurrent Fast Weight Programmerscited by 84
- 2021Combiner: Full Attention Transformer with Sparse Computation Costcited by 64
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2017Simple Recurrent Units for Highly Parallelizable Recurrencecited by 60
- 2022General-purpose, long-context autoregressive modeling with Perceiver ARcited by 60
- 2021H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencescited by 47
- 2019R-Transformer: Recurrent Neural Network Enhanced Transformercited by 39
- 2021When Attention Meets Fast Recurrence: Training Language Models with Reduced Computecited by 34
- 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 32
- 2021Staircase Attention for Recurrent Processing of Sequencescited by 13
Built on by
Citing papers per year: 2022: 13; 2023: 25; 2024: 29; 2025: 17; 2026: 23.
107 papers.
Sort:
By area:
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2023Looped Transformers as Programmable Computerscited by 224
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
- 2023Efficient Large Language Models: A Surveycited by 183
- 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
- 2024From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Modelscited by 136
- 2023Looped Transformers are Better at Learning Learning Algorithmscited by 135
- 2022A Length-Extrapolatable Transformercited by 123
- 2025Test-Time Training Done Rightcited by 121
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 78
38 more
- 2022Creative Writing with an AI-Powered Writing Assistant: Perspectives from Professional Writerscited by 69
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2024MambaByte: Token-free Selective State Space Modelcited by 58
- 2023Training-free Diffusion Model Adaptation for Variable-Sized Text-to-Image Synthesiscited by 55
- 2024Language Repository for Long Video Understandingcited by 55
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 51
- 2024Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Lengthcited by 46
- 2025PonderLM: Pretraining Language Models to Ponder in Continuous Spacecited by 44
- 2022Temporally Consistent Transformers for Video Generationcited by 43
- 2023Compressed Context Memory For Online Language Model Interactioncited by 42
- 2024In Search of Needles in a 11M Haystack: Recurrent Memory Finds What LLMs Misscited by 36
- 2024How Far Can Transformers Reason? The Globality Barrier and Inductive Scratchpadcited by 35
- 2023Learning to Reason and Memorize with Self-Notescited by 30
- 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 26
- 2022Token Turing Machinescited by 25
- 2023Block-State Transformerscited by 24
- 2023Efficient Attention via Control Variatescited by 23
- 2024TransformerFAM: Feedback attention is working memorycited by 21
- 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrievalcited by 20
- 2022ChapterBreak: A Challenge Dataset for Long-Range Language Modelscited by 18
- 2024On the Resurgence of Recurrent Models for Long Sequences -- Survey and Research Opportunities in the Transformer Eracited by 17
- 2024A Philosophical Introduction to Language Models - Part II: The Way Forwardcited by 17
- 2023FIT: Far-reaching Interleaved Transformerscited by 16
- 2025MALT Diffusion: Memory-Augmented Latent Transformers for Any-Length Video Generationcited by 14
- 2022Temporal Latent Bottleneck: Synthesis of Fast and Slow Processing Mechanisms in Sequence Learningcited by 13
- 2022Exploring Transformers for Behavioural Biometrics: A Case Study in Gait Recognitioncited by 13
- 2025Recurrence-Enhanced Vision-and-Language Transformers for Robust Multimodal Document Retrievalcited by 13
- 2025Mamba Modulation: On the Length Generalization of Mambacited by 13
- 2023Focus Your Attention (with Adaptive IIR Filters)cited by 12
- 2023Recurrent Attention Networks for Long-text Modelingcited by 12
- 2025Think-at-Hard: Dynamic Looped Transformers for Improved Reasoningcited by 12
- 2023Large Language Model Programscited by 11
- 2024The Role of Foundation Models in Neuro-Symbolic Learning and Reasoningcited by 11
- 2026Addressable Memory for Video World Modelscited by 11
- 2023The Languini Kitchen: Enabling Language Modelling Research at Different Scales of Computecited by 10
- 2023On the Long Range Abilities of Transformerscited by 10
- 2024Rethinking Transformers in Solving POMDPscited by 9
- 2024MELODI: Exploring Memory Compression for Long Contextscited by 9
50 most cited of 107 All 107 (JSON)
- 2026TraceRelay: Attention-Aligned Recurrence over Rolling Traces8 Oct 2026
- 2026MiLoop: Selective Memory Propagation for Neural Combinatorial Optimization1 Oct 2026
- 2026LoopVL: Recurrent Visual Intelligence29 Sep 2026
- 2026Scalable In-Context Reinforcement Learning with Recurrent Algorithm Distillation28 Sep 2026
- 2026SchemaMem: Schema-Indexed Recurrent Memory for Delayed State Retrieval27 Sep 2026
- 2026Persistent Recurrent Memory Between Transformer Layers - Improves Language Model Generalization15 Sep 2026
- 2026Beyond Episodic AI: Cognitive Field Networks for Biologically Inspired Persistent Cognition15 Sep 2026
- 2026Recirculation18 Aug 2026
- 2026Addressable Memory for Video World Models7 Aug 2026
- 2026Maglev: Sliding Recurrent Memory3 Aug 2026
- 2026Loop the Loopies!17 Jul 2026
- 2026Post-Boundary Bridge: Must Local Attention Go Global Between Global Layers?1 Jun 2026
38 more
- 2026D'ej`a View: Looping Transformers for Multi-View 3D Reconstruction28 May 2026
- 2026Latent Recurrent Transformer: Architecture Exploration, Training Strategies, and Scaling Behavior26 May 2026
- 2026HRM-Text: Efficient Pretraining Beyond Scaling20 May 2026
- 2026Recurrent Transformer-Based Near- and Far-Field THz Wideband Channel Estimation for UM-MIMO12 May 2026
- 2026KV-Fold: One-Step KV-Cache Recurrence for Long-Context Inference12 May 2026
- 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memory11 May 2026
- 2026Sessa: Selective State Space Attention20 Apr 2026
- 2026The Topological Trouble With Transformers18 Apr 2026
- 2026Expert-Choice Routing Enables Adaptive Computation in Diffusion Language Models2 Apr 2026
- 2026HiCI: Hierarchical Construction-Integration for Long-Context Attention21 Mar 2026
- 2026Towards Compressive and Scalable Recurrent Memory11 Feb 2026
- 2025Modeling Language as a Sequence of Thoughts31 Dec 2025
- 2025Think-at-Hard: Dynamic Looped Transformers for Improved Reasoning11 Nov 2025
- 2025To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Models16 Oct 2025
- 2025ELMUR: External Layer Memory with Update/Rewrite for Long-Horizon RL Problems8 Oct 2025
- 2025Mamba Modulation: On the Length Generalization of Mamba23 Sep 2025
- 2025Language Modeling with Learned Meta-Tokens18 Sep 2025
- 2025Recurrence Meets Transformers for Universal Multimodal Retrieval10 Sep 2025
- 2025RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence Modeling6 Jul 2025
- 2025Generalizable, real-time neural decoding with hybrid state-space models5 Jun 2025
- 2025Diagonal Batching Unlocks Parallelism in Recurrent Memory Transformers for Long Contexts5 Jun 2025
- 2025Test-Time Training Done Right29 May 2025
- 2025PonderLM: Pretraining Language Models to Ponder in Continuous Space27 May 2025
- 2025Compact Recurrent Transformer with Persistent Memory2 May 2025
- 2025Recurrence-Enhanced Vision-and-Language Transformers for Robust Multimodal Document Retrieval3 Mar 2025
- 2025MALT Diffusion: Memory-Augmented Latent Transformers for Any-Length Video Generation18 Feb 2025
- 2025Efficient Language Modeling for Low-Resource Settings with Hybrid RNN-Transformer Architectures2 Feb 2025
- 2025StagFormer: Time Staggering Transformer Decoding for RunningLayers In Parallel26 Jan 2025
- 2024Titans: Learning to Memorize at Test Time31 Dec 2024
- 2024Efficient Context Propagating Perceiver Architectures for Auto-Regressive Language Modeling8 Dec 2024
- 2024AERO: Entropy-Guided Framework for Private LLM Inference16 Oct 2024
- 2024ReLU's Revival: On the Entropic Overload in Normalization-Free Large Language Models12 Oct 2024
- 2024MELODI: Exploring Memory Compression for Long Contexts4 Oct 2024
- 2024Efficient Length-Generalizable Attention via Causal Retrieval for Long-Context Language Modeling2 Oct 2024
- 2024Maelstrom Networks29 Aug 2024
- 2024From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Models24 Jun 2024
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformers24 Jun 2024
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystack14 Jun 2024
50 newest of 107 All 107 (JSON)
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalizationcited by 78
- 2023Learning to Reason and Memorize with Self-Notescited by 30
- 2025Think-at-Hard: Dynamic Looped Transformers for Improved Reasoningcited by 12
- 2024The Role of Foundation Models in Neuro-Symbolic Learning and Reasoningcited by 11
- 2025Modeling Language as a Sequence of Thoughtscited by 2
- 2024Freely Long-Thinking Transformer (FraiLT)cited by 0
- 2025Modeling Language as a Sequence of Thoughts31 Dec 2025
- 2025Think-at-Hard: Dynamic Looped Transformers for Improved Reasoning11 Nov 2025
- 2024Titans: Learning to Memorize at Test Time31 Dec 2024
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystack14 Jun 2024
- 2024Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization23 May 2024
- 2024The Role of Foundation Models in Neuro-Symbolic Learning and Reasoning2 Feb 2024
- 2024Freely Long-Thinking Transformer (FraiLT)21 Jan 2024
- 2023Learning to Reason and Memorize with Self-Notes1 May 2023
- 2025Test-Time Training Done Rightcited by 121
- 2023Training-free Diffusion Model Adaptation for Variable-Sized Text-to-Image Synthesiscited by 55
- 2025MALT Diffusion: Memory-Augmented Latent Transformers for Any-Length Video Generationcited by 14
- 2026Expert-Choice Routing Enables Adaptive Computation in Diffusion Language Modelscited by 3
- 2026Expert-Choice Routing Enables Adaptive Computation in Diffusion Language Models2 Apr 2026
- 2025Test-Time Training Done Right29 May 2025
- 2025MALT Diffusion: Memory-Augmented Latent Transformers for Any-Length Video Generation18 Feb 2025
- 2023Training-free Diffusion Model Adaptation for Variable-Sized Text-to-Image Synthesis14 Jun 2023
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2024MambaByte: Token-free Selective State Space Modelcited by 58
- 2025Mamba Modulation: On the Length Generalization of Mambacited by 13
- 2026Sessa: Selective State Space Attentioncited by 0
- 2026Sessa: Selective State Space Attention20 Apr 2026
- 2025Mamba Modulation: On the Length Generalization of Mamba23 Sep 2025
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges24 Apr 2024
- 2024MambaByte: Token-free Selective State Space Model24 Jan 2024
- 2026Loop the Loopies!cited by 4
- 2026Loop the Loopies!17 Jul 2026
- 2026Addressable Memory for Video World Modelscited by 11
- 2026Addressable Memory for Video World Models7 Aug 2026
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2023Looped Transformers as Programmable Computerscited by 224
- 2023Efficient Large Language Models: A Surveycited by 183
- 2023MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformerscited by 164
- 2024From Decoding to Meta-Generation: Inference-time Algorithms for Large Language Modelscited by 136
- 2023Looped Transformers are Better at Learning Learning Algorithmscited by 135
- 2022A Length-Extrapolatable Transformercited by 123
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 84
- 2022Creative Writing with an AI-Powered Writing Assistant: Perspectives from Professional Writerscited by 69
- 2024Language Repository for Long Video Understandingcited by 55
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 51
- 2024Megalodon: Efficient LLM Pretraining and Inference with Unlimited Context Lengthcited by 46
12 most cited of 84 All 84 (JSON)
- 2026TraceRelay: Attention-Aligned Recurrence over Rolling Traces8 Oct 2026
- 2026MiLoop: Selective Memory Propagation for Neural Combinatorial Optimization1 Oct 2026
- 2026LoopVL: Recurrent Visual Intelligence29 Sep 2026
- 2026Scalable In-Context Reinforcement Learning with Recurrent Algorithm Distillation28 Sep 2026
- 2026SchemaMem: Schema-Indexed Recurrent Memory for Delayed State Retrieval27 Sep 2026
- 2026Persistent Recurrent Memory Between Transformer Layers - Improves Language Model Generalization15 Sep 2026
- 2026Beyond Episodic AI: Cognitive Field Networks for Biologically Inspired Persistent Cognition15 Sep 2026
- 2026Recirculation18 Aug 2026
- 2026Maglev: Sliding Recurrent Memory3 Aug 2026
- 2026D'ej`a View: Looping Transformers for Multi-View 3D Reconstruction28 May 2026
- 2026Latent Recurrent Transformer: Architecture Exploration, Training Strategies, and Scaling Behavior26 May 2026
- 2026HRM-Text: Efficient Pretraining Beyond Scaling20 May 2026
12 newest of 84 All 84 (JSON)