LoLA: Low-Rank Linear Attention With Sparse Caching
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
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
38 more
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Rethinking Attention with Performerscited by 1,601
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2022In-context Learning and Induction Headscited by 964
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2023Textbooks Are All You Need II: phi-1.5 technical reportcited by 565
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
- 2021Random Feature Attentioncited by 354
- 2024Titans: Learning to Memorize at Test Timecited by 328
- 2024xLSTM: Extended Long Short-Term Memorycited by 327
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
- 2022cosFormer: Rethinking Softmax in Attentioncited by 213
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
- 2024An Empirical Study of Mamba-based Language Modelscited by 186
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
- 2023Birth of a Transformer: A Memory Viewpointcited by 161
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
- 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 124
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 122
- 2024The Hedgehog & the Porcupine: Expressive Linear Attentions with Softmax Mimicrycited by 120
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 99
50 most cited of 64 All 64 (JSON)
Built on by
Citing papers per year: 2025: 4; 2026: 8.
12 papers.
- 2025KVLinC : KV Cache Quantization with Hadamard Rotation and Linear Correctioncited by 10
- 2025Native Hybrid Attention for Efficient Sequence Modelingcited by 10
- 2025InfiniteVL: Synergizing Linear and Sparse Attention for Highly-Efficient, Unlimited-Input Vision-Language Modelscited by 10
- 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Modelscited by 3
- 2026Kernelized Linear Attention: Breaking the Capacity Wall with Symmetric Conescited by 3
- 2026Residual-Mass Accounting for Partial-KV Decodingcited by 1
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attentioncited by 1
- 2026The Key to Going Linear: Analysis-Driven Transformer Linearizationcited by 1
- 2026LoGo: Token-Level Dynamic Local-Global Attentioncited by 1
- 2025DeepCoT: Deep Continual Transformers for Real-Time Inference on Data Streamscited by 0
- 2026The Evolution of Attention in Large Language Models: Mechanisms, Trade-offs, and Emerging Trendscited by 0
- 2026A Geometry-Based Capacity Theory for Finite-Feature Associative Memorycited by 0
- 2026A Geometry-Based Capacity Theory for Finite-Feature Associative Memory6 Oct 2026
- 2026The Evolution of Attention in Large Language Models: Mechanisms, Trade-offs, and Emerging Trends30 Sep 2026
- 2026LoGo: Token-Level Dynamic Local-Global Attention30 Aug 2026
- 2026Kernelized Linear Attention: Breaking the Capacity Wall with Symmetric Cones19 Jul 2026
- 2026The Key to Going Linear: Analysis-Driven Transformer Linearization8 Jul 2026
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attention24 Jun 2026
- 2026Residual-Mass Accounting for Partial-KV Decoding7 Apr 2026
- 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Models3 Feb 2026
- 2025InfiniteVL: Synergizing Linear and Sparse Attention for Highly-Efficient, Unlimited-Input Vision-Language Models9 Dec 2025
- 2025DeepCoT: Deep Continual Transformers for Real-Time Inference on Data Streams21 Nov 2025
- 2025Native Hybrid Attention for Efficient Sequence Modeling8 Oct 2025
- 2025KVLinC : KV Cache Quantization with Hadamard Rotation and Linear Correction6 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Eviction
- 2026Adaptive Memory Decay for Log-Linear Attention
- 2026Remembering Distinct Items, Not Tokens: A Learnable Dirichlet-Process Cache Between State-Space Models and Attention
- 2026A Hippocampus for Linear Attention: An Exact Memory for What the Recurrent State Forgets
- 2026Simplified Sparse Attention via Gist Tokens
- 2026RAM-Net: Linear-Time Sequence Modeling with Sparsely Addressable State
- 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
- 2026Sliding-window beats linear attention