Hybrid Associative Memories
Not on the map. Why?
Abstract (arXiv)
Recurrent neural networks (RNNs) and self-attention are both widely used sequence-mixing layers that maintain an internal memory. However, this memory is constructed using two orthogonal mechanisms: RNNs compress the entire past into a fixed-size state, whereas self-attention's state stores every past time step growing its state (the KV cache) linearly with the sequence length. This results in orthogonal strengths and weaknesses. Self-attention layers excel at retrieving information in the context but have large memory and computational costs, while RNNs are more efficient but degrade over longer contexts and underperform for precise recall tasks. Prior work combining these mechanisms has focused primarily on naively interleaving them to reduce computational cost without regard to their complementary mechanisms. We propose the Hybrid Associative Memory (HAM) layer, which combines self-attention and RNNs while leveraging their individual strengths: the RNN compresses the entire sequence, while attention supplements it *only* with information that is difficult for the RNN to predict, which is hence the most valuable information to explicitly store. HAM layers enable data-dependent growth of the KV cache, which can be precisely controlled by the user with a single, continuous threshold. We find that this fine-grained control of the KV cache growth rate has a smooth trade-off with loss and performance. Empirically, we show that our hybrid architecture offers strong, competitive performance relative to RNNs and Transformers even at substantially lower KV-cache usage.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 54 of its 73 references that are in the map. First posted on arXiv 20 Mar 2026.
Builds on
54 of 73 references.
References · 54
- 2017Attention Is All You Needcited by 60,361
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
38 more
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020GLU Variants Improve Transformercited by 1,804
- 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
- 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
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2020Hopfield Networks is All You Needcited by 475
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 432
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 401
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
- 2024Titans: Learning to Memorize at Test Timecited by 328
- 2016Dense Associative Memory for Pattern Recognitioncited by 236
- 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inferencecited by 235
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
- 2024Data Engineering for Scaling Language Models to 128K Contextcited by 186
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
- 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 124
- 2024Unlocking State-Tracking in Linear RNNs Through Negative Eigenvaluescited by 101
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 99
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 72
- 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 64
- 2025CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferencescited by 58
- 2025Falcon-H1: A Family of Hybrid-Head Language Models Redefining Efficiency and Performancecited by 57
- 2022Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Modelscited by 55
- 2025Understanding Transformer from the Perspective of Associative Memorycited by 34
- 2024The Zamba2 Suite: Technical Reportcited by 21
- 2020Theory of gating in recurrent neural networkscited by 19
- 2025LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocationcited by 16
- 2025Understanding the Skill Gap in Recurrent Language Models: The Role of the Gather-and-Aggregate Mechanismcited by 15
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Memory for Large Language Modelscited by 4
- 2026Memory for Large Language Models28 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2025Artificial Hippocampus Networks for Efficient Long-Context Modeling
- 2025Revisiting associative recall in modern recurrent models
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden States
- 2026GateSight: Recurrent Memory Anticipates Attention Memory for Query-Agnostic KV Eviction in Hybrid LLMs
- 2025StateX: Enhancing RNN Recall via Post-training State Expansion
- 2025Native Hybrid Attention for Efficient Sequence Modeling
- 2024Recurrent neural networks: vanishing and exploding gradients are not the end of the story
- 2026Balancing Memory Pathways: Analyzing and Improving Memory Utilization in Hybrid LMs