mlsanityData to 7 Oct 2026

Memory Caching: RNNs with Growing Memory

arXiv 2602.24281 ↗First posted 27 Feb 2026cs.LG cs.AIcited by 12

Not on the map. Why?

Abstract (arXiv)

Transformers have been established as the de-facto backbones for most recent advances in sequence modeling, mainly due to their growing memory capacity that scales with the context length. While plausible for retrieval tasks, it causes quadratic complexity and so has motivated recent studies to explore viable subquadratic recurrent alternatives. Despite showing promising preliminary results in diverse domains, such recurrent architectures underperform Transformers in recall-intensive tasks, often attributed to their fixed-size memory. In this paper, we introduce Memory Caching (MC), a simple yet effective technique that enhances recurrent models by caching checkpoints of their memory states (a.k.a. hidden states). Memory Caching allows the effective memory capacity of RNNs to grow with sequence length, offering a flexible trade-off that interpolates between the fixed memory (i.e., O(L) complexity) of RNNs and the growing memory (i.e., O(L2) complexity) of Transformers. We propose four variants of MC, including gated aggregation and sparse selective mechanisms, and discuss their implications on both linear and deep memory modules. Our experimental results on language modeling, and long-context understanding tasks show that MC enhances the performance of recurrent models, supporting its effectiveness. The results of in-context recall tasks indicate that while Transformers achieve the best accuracy, our MC variants show competitive performance, close the gap with Transformers, and performs better than state-of-the-art recurrent models.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 72 of its 93 references that are in the map. First posted on arXiv 27 Feb 2026.

Builds on

72 of 93 references.

References · 72

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2020Scaling Laws for Neural Language Modelscited by 6,411
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  6. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  8. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
  9. 2016Gaussian Error Linear Units (GELUs)cited by 3,431
  10. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  11. 2016Pointer Sentinel Mixture Modelscited by 2,992
  12. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
38 more
  1. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
  2. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  3. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  4. 2020Reformer: The Efficient Transformercited by 1,658
  5. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  6. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  7. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
  8. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  9. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  10. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
  11. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  12. 2022Simplified State Space Layers for Sequence Modelingcited by 776
  13. 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 606
  14. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  15. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  16. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
  17. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  18. 2020Hopfield Networks is All You Needcited by 461
  19. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
  20. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  21. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
  22. 2024Titans: Learning to Memorize at Test Timecited by 303
  23. 2016Dense Associative Memory for Pattern Recognitioncited by 230
  24. 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 211
  25. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 197
  26. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 194
  27. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 188
  28. 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 188
  29. 2024The Illusion of State in State-Space Modelscited by 181
  30. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 167
  31. 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 157
  32. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
  33. 2023Birth of a Transformer: A Memory Viewpointcited by 154
  34. 2025Test-Time Training Done Rightcited by 121
  35. 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 101
  36. 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 100
  37. 2023Uncovering mesa-optimization algorithms in Transformerscited by 94
  38. 2021Going Beyond Linear Transformers with Recurrent Fast Weight Programmerscited by 84

50 most cited of 72 All 72 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 12.

12 papers.