Blending Complementary Memory Systems in Hybrid Quadratic-Linear Transformers
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
- 2017Attention Is All You Needcited by 60,361
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 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
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 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
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
38 more
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,554
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2018Soft Actor-Critic Algorithms and Applicationscited by 1,240
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 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
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
- 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
- 2024xLSTM: Extended Long Short-Term Memorycited by 327
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
- 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 193
- 2022Transformer Quality in Linear Timecited by 191
- 2024The Illusion of State in State-Space Modelscited by 187
- 2024An Empirical Study of Mamba-based Language Modelscited by 186
- 2019Soft Actor-Critic for Discrete Action Settingscited by 174
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
- 2016Using Fast Weights to Attend to the Recent Pastcited by 170
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 150
- 2023What Formal Languages Can Transformers Express? A Surveycited by 124
- 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 111
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 102
- 2024Unlocking State-Tracking in Linear RNNs Through Negative Eigenvaluescited by 101
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 99
- 2019Language Modeling with Deep Transformerscited by 96
- 2021Going Beyond Linear Transformers with Recurrent Fast Weight Programmerscited by 89
- 2016Quasi-Recurrent Neural Networkscited by 87
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
- 2023When Do Transformers Shine in RL? Decoupling Memory from Credit Assignmentcited by 63
- 2017Simple Recurrent Units for Highly Parallelizable Recurrencecited by 61
- 2018Optimizing Agent Behavior over Long Time Scales by Transporting Valuecited by 58
- 2020Learning Associative Inference Using Fast Weight Memorycited by 51
- 2024Transformers Provably Solve Parity Efficiently with Chain of Thoughtcited by 50
50 most cited of 58 All 58 (JSON)
Built on by
Citing papers per year: 2025: 5; 2026: 7.
12 papers.
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selectioncited by 20
- 2026Fast-weight Product Key Memorycited by 13
- 2025Artificial Hippocampus Networks for Efficient Long-Context Modelingcited by 11
- 2025Fast weight programming and linear transformers: from machine learning to neurobiologycited by 8
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architecturescited by 4
- 2026Memory for Large Language Modelscited by 4
- 2026Effective Distillation to Hybrid xLSTM Architecturescited by 3
- 2025Untangling Component Imbalance in Hybrid Linear Attention Conversion Methodscited by 2
- 2026Hybrid Associative Memoriescited by 1
- 2026Multi-Mixer Models: Flexible Sequence Modeling with Shared Representationscited by 1
- 2026Taylor-Calibrate: Principled Initialization for Hybrid Linear Attention Distillationcited by 1
- 2026Rethinking Expressivity and Efficiency in Test-Time Trainingcited by 1
- 2026Rethinking Expressivity and Efficiency in Test-Time Training21 Aug 2026
- 2026Memory for Large Language Models28 Jul 2026
- 2026Taylor-Calibrate: Principled Initialization for Hybrid Linear Attention Distillation15 Jun 2026
- 2026Multi-Mixer Models: Flexible Sequence Modeling with Shared Representations27 May 2026
- 2026Hybrid Associative Memories20 Mar 2026
- 2026Effective Distillation to Hybrid xLSTM Architectures16 Mar 2026
- 2026Fast-weight Product Key Memory2 Jan 2026
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selection23 Dec 2025
- 2025Artificial Hippocampus Networks for Efficient Long-Context Modeling8 Oct 2025
- 2025Untangling Component Imbalance in Hybrid Linear Attention Conversion Methods7 Oct 2025
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures6 Oct 2025
- 2025Fast weight programming and linear transformers: from machine learning to neurobiology11 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2026Expressivity-Efficiency Tradeoffs for Hybrid Sequence Models
- 2025Understanding and Enhancing Mamba-Transformer Hybrids for Memory Recall and Language Modeling
- 2025Native Hybrid Attention for Efficient Sequence Modeling
- 2024Remembering Transformer for Continual Learning
- 2025Systems and Algorithms for Convolutional Multi-Hybrid Language Models at Scale
- 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
- 2026Balancing Memory Pathways: Analyzing and Improving Memory Utilization in Hybrid LMs
- 2025Trellis: Learning to Compress Key-Value Memory in Attention Models