GMAT: Global Memory Augmentation for Transformers
Not on the map. Why?
Abstract (arXiv)
Transformer-based models have become ubiquitous in natural language processing thanks to their large capacity, innate parallelism and high performance. The contextualizing component of a Transformer block is the textitpairwise dot-product attention that has a large Omega(L2) memory requirement for length L sequences, limiting its ability to process long documents. This has been the subject of substantial interest recently, where multiple approximations were proposed to reduce the quadratic memory requirement using sparse attention matrices. In this work, we propose to augment sparse Transformer blocks with a dense attention-based textitglobal memory of length M (ll L) which provides an aggregate global view of the entire input sequence to each position. Our augmentation has a manageable O(M·(L+M)) memory overhead, and can be seamlessly integrated with prior sparse solutions. Moreover, global memory can also be used for sequence compression, by representing a long input sequence with the memory representations only. We empirically show that our method leads to substantial improvement on a range of tasks, including (a) synthetic tasks that require global reasoning, (b) masked language modeling, and (c) reading comprehension.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 12; 2023: 10; 2024: 3; 2025: 6; 2026: 1.
36 papers.
Sort:
By area:
- 2022Simplified State Space Layers for Sequence Modelingcited by 776
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2022Recurrent Memory Transformercited by 197
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 188
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2023Scaling Transformer to 1M tokens and beyond with RMTcited by 97
- 2021Luna: Linear Unified Nested Attentioncited by 96
- 2022Efficient Long-Text Understanding with Short-Text Modelscited by 71
- 2022CMT-DeepLab: Clustering Mask Transformers for Panoptic Segmentationcited by 60
- 2021Memory-efficient Transformers via Top-k Attentioncited by 59
- 2022Dissecting Transformer Length Extrapolation via the Lens of Receptive Field Analysiscited by 39
24 more
- 2024InfiniMotion: Mamba Boosts Memory in Transformer for Arbitrary Long Motion Generationcited by 23
- 2024TransformerFAM: Feedback attention is working memorycited by 21
- 2022ChapterBreak: A Challenge Dataset for Long-Range Language Modelscited by 18
- 2023FIT: Far-reaching Interleaved Transformerscited by 16
- 2023Eureka-Moments in Transformers: Multi-Step Tasks Reveal Softmax Induced Optimization Problemscited by 14
- 2025Episodic Memories Generation and Evaluation Benchmark for Large Language Modelscited by 14
- 2025LM2: Large Memory Modelscited by 13
- 2022kMaX-DeepLab: k-means Mask Transformercited by 12
- 2023Focus Your Attention (with Adaptive IIR Filters)cited by 12
- 2022Explain My Surprise: Learning Efficient Long-Term Memory by Predicting Uncertain Outcomescited by 11
- 2023On the Long Range Abilities of Transformerscited by 10
- 2023Chunk, Align, Select: A Simple Long-sequence Processing Method for Transformerscited by 9
- 2024From Text to Life: On the Reciprocal Relationship between Artificial Life and Large Language Modelscited by 8
- 2022SeDR: Segment Representation Learning for Long Documents Dense Retrievalcited by 6
- 2021Value-aware Approximate Attentioncited by 5
- 2022Global memory transformer for processing long documentscited by 4
- 2023Associative Transformercited by 4
- 2025Vision encoders should be image size agnostic and task drivencited by 3
- 2023Uncertainty Guided Global Memory Improves Multi-Hop Question Answeringcited by 2
- 2025Hankel Singular Value Regularization for Highly Compressible State Space Modelscited by 2
- 2026Prefix Sliding for efficient test-time scalingcited by 2
- 2021Interpretable Self-supervised Multi-task Learning for COVID-19 Information Retrieval and Extractioncited by 0
- 2023Heterogenous Memory Augmented Neural Networkscited by 0
- 2025ARLED: Leveraging LED-based ARMAN Model for Abstractive Summarization of Persian Long Documentscited by 0
- 2026Prefix Sliding for efficient test-time scaling26 Aug 2026
- 2025Hankel Singular Value Regularization for Highly Compressible State Space Models27 Oct 2025
- 2025Vision encoders should be image size agnostic and task driven22 Aug 2025
- 2025ARLED: Leveraging LED-based ARMAN Model for Abstractive Summarization of Persian Long Documents13 Mar 2025
- 2025MoBA: Mixture of Block Attention for Long-Context LLMs18 Feb 2025
- 2025LM2: Large Memory Models9 Feb 2025
- 2025Episodic Memories Generation and Evaluation Benchmark for Large Language Models21 Jan 2025
- 2024InfiniMotion: Mamba Boosts Memory in Transformer for Arbitrary Long Motion Generation14 Jul 2024
- 2024From Text to Life: On the Reciprocal Relationship between Artificial Life and Large Language Models14 Jun 2024
- 2024TransformerFAM: Feedback attention is working memory14 Apr 2024
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systems23 Dec 2023
- 2023Uncertainty Guided Global Memory Improves Multi-Hop Question Answering29 Nov 2023
24 more
- 2023On the Long Range Abilities of Transformers28 Nov 2023
- 2023Eureka-Moments in Transformers: Multi-Step Tasks Reveal Softmax Induced Optimization Problems19 Oct 2023
- 2023Heterogenous Memory Augmented Neural Networks17 Oct 2023
- 2023Associative Transformer22 Sep 2023
- 2023Chunk, Align, Select: A Simple Long-sequence Processing Method for Transformers25 Aug 2023
- 2023Focus Your Attention (with Adaptive IIR Filters)24 May 2023
- 2023FIT: Far-reaching Interleaved Transformers22 May 2023
- 2023Scaling Transformer to 1M tokens and beyond with RMT19 Apr 2023
- 2022Dissecting Transformer Length Extrapolation via the Lens of Receptive Field Analysis20 Dec 2022
- 2022Global memory transformer for processing long documents3 Dec 2022
- 2022SeDR: Segment Representation Learning for Long Documents Dense Retrieval20 Nov 2022
- 2022Simplified State Space Layers for Sequence Modeling9 Aug 2022
- 2022Efficient Long-Text Understanding with Short-Text Models1 Aug 2022
- 2022Explain My Surprise: Learning Efficient Long-Term Memory by Predicting Uncertain Outcomes27 Jul 2022
- 2022Recurrent Memory Transformer14 Jul 2022
- 2022kMaX-DeepLab: k-means Mask Transformer8 Jul 2022
- 2022Long Range Language Modeling via Gated State Spaces27 Jun 2022
- 2022CMT-DeepLab: Clustering Mask Transformers for Panoptic Segmentation17 Jun 2022
- 2022ChapterBreak: A Challenge Dataset for Long-Range Language Models22 Apr 2022
- 2022Diagonal State Spaces are as Effective as Structured State Spaces27 Mar 2022
- 2021Interpretable Self-supervised Multi-task Learning for COVID-19 Information Retrieval and Extraction15 Jun 2021
- 2021Memory-efficient Transformers via Top-k Attention13 Jun 2021
- 2021Luna: Linear Unified Nested Attention3 Jun 2021
- 2021Value-aware Approximate Attention17 Mar 2021
- 2026Prefix Sliding for efficient test-time scalingcited by 2
- 2026Prefix Sliding for efficient test-time scaling26 Aug 2026
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 188
- 2025MoBA: Mixture of Block Attention for Long-Context LLMs18 Feb 2025
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2022Recurrent Memory Transformercited by 197
- 2023Scaling Transformer to 1M tokens and beyond with RMTcited by 97
- 2021Luna: Linear Unified Nested Attentioncited by 96
- 2022Efficient Long-Text Understanding with Short-Text Modelscited by 71
- 2022CMT-DeepLab: Clustering Mask Transformers for Panoptic Segmentationcited by 60
- 2021Memory-efficient Transformers via Top-k Attentioncited by 59
- 2022Dissecting Transformer Length Extrapolation via the Lens of Receptive Field Analysiscited by 39
- 2024TransformerFAM: Feedback attention is working memorycited by 21
- 2022ChapterBreak: A Challenge Dataset for Long-Range Language Modelscited by 18
- 2023FIT: Far-reaching Interleaved Transformerscited by 16
- 2023Eureka-Moments in Transformers: Multi-Step Tasks Reveal Softmax Induced Optimization Problemscited by 14
12 most cited of 30 All 30 (JSON)
- 2025Hankel Singular Value Regularization for Highly Compressible State Space Models27 Oct 2025
- 2025Vision encoders should be image size agnostic and task driven22 Aug 2025
- 2025ARLED: Leveraging LED-based ARMAN Model for Abstractive Summarization of Persian Long Documents13 Mar 2025
- 2025LM2: Large Memory Models9 Feb 2025
- 2025Episodic Memories Generation and Evaluation Benchmark for Large Language Models21 Jan 2025
- 2024From Text to Life: On the Reciprocal Relationship between Artificial Life and Large Language Models14 Jun 2024
- 2024TransformerFAM: Feedback attention is working memory14 Apr 2024
- 2023Uncertainty Guided Global Memory Improves Multi-Hop Question Answering29 Nov 2023
- 2023On the Long Range Abilities of Transformers28 Nov 2023
- 2023Eureka-Moments in Transformers: Multi-Step Tasks Reveal Softmax Induced Optimization Problems19 Oct 2023
- 2023Heterogenous Memory Augmented Neural Networks17 Oct 2023
- 2023Associative Transformer22 Sep 2023
12 newest of 30 All 30 (JSON)