Simple linear attention language models balance the recall-throughput tradeoff
On the map: State-space sequence models (S4, Mamba) → Core SSM architectures for language
Abstract (arXiv)
Recent work has shown that attention-based language models excel at recall, the ability to ground generations in tokens previously seen in context. However, the efficiency of attention-based models is bottle-necked during inference by the KV-cache's aggressive memory consumption. In this work, we explore whether we can improve language model efficiency (e.g. by reducing memory consumption) without compromising on recall. By applying experiments and theory to a broad set of architectures, we identify a key tradeoff between a model's state size and recall ability. We show that efficient alternatives to attention (e.g. H3, Mamba, RWKV) maintain a fixed-size recurrent state, but struggle at recall. We propose BASED a simple architecture combining linear and sliding window attention. By varying BASED window size and linear attention feature dimension, we can dial the state size and traverse the pareto frontier of the recall-memory tradeoff curve, recovering the full quality of attention on one end and the small state size of attention-alternatives on the other. We train language models up to 1.3b parameters and show that BASED matches the strongest sub-quadratic models (e.g. Mamba) in perplexity and outperforms them on real-world recall-intensive tasks by 6.22 accuracy points. Implementations of linear attention are often less efficient than optimized standard attention implementations. To make BASED competitive, we develop IO-aware algorithms that enable 24x higher throughput on language generation than FlashAttention-2, when generating 1024 tokens using 1.3b parameter models. Code for this work is provided at: https://github.com/HazyResearch/based.
Key facts. Cited by 197 papers in the map (data through 7 Oct 2026). Placed in Core SSM architectures for language, one of 10 directions in State-space sequence models (S4, Mamba). First posted on arXiv 28 Feb 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2024: 41; 2025: 67; 2026: 89.
197 papers.
Sort:
By area:
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2025MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attentioncited by 248
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 169
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 167
- 2024How to Train Long-Context Language Models (Effectively)cited by 141
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2025Test-Time Training Done Rightcited by 121
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 120
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 95
38 more
- 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 76
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
- 2025Nested Learning: The Illusion of Deep Learning Architecturescited by 69
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 63
- 2024Longhorn: State Space Models are Amortized Online Learnerscited by 58
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 57
- 2025MoM: Linear Sequence Modeling with Mixture-of-Memoriescited by 44
- 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixerscited by 43
- 2024Context Clues: Evaluating Long Context Models for Clinical Prediction Tasks on EHRscited by 39
- 2025Log-Linear Attentioncited by 39
- 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 37
- 2024ThunderKittens: Simple, Fast, and Adorable AI Kernelscited by 34
- 2025Liger: Linearizing Large Language Models to Gated Recurrent Structurescited by 32
- 2025PaTH Attention: Position Encoding via Accumulating Householder Transformationscited by 32
- 2024A Survey of Small Language Modelscited by 31
- 2024Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networkscited by 26
- 2024B'MOJO: Hybrid State Space Realizations of Foundation Models with Eidetic and Fading Memorycited by 26
- 2024LoLCATs: On Low-Rank Linearizing of Large Language Modelscited by 25
- 2026Gated DeltaNet-2: Decoupling Erase and Write in Linear Attentioncited by 24
- 2025Adaptive LLM Routing under Budget Constraintscited by 21
- 2024MetaLA: Unified Optimal Linear Approximation to Softmax Attention Mapcited by 20
- 2025Understanding and Improving Length Generalization in Recurrent Modelscited by 19
- 2025Lattice: Learning to Efficiently Compress the Memorycited by 18
- 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selectioncited by 17
- 2024Selective Attention: Enhancing Transformer through Principled Context Controlcited by 16
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformerscited by 16
- 2024Mimetic Initialization Helps State Space Models Learn to Recallcited by 15
- 2025Understanding the Skill Gap in Recurrent Language Models: The Role of the Gather-and-Aggregate Mechanismcited by 15
- 2024ViG: Linear-complexity Visual Sequence Learning with Gated Linear Attentioncited by 13
- 2024Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusterscited by 13
- 2025Blending Complementary Memory Systems in Hybrid Quadratic-Linear Transformerscited by 12
- 2025Scaling Linear Attention with Sparse State Expansioncited by 12
- 2026Memory Caching: RNNs with Growing Memorycited by 12
- 2025Gating is Weighting: Understanding Gated Linear Attention through In-context Learningcited by 11
- 2025Short window attention enables long-term memorizationcited by 11
- 2025LoLA: Low-Rank Linear Attention With Sparse Cachingcited by 10
- 2025RATTENTION: Towards the Minimal Sliding Window Size in Local-Global Attention Modelscited by 10
- 2025Native Hybrid Attention for Efficient Sequence Modelingcited by 10
50 most cited of 197 All 197 (JSON)
- 2026V-CoLA: Vision Token Compression with Linear Attention8 Oct 2026
- 2026Switching Linear Attention30 Sep 2026
- 2026Beyond Diagonal State Space Models: Exact Non-Abelian Group Tracking, Solvability Barriers, and Geometric Physical Manifolds29 Sep 2026
- 2026QuantMLA: Function-Aligned Dual-Path Quantization for Low-Bit MLA KV Caching29 Sep 2026
- 2026Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling29 Sep 2026
- 2026SMat-Attention: Structured Long-Context Sequence Modeling28 Sep 2026
- 2026MS-GLA: Multi-Scale Gated Linear Attention for Addressing Representational Bottlenecks via Multi-Temporal Resolution28 Sep 2026
- 2026Quasi Linear Kernel Attention with Infinite Capacity28 Sep 2026
- 2026DreamingGoose: Staged Distillation from Autoregressive Transformers to Bidirectional Recurrent Diffusion Language Models28 Sep 2026
- 2026How Linear Attention Remembers27 Sep 2026
- 2026SketchSSM: Write to the Full State, Read from a Compact Sketch27 Sep 2026
- 2026Empowering Hybrid Attention Models on NPUs26 Sep 2026
38 more
- 2026Block Sparse Attention with Log-Linear Complexity25 Sep 2026
- 2026TinyCeNN-LM: Quality-Gated Conversion of Pretrained Attention with CeNN-Inspired Cellular-Recurrent Layers17 Sep 2026
- 2026Anatomy of Associative Recall in Fixed-State Recurrences: A Matched-State Decomposition, an Interference Wall, and a Curriculum That Breaks It14 Sep 2026
- 2026How Wrong Can a Good Predictor Be? Diverging Updates with Vanishing Predictive KL10 Sep 2026
- 2026On the Recall Scaling Laws in Mamba: A Theoretical and Mechanistic Study via Hashing7 Sep 2026
- 2026Modern Transformers Are Implicit Hybrids: From Functional Differentiation to Principled Hybrid Architecture Design2 Sep 2026
- 2026Good Memory Has ECC: Evaluating the Memory of Vision-Language Models Beyond Accuracy31 Aug 2026
- 2026Safin-1: Safety from Within through Memory-Native State Evolution31 Aug 2026
- 2026NOVA: Technology-Architecture Co-Design of Near-Memory Processing for Attention-SSM-MoE Hybrid LLM Inference23 Aug 2026
- 2026TANGO: Treating Tokens as Operators22 Aug 2026
- 2026Rethinking Expressivity and Efficiency in Test-Time Training21 Aug 2026
- 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modeling17 Aug 2026
- 2026DeltaLog: Deferred Materialization of Recurrent States for Linear Attention Decoding16 Aug 2026
- 2026Intern-S2-Mobius: Foundation Model with Decoupled Knowledge and Reasoning14 Aug 2026
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchors12 Aug 2026
- 2026Three Tokens Force Exponential Feature Rank in Nonnegative Kernel Attention11 Aug 2026
- 2026DART: Decoded Attention over Recurrent States for Efficient Long-Context Sequence Modeling3 Aug 2026
- 2026Raven: High-Recall Sequence Modeling with Sparse Memory Routing28 Jul 2026
- 2026SANA-Video 2.0: Hybrid Linear Attention with Attention Residuals for Efficient Video Generation23 Jul 2026
- 2026Naju: A Native Discrete State-Space Model with Independent Retention and Writing for Long-Sequence Memory23 Jul 2026
- 2026Convolution for Large Language Models20 Jul 2026
- 2026Kernelized Linear Attention: Breaking the Capacity Wall with Symmetric Cones19 Jul 2026
- 2026Online Neural Space Time Memory for Dynamic Novel View Synthesis16 Jul 2026
- 2026The Capability Convergence Hypothesis: Capability from Access Structure, Not Scale14 Jul 2026
- 2026Sparse Delta Memory: Scaling the State of Linear RNNs through Sparsity8 Jul 2026
- 2026ELiTeFormer: An Efficient Transformer for FPGAs4 Jul 2026
- 2026The Orthogonalized Read Is a Removable Training Scaffold for Recurrent Memory2 Jul 2026
- 2026A Hippocampus for Linear Attention: An Exact Memory for What the Recurrent State Forgets2 Jul 2026
- 2026Morphing into Hybrid Attention Models29 Jun 2026
- 2026GLIDE: Guided Layerwise Hybrid Attention for Efficient LLM Inference26 Jun 2026
- 2026Flexformer: Flexible Linear Transformer with Learnable Attention Kernel26 Jun 2026
- 2026Semidirect Fourier Delta Attention: Phase-Controlled Delta Memory with Constructive Chunk-WY Kernels12 Jun 2026
- 2026Dynamic Linear Attention9 Jun 2026
- 2026Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories2 Jun 2026
- 2026AURA: Action-Gated Memory for Robot Policies at Constant VRAM1 Jun 2026
- 2026Blurry Window Attention31 May 2026
- 2026Don't Read Everything: A Curvature-Conditioned Query for Linear Attention31 May 2026
- 2026Trading Complexity for Expressivity Through Structured Generalized Linear Token Mixing29 May 2026
50 newest of 197 All 197 (JSON)
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 167
- 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 120
- 2024Longhorn: State Space Models are Amortized Online Learnerscited by 58
- 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixerscited by 43
- 2024Context Clues: Evaluating Long Context Models for Clinical Prediction Tasks on EHRscited by 39
- 2026Gated DeltaNet-2: Decoupling Erase and Write in Linear Attentioncited by 24
- 2024Mimetic Initialization Helps State Space Models Learn to Recallcited by 15
- 2025Mechanistic evaluation of Transformers and state space modelscited by 8
- 2025Sequential-Parallel Duality in Prefix Scannable Modelscited by 8
- 2024Stuffed Mamba: Oversized States Lead to the Inability to Forgetcited by 7
- 2025Understanding Input Selectivity in Mamba: Impact on Approximation Power, Memorization, and Associative Recall Capacitycited by 6
- 2024How Effective are State Space Models for Machine Translation?cited by 5
12 most cited of 30 All 30 (JSON)
- 2026SketchSSM: Write to the Full State, Read from a Compact Sketch27 Sep 2026
- 2026Anatomy of Associative Recall in Fixed-State Recurrences: A Matched-State Decomposition, an Interference Wall, and a Curriculum That Breaks It14 Sep 2026
- 2026On the Recall Scaling Laws in Mamba: A Theoretical and Mechanistic Study via Hashing7 Sep 2026
- 2026DART: Decoded Attention over Recurrent States for Efficient Long-Context Sequence Modeling3 Aug 2026
- 2026Naju: A Native Discrete State-Space Model with Independent Retention and Writing for Long-Sequence Memory23 Jul 2026
- 2026Gated DeltaNet-2: Decoupling Erase and Write in Linear Attention21 May 2026
- 2026When Does Content-Based Routing Work? Representation Requirements for Selective Attention in Hybrid Sequence Models22 Mar 2026
- 2026XLSR-MamBo: Scaling the Hybrid Mamba-Attention Backbone for Audio Deepfake Detection6 Jan 2026
- 2025Language Modeling With Factorization Memory31 Oct 2025
- 2025How Can Mamba Learn In Context with Outliers and Generalize Provably?1 Oct 2025
- 2025SCOUT: Toward Sub-Quadratic Attention via Segment Compression for Optimized Utility in Transformers31 Aug 2025
- 2025MT-PCR: Hybrid Mamba-Transformer Network with Spatial Serialization for Point Cloud Registration16 Jun 2025
12 newest of 30 All 30 (JSON)
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
- 2024A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contextscited by 9
- 2025KVLinC : KV Cache Quantization with Hadamard Rotation and Linear Correctioncited by 9
- 2025X-EcoMLA: Upcycling Pre-Trained Attention into MLA for Efficient and Extreme KV Compressioncited by 4
- 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Evictioncited by 3
- 2026AURA: Action-Gated Memory for Robot Policies at Constant VRAMcited by 2
- 2026Blurry Window Attentioncited by 1
- 2026DeltaLog: Deferred Materialization of Recurrent States for Linear Attention Decodingcited by 1
- 2026SR-TTT Does Not Learn Retrieval: A Correction and Mechanistic Post-Mortem of Surprisal-Aware Residual Test-Time Trainingcited by 0
- 2026Breaking the KV Cache Bottleneck: Fan Duality Model Achieves O(1) Decode Memory with Superior Associative Recallcited by 0
- 2026Semidirect Fourier Delta Attention: Phase-Controlled Delta Memory with Constructive Chunk-WY Kernelscited by 0
- 2026GLIDE: Guided Layerwise Hybrid Attention for Efficient LLM Inferencecited by 0
- 2026DeltaLog: Deferred Materialization of Recurrent States for Linear Attention Decoding16 Aug 2026
- 2026GLIDE: Guided Layerwise Hybrid Attention for Efficient LLM Inference26 Jun 2026
- 2026Semidirect Fourier Delta Attention: Phase-Controlled Delta Memory with Constructive Chunk-WY Kernels12 Jun 2026
- 2026AURA: Action-Gated Memory for Robot Policies at Constant VRAM1 Jun 2026
- 2026Blurry Window Attention31 May 2026
- 2026Breaking the KV Cache Bottleneck: Fan Duality Model Achieves O(1) Decode Memory with Superior Associative Recall9 Apr 2026
- 2026SR-TTT Does Not Learn Retrieval: A Correction and Mechanistic Post-Mortem of Surprisal-Aware Residual Test-Time Training26 Feb 2026
- 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Eviction23 Oct 2025
- 2025KVLinC : KV Cache Quantization with Hadamard Rotation and Linear Correction6 Oct 2025
- 2025Cartridges: Lightweight and general-purpose long context representations via self-study6 Jun 2025
- 2025X-EcoMLA: Upcycling Pre-Trained Attention into MLA for Efficient and Extreme KV Compression14 Mar 2025
- 2024A Little Goes a Long Way: Efficient Long Context Training and Inference with Partial Contexts2 Oct 2024
- 2025Test-Time Training Done Rightcited by 121
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformerscited by 16
- 2025Chipmunk: Training-Free Acceleration of Diffusion Transformers with Dynamic Column-Sparse Deltascited by 7
- 2026SANA-Video 2.0: Hybrid Linear Attention with Attention Residuals for Efficient Video Generationcited by 2
- 2026BinaryAttention: One-Bit QK-Attention for Vision and Diffusion Transformerscited by 0
- 2026DreamingGoose: Staged Distillation from Autoregressive Transformers to Bidirectional Recurrent Diffusion Language Modelscited by 0
- 2026DreamingGoose: Staged Distillation from Autoregressive Transformers to Bidirectional Recurrent Diffusion Language Models28 Sep 2026
- 2026SANA-Video 2.0: Hybrid Linear Attention with Attention Residuals for Efficient Video Generation23 Jul 2026
- 2026BinaryAttention: One-Bit QK-Attention for Vision and Diffusion Transformers10 Mar 2026
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformers1 Feb 2026
- 2025Chipmunk: Training-Free Acceleration of Diffusion Transformers with Dynamic Column-Sparse Deltas3 Jun 2025
- 2025Test-Time Training Done Right29 May 2025
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2025MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attentioncited by 248
- 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 76
- 2025PERK: Long-Context Reasoning as Test-Time Learningcited by 4
- 2026Chain-of-Thought and Compressed Looped Transformers: A Memory-Budget Separationcited by 2
- 2026Rethinking Expressivity and Efficiency in Test-Time Trainingcited by 0
- 2026Rethinking Expressivity and Efficiency in Test-Time Training21 Aug 2026
- 2026Chain-of-Thought and Compressed Looped Transformers: A Memory-Budget Separation29 May 2026
- 2026Mamba-3: Improved Sequence Modeling using State Space Principles16 Mar 2026
- 2025PERK: Long-Context Reasoning as Test-Time Learning8 Jul 2025
- 2025MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attention16 Jun 2025
- 2024Titans: Learning to Memorize at Test Time31 Dec 2024
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 169
- 2024How to Train Long-Context Language Models (Effectively)cited by 141
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 95
- 2025Nested Learning: The Illusion of Deep Learning Architecturescited by 69
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 63
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 57
- 2025MoM: Linear Sequence Modeling with Mixture-of-Memoriescited by 44
- 2025Log-Linear Attentioncited by 39
12 most cited of 138 All 138 (JSON)
- 2026V-CoLA: Vision Token Compression with Linear Attention8 Oct 2026
- 2026Switching Linear Attention30 Sep 2026
- 2026Beyond Diagonal State Space Models: Exact Non-Abelian Group Tracking, Solvability Barriers, and Geometric Physical Manifolds29 Sep 2026
- 2026QuantMLA: Function-Aligned Dual-Path Quantization for Low-Bit MLA KV Caching29 Sep 2026
- 2026Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling29 Sep 2026
- 2026SMat-Attention: Structured Long-Context Sequence Modeling28 Sep 2026
- 2026MS-GLA: Multi-Scale Gated Linear Attention for Addressing Representational Bottlenecks via Multi-Temporal Resolution28 Sep 2026
- 2026Quasi Linear Kernel Attention with Infinite Capacity28 Sep 2026
- 2026How Linear Attention Remembers27 Sep 2026
- 2026Empowering Hybrid Attention Models on NPUs26 Sep 2026
- 2026Block Sparse Attention with Log-Linear Complexity25 Sep 2026
- 2026TinyCeNN-LM: Quality-Gated Conversion of Pretrained Attention with CeNN-Inspired Cellular-Recurrent Layers17 Sep 2026
12 newest of 138 All 138 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Sliding-window beats linear attention
- 2026Balancing Memory Pathways: Analyzing and Improving Memory Utilization in Hybrid LMs
- 2024Beyond KV Caching: Shared Attention for Efficient LLMs
- 2026On-Demand Attention: Language Models Know When to Recall
- 2026Rethinking the Role of Efficient Attention in Hybrid Architectures
- 2026What Attention Recalls and Recurrence Controls in Hybrid Language Models
- 2026RunningTensor: Generalizing Linear Attention to Higher-Order Recurrent States
- 2024Just read twice: closing the recall gap for recurrent language models