mlsanityData to 14 Oct 2026

LoLA: Low-Rank Linear Attention With Sparse Caching

arXiv 2505.23666 ↗First posted 29 May 2025cs.CL cs.LGcited by 12

Not on the map. Why?

Abstract (arXiv)

The per-token cost of transformer inference scales with context length, preventing its application to lifelong in-context learning. Linear attention is an efficient alternative that maintains a constant memory footprint, even on infinite context lengths. While this is a potential candidate for lifelong learning, it falls short in memory capacity. In this paper, we propose LoLA, a training-free augmentation to linear attention that boosts associative recall. LoLA distributes past key-value pairs from context into three memory systems: (i) recent pairs in a local sliding window cache; (ii) difficult-to-memorize pairs in a sparse, global cache; and (iii) generic pairs in the recurrent hidden state of linear attention. We show through ablations that our self-recall error metric is crucial to efficiently manage long-term associative memories. On pass-key retrieval tasks, LoLA improves the base model's performance from 0.6% to 97.4% accuracy. This is achieved with a 4.6x smaller cache than Llama-3.1 8B on 4K context length. LoLA also outperforms other 1B and 8B parameter subquadratic models on zero-shot commonsense reasoning tasks.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 64 of its 79 references that are in the map. First posted on arXiv 29 May 2025.

Builds on

64 of 79 references.

References · 64

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  8. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  9. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  10. 2020Longformer: The Long-Document Transformercited by 3,413
  11. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
  12. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
38 more
  1. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  2. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  3. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  4. 2020Rethinking Attention with Performerscited by 1,601
  5. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  6. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  7. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  8. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
  9. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  10. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  11. 2022In-context Learning and Induction Headscited by 964
  12. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
  13. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
  14. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  15. 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 565
  16. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  17. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  18. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  19. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
  20. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
  21. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  22. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
  23. 2021Random Feature Attentioncited by 354
  24. 2024Titans: Learning to Memorize at Test Timecited by 328
  25. 2024xLSTM: Extended Long Short-Term Memorycited by 327
  26. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
  27. 2022cosFormer: Rethinking Softmax in Attentioncited by 213
  28. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
  29. 2024An Empirical Study of Mamba-based Language Modelscited by 186
  30. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
  31. 2023Birth of a Transformer: A Memory Viewpointcited by 161
  32. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
  33. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
  34. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
  35. 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 124
  36. 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 122
  37. 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 120
  38. 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 99

50 most cited of 64 All 64 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 8.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Eviction
  2. 2026Adaptive Memory Decay for Log-Linear Attention
  3. 2026Remembering Distinct Items, Not Tokens: A Learnable Dirichlet-Process Cache Between State-Space Models and Attention
  4. 2026A Hippocampus for Linear Attention: An Exact Memory for What the Recurrent State Forgets
  5. 2026Simplified Sparse Attention via Gist Tokens
  6. 2026RAM-Net: Linear-Time Sequence Modeling with Sparsely Addressable State
  7. 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
  8. 2026Sliding-window beats linear attention