mlsanityData to 7 Oct 2026

ABC: Attention with Bounded-memory Control

arXiv 2110.02488 ↗First posted 6 Oct 2021cs.CLcited by 36

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  6. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2016Pointer Sentinel Mixture Modelscited by 2,992
  9. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  10. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  11. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  12. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
32 more
  1. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  2. 2020Reformer: The Efficient Transformercited by 1,658
  3. 2020Rethinking Attention with Performerscited by 1,584
  4. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  5. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  6. 2019Are Sixteen Heads Really Better than One?cited by 803
  7. 2020Efficient Transformers: A Surveycited by 784
  8. 2018Image Transformercited by 770
  9. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  10. 2014Neural Turing Machinescited by 630
  11. 2019Defending Against Neural Fake Newscited by 553
  12. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  13. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  14. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
  15. 2014Memory Networkscited by 354
  16. 2021Random Feature Attentioncited by 350
  17. 2018Generating Wikipedia by Summarizing Long Sequencescited by 333
  18. 2018Adaptive Input Representations for Neural Language Modelingcited by 226
  19. 2018A Simple Method for Commonsense Reasoningcited by 223
  20. 2020Fast Transformers with Clustered Attentioncited by 123
  21. 2020Deep Encoder, Shallow Decoder: Reevaluating Non-autoregressive Machine Translationcited by 104
  22. 2021Luna: Linear Unified Nested Attentioncited by 96
  23. 2021Finetuning Pretrained Transformers into RNNscited by 94
  24. 2018Document-Level Neural Machine Translation with Hierarchical Attention Networkscited by 85
  25. 2021Coordination Among Neural Modules Through a Shared Global Workspacecited by 83
  26. 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
  27. 2017Simple Recurrent Units for Highly Parallelizable Recurrencecited by 60
  28. 2015Learning to Transduce with Unbounded Memorycited by 54
  29. 2020Hard-Coded Gaussian Attention for Neural Machine Translationcited by 42
  30. 2020Self-Attentive Associative Memorycited by 33
  31. 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 32
  32. 2018Rational Recurrencescited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 5; 2023: 9; 2024: 6; 2025: 6; 2026: 10.

36 papers.

Sort:

By area:

  1. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  2. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  3. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
  4. 2024Transformers are Multi-State RNNscited by 120
  5. 2023Batch Prompting: Efficient Inference with Large Language Model APIscited by 84
  6. 2024Gated Slot Attention for Efficient Linear-Time Sequence Modelingcited by 73
  7. 2023In-Context Learning with Many Demonstration Examplescited by 39
  8. 2022Linear Complexity Randomized Self-attention Mechanismcited by 31
  9. 2022Fine-Tuning Pre-trained Transformers into Decaying Fast Weightscited by 26
  10. 2024CLEAR: Conv-Like Linearization Revs Pre-Trained Diffusion Transformers Upcited by 26
  11. 2023Efficient Attention via Control Variatescited by 23
  12. 2023Dodo: Dynamic Contextual Compression for Decoder-only LMscited by 23
24 more
  1. 2022The NLP Task Effectiveness of Long-Range Transformerscited by 22
  2. 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 21
  3. 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformerscited by 20
  4. 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selectioncited by 17
  5. 2022CAB: Comprehensive Attention Benchmarking on Long Sequence Modelingcited by 10
  6. 2025Native Hybrid Attention for Efficient Sequence Modelingcited by 10
  7. 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architecturescited by 9
  8. 2025TNT: Improving Chunkwise Training for Test-Time Memorizationcited by 7
  9. 2023TRAMS: Training-free Memory Selection for Long-range Language Modelingcited by 5
  10. 2023Linear Attention via Orthogonal Memorycited by 4
  11. 2026Raven: High-Recall Sequence Modeling with Sparse Memory Routingcited by 4
  12. 2023NarrowBERT: Accelerating Masked Language Model Pretraining and Inferencecited by 3
  13. 2025Trellis: Learning to Compress Key-Value Memory in Attention Modelscited by 3
  14. 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 3
  15. 2024"Forgetting" in Machine Learning and Beyond: A Surveycited by 2
  16. 2026Prefix Sliding for efficient test-time scalingcited by 2
  17. 2026OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attentioncited by 1
  18. 2026Blurry Window Attentioncited by 1
  19. 2026Taylor-Calibrate: Principled Initialization for Hybrid Linear Attention Distillationcited by 1
  20. 2023Attentive Multi-Layer Perceptron for Non-autoregressive Generationcited by 0
  21. 2026Do Vision Transformers Need All-to-All Attention? Global Communication Through Elastic Learned Corescited by 0
  22. 2026ARM: Attention with Routed-Memory for Learnable Sparse Controlcited by 0
  23. 2026CyFA: Linear Sequence Modeling with Relative-Time-Partitioned Memorycited by 0
  24. 2026Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modelingcited by 0