mlsanityData to 14 Oct 2026

Blending Complementary Memory Systems in Hybrid Quadratic-Linear Transformers

arXiv 2506.00744 ↗First posted 31 May 2025cs.LGcited by 12

Not on the map. Why?

Abstract (arXiv)

We develop hybrid memory architectures for general-purpose sequence processing neural networks, that combine key-value memory using softmax attention (KV-memory) with fast weight memory through dynamic synaptic modulation (FW-memory) -- the core principles of quadratic and linear transformers, respectively. These two memory systems have complementary but individually limited properties: KV-memory offers precise retrieval but is constrained by quadratic complexity in sequence length, while FW-memory supports arbitrarily long sequences and enables more expressive computation but sacrifices precise recall. We propose and compare three methods to blend these two systems into a single memory system, differing in how and when input information is delivered to each system, to leverage the strengths of both. We conduct experiments on general language modeling and retrieval tasks by training 340M- and 1.3B-parameter models from scratch, as well as on synthetic algorithmic tasks designed to precisely illustrate the benefits of certain hybrid methods over others. We also evaluate our hybrid memory systems on reinforcement learning in partially observable environments. Overall, we demonstrate how a well-designed hybrid can overcome the limitations of its individual components, offering new insights into the design principle of neural memory systems.

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

Builds on

58 of 77 references.

References · 58

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  4. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  6. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  7. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  8. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  9. 2016Pointer Sentinel Mixture Modelscited by 3,096
  10. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  11. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  12. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
38 more
  1. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
  2. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  3. 2018Soft Actor-Critic Algorithms and Applicationscited by 1,240
  4. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  5. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  6. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  7. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  8. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  9. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  10. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  11. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  12. 2024xLSTM: Extended Long Short-Term Memorycited by 327
  13. 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
  14. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
  15. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
  16. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
  17. 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 193
  18. 2022Transformer Quality in Linear Timecited by 191
  19. 2024The Illusion of State in State-Space Modelscited by 187
  20. 2024An Empirical Study of Mamba-based Language Modelscited by 186
  21. 2019Soft Actor-Critic for Discrete Action Settingscited by 174
  22. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
  23. 2016Using Fast Weights to Attend to the Recent Pastcited by 170
  24. 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
  25. 2023What Formal Languages Can Transformers Express? A Surveycited by 124
  26. 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 111
  27. 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 102
  28. 2024Unlocking State-Tracking in Linear RNNs Through Negative Eigenvaluescited by 101
  29. 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 99
  30. 2019Language Modeling with Deep Transformerscited by 96
  31. 2021Going Beyond Linear Transformers with Recurrent Fast Weight Programmerscited by 89
  32. 2016Quasi-Recurrent Neural Networkscited by 87
  33. 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
  34. 2023When Do Transformers Shine in RL? Decoupling Memory from Credit Assignmentcited by 63
  35. 2017Simple Recurrent Units for Highly Parallelizable Recurrencecited by 61
  36. 2018Optimizing Agent Behavior over Long Time Scales by Transporting Valuecited by 58
  37. 2020Learning Associative Inference Using Fast Weight Memorycited by 51
  38. 2024Transformers Provably Solve Parity Efficiently with Chain of Thoughtcited by 50

50 most cited of 58 All 58 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 7.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Expressivity-Efficiency Tradeoffs for Hybrid Sequence Models
  2. 2025Understanding and Enhancing Mamba-Transformer Hybrids for Memory Recall and Language Modeling
  3. 2025Native Hybrid Attention for Efficient Sequence Modeling
  4. 2024Remembering Transformer for Continual Learning
  5. 2025Systems and Algorithms for Convolutional Multi-Hybrid Language Models at Scale
  6. 2026LatentPort: Beyond KV Cache - Cross-Model Transfer of Recurrent Memory in Hybrid Language Models: A 4B-to-9B Hybrid-State Handoff Without Target Prefix Replay
  7. 2026Balancing Memory Pathways: Analyzing and Improving Memory Utilization in Hybrid LMs
  8. 2025Trellis: Learning to Compress Key-Value Memory in Attention Models