ABC: Attention with Bounded-memory Control
Not on the map. Why?
Abstract (arXiv)
Transformer architectures have achieved state-of-the-art results on a variety of sequence modeling tasks. However, their attention mechanism comes with a quadratic complexity in sequence lengths, making the computational overhead prohibitive, especially for long sequences. Attention context can be seen as a random-access memory with each token taking a slot. Under this perspective, the memory size grows linearly with the sequence length, and so does the overhead of reading from it. One way to improve the efficiency is to bound the memory size. We show that disparate approaches can be subsumed into one abstraction, attention with bounded-memory control (ABC), and they vary in their organization of the memory. ABC reveals new, unexplored possibilities. First, it connects several efficient attention variants that would otherwise seem apart. Second, this abstraction gives new insights--an established approach (Wang et al., 2020b) previously thought to be not applicable in causal attention, actually is. Last, we present a new instance of ABC, which draws inspiration from existing ABC approaches, but replaces their heuristic memory-organizing functions with a learned, contextualized one. Our experiments on language modeling, machine translation, and masked language model finetuning show that our approach outperforms previous efficient attention models; compared to the strong transformer baselines, it significantly improves the inference time and space efficiency with no or negligible accuracy loss.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 44 of its 69 references that are in the map. First posted on arXiv 6 Oct 2021.
Builds on
44 of 69 references.
References · 44
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
32 more
- 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
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2020Efficient Transformers: A Surveycited by 784
- 2018Image Transformercited by 770
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2014Neural Turing Machinescited by 630
- 2019Defending Against Neural Fake Newscited by 553
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
- 2014Memory Networkscited by 354
- 2021Random Feature Attentioncited by 350
- 2018Generating Wikipedia by Summarizing Long Sequencescited by 333
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2018A Simple Method for Commonsense Reasoningcited by 223
- 2020Fast Transformers with Clustered Attentioncited by 123
- 2020Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translationcited by 104
- 2021Luna: Linear Unified Nested Attentioncited by 96
- 2021Finetuning Pretrained Transformers into RNNscited by 94
- 2018Document-Level Neural Machine Translation with Hierarchical Attention Networkscited by 85
- 2021Coordination Among Neural Modules Through a Shared Global Workspacecited by 83
- 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
- 2017Simple Recurrent Units for Highly Parallelizable Recurrencecited by 60
- 2015Learning to Transduce with Unbounded Memorycited by 54
- 2020Hard-Coded Gaussian Attention for Neural Machine Translationcited by 42
- 2020Self-Attentive Associative Memorycited by 33
- 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 32
- 2018Rational Recurrencescited by 18
Built on by
Citing papers per year: 2022: 5; 2023: 9; 2024: 6; 2025: 6; 2026: 10.
36 papers.
Sort:
By area:
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2024Transformers are Multi-State RNNscited by 120
- 2023Batch Prompting: Efficient Inference with Large Language Model APIscited by 84
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 73
- 2023In-Context Learning with Many Demonstration Examplescited by 39
- 2022Linear Complexity Randomized Self-attention Mechanismcited by 31
- 2022Fine-Tuning Pre-trained Transformers into Decaying Fast Weightscited by 26
- 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Upcited by 26
- 2023Efficient Attention via Control Variatescited by 23
- 2023Dodo: Dynamic Contextual Compression for Decoder-only LMscited by 23
24 more
- 2022The NLP Task Effectiveness of Long-Range Transformerscited by 22
- 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 21
- 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformerscited by 20
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selectioncited by 17
- 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modelingcited by 10
- 2025Native Hybrid Attention for Efficient Sequence Modelingcited by 10
- 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architecturescited by 9
- 2025TNT: Improving Chunkwise Training for Test-Time Memorizationcited by 7
- 2023TRAMS: Training-free Memory Selection for Long-range Language Modelingcited by 5
- 2023Linear Attention via Orthogonal Memorycited by 4
- 2026Raven: High-Recall Sequence Modeling with Sparse Memory Routingcited by 4
- 2023NarrowBERT: Accelerating Masked Language Model Pretraining and Inferencecited by 3
- 2025Trellis: Learning to Compress Key-Value Memory in Attention Modelscited by 3
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 3
- 2024"Forgetting" in Machine Learning and Beyond: A Surveycited by 2
- 2026Prefix Sliding for efficient test-time scalingcited by 2
- 2026OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attentioncited by 1
- 2026Blurry Window Attentioncited by 1
- 2026Taylor-Calibrate: Principled Initialization for Hybrid Linear Attention Distillationcited by 1
- 2023Attentive Multi-Layer Perceptron for Non-autoregressive Generationcited by 0
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Corescited by 0
- 2026ARM: Attention with Routed-Memory for Learnable Sparse Controlcited by 0
- 2026CyFA: Linear Sequence Modeling with Relative-Time-Partitioned Memorycited by 0
- 2026Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modelingcited by 0
- 2026Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling29 Sep 2026
- 2026CyFA: Linear Sequence Modeling with Relative-Time-Partitioned Memory28 Sep 2026
- 2026ARM: Attention with Routed-Memory for Learnable Sparse Control21 Sep 2026
- 2026Prefix Sliding for efficient test-time scaling26 Aug 2026
- 2026Raven: High-Recall Sequence Modeling with Sparse Memory Routing28 Jul 2026
- 2026Taylor-Calibrate: Principled Initialization for Hybrid Linear Attention Distillation15 Jun 2026
- 2026Blurry Window Attention31 May 2026
- 2026OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attention13 May 2026
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Cores12 May 2026
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attention7 May 2026
- 2025Trellis: Learning to Compress Key-Value Memory in Attention Models29 Dec 2025
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selection23 Dec 2025
24 more
- 2025TNT: Improving Chunkwise Training for Test-Time Memorization10 Nov 2025
- 2025Native Hybrid Attention for Efficient Sequence Modeling8 Oct 2025
- 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architectures14 Aug 2025
- 2025Efficient Attention Mechanisms for Large Language Models: A Survey25 Jul 2025
- 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Up20 Dec 2024
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modeling11 Sep 2024
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Length10 Jun 2024
- 2024"Forgetting" in Machine Learning and Beyond: A Survey31 May 2024
- 2024HGRN2: Gated Linear RNNs with State Expansion11 Apr 2024
- 2024Transformers are Multi-State RNNs11 Jan 2024
- 2023Linear Attention via Orthogonal Memory18 Dec 2023
- 2023Gated Linear Attention Transformers with Hardware-Efficient Training11 Dec 2023
- 2023TRAMS: Training-free Memory Selection for Long-range Language Modeling24 Oct 2023
- 2023Attentive Multi-Layer Perceptron for Non-autoregressive Generation14 Oct 2023
- 2023Dodo: Dynamic Contextual Compression for Decoder-only LMs3 Oct 2023
- 2023In-Context Learning with Many Demonstration Examples9 Feb 2023
- 2023Efficient Attention via Control Variates9 Feb 2023
- 2023Batch Prompting: Efficient Inference with Large Language Model APIs19 Jan 2023
- 2023NarrowBERT: Accelerating Masked Language Model Pretraining and Inference11 Jan 2023
- 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformers7 Nov 2022
- 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modeling14 Oct 2022
- 2022Fine-Tuning Pre-trained Transformers into Decaying Fast Weights9 Oct 2022
- 2022Linear Complexity Randomized Self-attention Mechanism10 Apr 2022
- 2022The NLP Task Effectiveness of Long-Range Transformers16 Feb 2022
- 2024Transformers are Multi-State RNNscited by 120
- 2026Blurry Window Attentioncited by 1
- 2026Taylor-Calibrate: Principled Initialization for Hybrid Linear Attention Distillationcited by 1
- 2026Taylor-Calibrate: Principled Initialization for Hybrid Linear Attention Distillation15 Jun 2026
- 2026Blurry Window Attention31 May 2026
- 2024Transformers are Multi-State RNNs11 Jan 2024
- 2026Prefix Sliding for efficient test-time scalingcited by 2
- 2026Prefix Sliding for efficient test-time scaling26 Aug 2026
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2023Batch Prompting: Efficient Inference with Large Language Model APIscited by 84
- 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 73
- 2023In-Context Learning with Many Demonstration Examplescited by 39
- 2022Linear Complexity Randomized Self-attention Mechanismcited by 31
- 2022Fine-Tuning Pre-trained Transformers into Decaying Fast Weightscited by 26
- 2023Efficient Attention via Control Variatescited by 23
- 2023Dodo: Dynamic Contextual Compression for Decoder-only LMscited by 23
- 2022The NLP Task Effectiveness of Long-Range Transformerscited by 22
- 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 21
- 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformerscited by 20
12 most cited of 30 All 30 (JSON)
- 2026Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling29 Sep 2026
- 2026CyFA: Linear Sequence Modeling with Relative-Time-Partitioned Memory28 Sep 2026
- 2026ARM: Attention with Routed-Memory for Learnable Sparse Control21 Sep 2026
- 2026Raven: High-Recall Sequence Modeling with Sparse Memory Routing28 Jul 2026
- 2026OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attention13 May 2026
- 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Cores12 May 2026
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attention7 May 2026
- 2025Trellis: Learning to Compress Key-Value Memory in Attention Models29 Dec 2025
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selection23 Dec 2025
- 2025TNT: Improving Chunkwise Training for Test-Time Memorization10 Nov 2025
- 2025Native Hybrid Attention for Efficient Sequence Modeling8 Oct 2025
- 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architectures14 Aug 2025
12 newest of 30 All 30 (JSON)