Do Transformers Need Deep Long-Range Memory
Not on the map. Why?
Abstract (arXiv)
Deep attention models have advanced the modelling of sequential data across many domains. For language modelling in particular, the Transformer-XL -- a Transformer augmented with a long-range memory of past activations -- has been shown to be state-of-the-art across a variety of well-studied benchmarks. The Transformer-XL incorporates a long-range memory at every layer of the network, which renders its state to be thousands of times larger than RNN predecessors. However it is unclear whether this is necessary. We perform a set of interventions to show that comparable performance can be obtained with 6X fewer long range memories and better performance can be obtained by limiting the range of attention in lower layers of the network.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 5; 2023: 7; 2024: 4; 2025: 3; 2026: 2.
24 papers.
Sort:
By area:
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022MeMViT: Memory-Augmented Multiscale Vision Transformer for Efficient Long-Term Video Recognitioncited by 189
- 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
- 2023DiffuseStyleGesture: Stylized Audio-Driven Co-Speech Gesture Generation with Diffusion Modelscited by 85
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 51
- 2024Masked Audio Generation using a Single Non-Autoregressive Transformercited by 50
- 2023AMAGO: Scalable In-Context Reinforcement Learning for Adaptive Agentscited by 36
- 2025Hogwild! Inference: Parallel LLM Generation via Concurrent Attentioncited by 32
- 2023Dissociating language and thought in large language modelscited by 27
- 2022The NLP Task Effectiveness of Long-Range Transformerscited by 22
- 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budgetcited by 21
- 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrievalcited by 20
12 more
- 2025StoryBench: A Dynamic Benchmark for Evaluating Long-Term Memory with Multi Turnscited by 20
- 2021Well Googled is Half Done: Multimodal Forecasting of New Fashion Product Sales with Image-based Google Trendscited by 15
- 2021Can Transformers Jump Around Right in Natural Language? Assessing Performance Transfer from SCANcited by 14
- 2023Transformer Working Memory Enables Regular Language Reasoning and Natural Language Length Extrapolationcited by 13
- 2025What Makes for Text to 360-degree Panorama Generation with Stable Diffusion?cited by 13
- 2023Zebra: Extending Context Window with Layerwise Grouped Local-Global Attentioncited by 6
- 2022Embedding Recycling for Language Modelscited by 5
- 2024Are queries and keys always relevant? A case study on Transformer wave functionscited by 5
- 2023What Makes Data Suitable for a Locally Connected Neural Network? A Necessary and Sufficient Condition Based on Quantum Entanglementcited by 4
- 2022iColoriT: Towards Propagating Local Hint to the Right Region in Interactive Colorization by Leveraging Vision Transformercited by 0
- 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrencecited by 0
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcriptscited by 0
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcripts31 Jul 2026
- 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrence23 Feb 2026
- 2025StoryBench: A Dynamic Benchmark for Evaluating Long-Term Memory with Multi Turns16 Jun 2025
- 2025What Makes for Text to 360-degree Panorama Generation with Stable Diffusion?28 May 2025
- 2025Hogwild! Inference: Parallel LLM Generation via Concurrent Attention8 Apr 2025
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformers24 Jun 2024
- 2024Are queries and keys always relevant? A case study on Transformer wave functions29 May 2024
- 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget7 Apr 2024
- 2024Masked Audio Generation using a Single Non-Autoregressive Transformer9 Jan 2024
- 2023Zebra: Extending Context Window with Layerwise Grouped Local-Global Attention14 Dec 2023
- 2023AMAGO: Scalable In-Context Reinforcement Learning for Adaptive Agents15 Oct 2023
- 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrieval23 Jun 2023
12 more
- 2023DiffuseStyleGesture: Stylized Audio-Driven Co-Speech Gesture Generation with Diffusion Models8 May 2023
- 2023Transformer Working Memory Enables Regular Language Reasoning and Natural Language Length Extrapolation5 May 2023
- 2023What Makes Data Suitable for a Locally Connected Neural Network? A Necessary and Sufficient Condition Based on Quantum Entanglement20 Mar 2023
- 2023Dissociating language and thought in large language models16 Jan 2023
- 2022iColoriT: Towards Propagating Local Hint to the Right Region in Interactive Colorization by Leveraging Vision Transformer14 Jul 2022
- 2022Embedding Recycling for Language Models11 Jul 2022
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness27 May 2022
- 2022The NLP Task Effectiveness of Long-Range Transformers16 Feb 2022
- 2022MeMViT: Memory-Augmented Multiscale Vision Transformer for Efficient Long-Term Video Recognition20 Jan 2022
- 2021Well Googled is Half Done: Multimodal Forecasting of New Fashion Product Sales with Image-based Google Trends20 Sep 2021
- 2021Do Long-Range Language Models Actually Use Long-Range Context?19 Sep 2021
- 2021Can Transformers Jump Around Right in Natural Language? Assessing Performance Transfer from SCAN3 Jul 2021
- 2023Dissociating language and thought in large language modelscited by 27
- 2023Dissociating language and thought in large language models16 Jan 2023
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022MeMViT: Memory-Augmented Multiscale Vision Transformer for Efficient Long-Term Video Recognitioncited by 189
- 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 51
- 2024Masked Audio Generation using a Single Non-Autoregressive Transformercited by 50
- 2023AMAGO: Scalable In-Context Reinforcement Learning for Adaptive Agentscited by 36
- 2022The NLP Task Effectiveness of Long-Range Transformerscited by 22
- 2025StoryBench: A Dynamic Benchmark for Evaluating Long-Term Memory with Multi Turnscited by 20
- 2021Well Googled is Half Done: Multimodal Forecasting of New Fashion Product Sales with Image-based Google Trendscited by 15
- 2021Can Transformers Jump Around Right in Natural Language? Assessing Performance Transfer from SCANcited by 14
- 2023Transformer Working Memory Enables Regular Language Reasoning and Natural Language Length Extrapolationcited by 13
- 2023Zebra: Extending Context Window with Layerwise Grouped Local-Global Attentioncited by 6
12 most cited of 18 All 18 (JSON)
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcripts31 Jul 2026
- 2026Whole-Piece Training for Symbolic Music Language Models via Full-Horizon Compressed Recurrence23 Feb 2026
- 2025StoryBench: A Dynamic Benchmark for Evaluating Long-Term Memory with Multi Turns16 Jun 2025
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformers24 Jun 2024
- 2024Are queries and keys always relevant? A case study on Transformer wave functions29 May 2024
- 2024Masked Audio Generation using a Single Non-Autoregressive Transformer9 Jan 2024
- 2023Zebra: Extending Context Window with Layerwise Grouped Local-Global Attention14 Dec 2023
- 2023AMAGO: Scalable In-Context Reinforcement Learning for Adaptive Agents15 Oct 2023
- 2023Transformer Working Memory Enables Regular Language Reasoning and Natural Language Length Extrapolation5 May 2023
- 2023What Makes Data Suitable for a Locally Connected Neural Network? A Necessary and Sufficient Condition Based on Quantum Entanglement20 Mar 2023
- 2022iColoriT: Towards Propagating Local Hint to the Right Region in Interactive Colorization by Leveraging Vision Transformer14 Jul 2022
- 2022Embedding Recycling for Language Models11 Jul 2022
12 newest of 18 All 18 (JSON)