Transformers are Multi-State RNNs
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
Transformers are considered conceptually different from the previous generation of state-of-the-art NLP models - recurrent neural networks (RNNs). In this work, we demonstrate that decoder-only transformers can in fact be conceptualized as unbounded multi-state RNNs - an RNN variant with unlimited hidden state size. We further show that transformers can be converted into textitbounded multi-state RNNs by fixing the size of their hidden state, effectively compressing their key-value cache. We introduce a novel, training-free compression policy - Token Omission Via Attention (TOVA). Our experiments with four long range tasks and several LLMs show that TOVA outperforms several baseline compression policies. Particularly, our results are nearly on par with the full model, using in some cases only frac18 of the original cache size, which translates to 4.8X higher throughput. Our results shed light on the connection between transformers and RNNs, and help mitigate one of LLMs' most painful computational bottlenecks - the size of their key-value cache. We publicly release our code at https://github.com/schwartz-lab-NLP/TOVA
Key facts. Cited by 120 papers in the map (data through 7 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 36 of its 64 references that are in the map. First posted on arXiv 11 Jan 2024.
Builds on
36 of 64 references.
References · 36
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Rethinking Attention with Performerscited by 1,584
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2023LIMA: Less Is More for Alignmentcited by 1,080
- 2023Large Language Models are not Fair Evaluatorscited by 1,050
24 more
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 428
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 2021Pay Attention to MLPscited by 367
- 2021Random Feature Attentioncited by 350
- 2021FNet: Mixing Tokens with Fourier Transformscited by 343
- 2015Unitary Evolution Recurrent Neural Networkscited by 291
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2023ZeroSCROLLS: A Zero-Shot Benchmark for Long Text Understandingcited by 175
- 2021Primer: Searching for Efficient Transformers for Language Modelingcited by 162
- 2019Multi-passage BERT: A Globally Normalized BERT Model for Open-domain Question Answeringcited by 96
- 2023Dynamic Context Pruning for Efficient and Interpretable Autoregressive Transformerscited by 67
- 2021Differentiable Subset Pruning of Transformer Headscited by 46
- 2021ABC: Attention with Bounded-memory Controlcited by 36
- 2019Single Headed Attention RNN: Stop Thinking With Your Headcited by 25
- 2022How Much Does Attention Actually Attend? Questioning the Importance of Attention in Pretrained Transformerscited by 20
- 2023Optimizing Retrieval-augmented Reader Models via Token Eliminationcited by 10
Built on by
Citing papers per year: 2024: 17; 2025: 47; 2026: 56.
120 papers.
Sort:
By area:
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 375
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 188
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 115
- 2024Keep the Cost Down: A Review on Methods to Optimize LLM' s KV-Cache Consumptioncited by 96
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 89
- 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inferencecited by 75
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
- 2024Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encodingcited by 72
- 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distributioncited by 70
- 2025KVLink: Accelerating Large Language Models via Efficient KV Cache Reusecited by 60
- 2025CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferencescited by 59
- 2024Squeezed Attention: Accelerating Long Context Length LLM Inferencecited by 56
38 more
- 2025KeyDiff: Key Similarity-Based KV Cache Eviction for Long-Context LLM Inference in Resource-Constrained Environmentscited by 49
- 2025LServe: Efficient Long-sequence LLM Serving with Unified Sparse Attentioncited by 41
- 2024Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networkscited by 26
- 2025Memory-Efficient Visual Autoregressive Modeling with Scale-Aware KV Cache Compressioncited by 22
- 2024TransformerFAM: Feedback attention is working memorycited by 21
- 2025AudioMarathon: A Comprehensive Benchmark for Long-Context Audio Understanding and Efficiency in Audio LLMscited by 19
- 2026TriAttention: Efficient Long Reasoning with Trigonometric KV Compressioncited by 18
- 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoningcited by 17
- 2025Reasoning Path Compression: Compressing Generation Trajectories for Efficient LLM Reasoningcited by 16
- 2025Compactor: Calibrated Query-Agnostic KV Cache Compression with Approximate Leverage Scorescited by 16
- 2026Efficient Autoregressive Video Diffusion with Dummy Headcited by 15
- 2025Multipole Attention for Efficient Long Context Reasoningcited by 14
- 2025Taming the Fragility of KV Cache Eviction in LLM Inferencecited by 14
- 2024Towards LifeSpan Cognitive Systemscited by 13
- 2025CAOTE: KV Cache Selection for LLMs via Attention Output Error-Based Token Evictioncited by 13
- 2024In-context KV-Cache Eviction for LLMs via Attention-Gatecited by 12
- 2024Looking Beyond The Top-1: Transformers Determine Top Tokens In Ordercited by 12
- 2025BLASST: Dynamic BLocked Attention Sparsity via Softmax Thresholdingcited by 12
- 2026Learning to Evict from Key-Value Cachecited by 12
- 2025KV Cache Transform Coding for Compact Storage in LLM Inferencecited by 11
- 2026LookaheadKV: Fast and Accurate KV Cache Eviction by Glimpsing into the Future without Generationcited by 11
- 2026HISA: Efficient Hierarchical Indexing for Fine-Grained Sparse Attentioncited by 10
- 2026KV Packet: Recomputation-Free Context-Independent KV Caching for LLMscited by 10
- 2025SentenceKV: Efficient LLM Inference via Sentence-Level Semantic KV Cachingcited by 9
- 2025LaCache: Ladder-Shaped KV Caching for Efficient Long-Context Modeling of Large Language Modelscited by 9
- 2025OBCache: Optimal Brain KV Cache Pruning for Efficient Long-Context LLM Inferencecited by 9
- 2026ReST-KV: Robust KV Cache Eviction with Layer-wise Output Reconstruction and Spatial-Temporal Smoothingcited by 9
- 2026ResidualKV: Residual-Based KV Cache Compression for Efficient Long-Context Inferencecited by 8
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Modelscited by 8
- 2024CORM: Cache Optimization with Recent Message for Large Language Model Inferencecited by 7
- 2025Rethinking Key-Value Cache Compression Techniques for Large Language Model Servingcited by 7
- 2025Homogeneous Keys, Heterogeneous Values: Exploiting Local KV Cache Asymmetry for Long-Context LLMscited by 7
- 2026IndexMem: Learned KV-Cache Eviction with Latent Memory for Long-Context LLM Inferencecited by 7
- 2024DHA: Learning Decoupled-Head Attention from Transformer Checkpoints via Adaptive Heads Fusioncited by 6
- 2025Graph-Aware Isomorphic Attention for Adaptive Dynamics in Transformerscited by 6
- 2025Adaptive Computation Pruning for the Forgetting Transformercited by 6
- 2025No Mean Feat: Simple, Strong Baselines for Context Compressioncited by 6
- 2026MKA: Memory-Keyed Attention for Efficient Long-Context Reasoningcited by 6
50 most cited of 120 All 120 (JSON)
- 2026Monte Carlo Estimation for KV Cache Eviction6 Oct 2026
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstruction30 Sep 2026
- 2026KV-streams for Efficient Compaction in Agentic Reinforcement Learning28 Sep 2026
- 2026Where Activation Sparsity and KV-Cache Sparsity Cross in LLM Decoding27 Sep 2026
- 2026PQ-HSA: Reusing Product-Quantized Scores for Hybrid Sparse-Approximate Attention27 Sep 2026
- 2026KVFetch: Temporal Prefetching for the Missing Half of KV Cache Compression23 Sep 2026
- 2026ARM: Attention with Routed-Memory for Learnable Sparse Control21 Sep 2026
- 2026ValueDiff: Value-Geometric KV Cache Eviction for Sink-Suppressed LLMs20 Sep 2026
- 2026Understanding and Exploiting Diagonal Attention Sparsity in Autoregressive Image Generation17 Sep 2026
- 2026BeaconKV: Key-Value Cache Compression Guided by Beacon Queries for Efficient Large Reasoning Model Inference4 Sep 2026
- 2026VestigeKV: The NoPE-MLA KV Cache Carries Its Own Sparse-Attention Signal in a Vestigial Branch3 Sep 2026
- 2026Safin-1: Safety from Within through Memory-Native State Evolution31 Aug 2026
38 more
- 2026A Probabilistic Interpretation of KV Cache Eviction28 Aug 2026
- 2026Trust the Mass: Forced Weights in KV-Cache Eviction25 Aug 2026
- 2026Beyond Sparse Weights: When Is Attention Compressible?21 Aug 2026
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchors12 Aug 2026
- 2026Training-Free Hashing-Based Attention via Binary Principal Components5 Aug 2026
- 2026Learning What to Remember: Test-Time Training via Context Distillation3 Aug 2026
- 2026ResKV: Reconstructing Omitted Attention Contributions for Fixed-Budget KV Cache Compression31 Jul 2026
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcripts31 Jul 2026
- 2026Error Certificates for KV-Cache Eviction via Randomized Design23 Jul 2026
- 2026MemDecay: Region-Aware KV Cache Eviction for Efficient LLM Agent Inference12 Jul 2026
- 2026How Query Visibility Changes KV-Cache Compression Rankings: A Matched-Budget Audit11 Jul 2026
- 2026Diffusion-Guided Uncertainty-Aware Delayed Policy Optimization6 Jul 2026
- 2026Dustin: Draft-Augmented Sparse Verification for Efficient Long-Context Generation with Speculative Decoding23 Jun 2026
- 2026CompressKV: Semantic-Retrieval-Guided KV-Cache Compression for Resource-Efficient Long-Context LLM Inference23 Jun 2026
- 2026Exploring a Layer-Wise Design Space for KV Cache Eviction13 Jun 2026
- 2026HACK++: Towards More Effective Head-Aware Key-Value Compression for Efficient Visual Autoregressive Modeling6 Jun 2026
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Models2 Jun 2026
- 2026IndexMem: Learned KV-Cache Eviction with Latent Memory for Long-Context LLM Inference25 May 2026
- 2026Adaptive Mass-Segmented KV Compression for Long-Context Reasoning22 May 2026
- 2026EntmaxKV: Support-Aware Decoding for Entmax Attention20 May 2026
- 2026ReST-KV: Robust KV Cache Eviction with Layer-wise Output Reconstruction and Spatial-Temporal Smoothing9 May 2026
- 2026When Does Value-Aware KV Eviction Help? A Fixed-Contract Diagnostic for Non-Monotone Cache Compression7 May 2026
- 2026Long Context Pre-Training with Lighthouse Attention7 May 2026
- 2026Training Transformers for KV Cache Compressibility7 May 2026
- 2026AQPIM: Breaking the PIM Capacity Wall for LLMs with In-Memory Activation Quantization20 Apr 2026
- 2026ART: Attention Run-time Termination for Efficient Large Language Model Decoding15 Apr 2026
- 2026KV Packet: Recomputation-Free Context-Independent KV Caching for LLMs14 Apr 2026
- 2026Transactional Attention: Semantic Sponsorship for KV-Cache Retention13 Apr 2026
- 2026TriAttention: Efficient Long Reasoning with Trigonometric KV Compression6 Apr 2026
- 2026Stochastic Attention: Connectome-Inspired Randomized Routing for Expressive Linear-Time Attention1 Apr 2026
- 2026VecAttention: Vector-wise Sparse Attention for Accelerating Long Context Inference31 Mar 2026
- 2026HISA: Efficient Hierarchical Indexing for Fine-Grained Sparse Attention30 Mar 2026
- 2026MKA: Memory-Keyed Attention for Efficient Long-Context Reasoning21 Mar 2026
- 2026The Residual Stream Is All You Need: On the Redundancy of the KV Cache in Transformer Inference20 Mar 2026
- 2026Slow-Fast Inference: Training-Free Inference Acceleration via Within-Sentence Support Stability12 Mar 2026
- 2026LookaheadKV: Fast and Accurate KV Cache Eviction by Glimpsing into the Future without Generation11 Mar 2026
- 2026Stem: Rethinking Causal Information Flow in Sparse Attention6 Mar 2026
- 2026RAT+: Train Dense, Infer Sparse -- Recurrence Augmented Attention for Dilated Inference20 Feb 2026
50 newest of 120 All 120 (JSON)
- 2024Keep the Cost Down: A Review on Methods to Optimize LLM' s KV-Cache Consumptioncited by 96
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 89
- 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inferencecited by 75
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 74
- 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distributioncited by 70
- 2025KVLink: Accelerating Large Language Models via Efficient KV Cache Reusecited by 60
- 2025CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferencescited by 59
- 2025KeyDiff: Key Similarity-Based KV Cache Eviction for Long-Context LLM Inference in Resource-Constrained Environmentscited by 49
- 2025LServe: Efficient Long-sequence LLM Serving with Unified Sparse Attentioncited by 41
- 2025Memory-Efficient Visual Autoregressive Modeling with Scale-Aware KV Cache Compressioncited by 22
- 2025AudioMarathon: A Comprehensive Benchmark for Long-Context Audio Understanding and Efficiency in Audio LLMscited by 19
- 2025Compactor: Calibrated Query-Agnostic KV Cache Compression with Approximate Leverage Scorescited by 16
12 most cited of 66 All 66 (JSON)
- 2026Monte Carlo Estimation for KV Cache Eviction6 Oct 2026
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstruction30 Sep 2026
- 2026Where Activation Sparsity and KV-Cache Sparsity Cross in LLM Decoding27 Sep 2026
- 2026KVFetch: Temporal Prefetching for the Missing Half of KV Cache Compression23 Sep 2026
- 2026ValueDiff: Value-Geometric KV Cache Eviction for Sink-Suppressed LLMs20 Sep 2026
- 2026Understanding and Exploiting Diagonal Attention Sparsity in Autoregressive Image Generation17 Sep 2026
- 2026VestigeKV: The NoPE-MLA KV Cache Carries Its Own Sparse-Attention Signal in a Vestigial Branch3 Sep 2026
- 2026A Probabilistic Interpretation of KV Cache Eviction28 Aug 2026
- 2026Trust the Mass: Forced Weights in KV-Cache Eviction25 Aug 2026
- 2026Beyond Sparse Weights: When Is Attention Compressible?21 Aug 2026
- 2026ResKV: Reconstructing Omitted Attention Contributions for Fixed-Budget KV Cache Compression31 Jul 2026
- 2026How Query Visibility Changes KV-Cache Compression Rankings: A Matched-Budget Audit11 Jul 2026
12 newest of 66 All 66 (JSON)
- 2026TriAttention: Efficient Long Reasoning with Trigonometric KV Compressioncited by 18
- 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoningcited by 17
- 2025Reasoning Path Compression: Compressing Generation Trajectories for Efficient LLM Reasoningcited by 16
- 2025Multipole Attention for Efficient Long Context Reasoningcited by 14
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Modelscited by 8
- 2026MKA: Memory-Keyed Attention for Efficient Long-Context Reasoningcited by 6
- 2025DELTA: Dynamic Layer-Aware Token Attention for Efficient Long-Context Reasoningcited by 5
- 2025Breadcrumbs Reasoning: Memory-Efficient Reasoning with Compression Beaconscited by 5
- 2026Stem: Rethinking Causal Information Flow in Sparse Attentioncited by 5
- 2025AsyncSpade: Efficient Test-Time Scaling with Asynchronous Sparse Decodingcited by 2
- 2026Adaptive Mass-Segmented KV Compression for Long-Context Reasoningcited by 1
- 2026BeaconKV: Key-Value Cache Compression Guided by Beacon Queries for Efficient Large Reasoning Model Inferencecited by 0
- 2026BeaconKV: Key-Value Cache Compression Guided by Beacon Queries for Efficient Large Reasoning Model Inference4 Sep 2026
- 2026Value-Aware Stochastic KV Cache Eviction for Reasoning Models2 Jun 2026
- 2026Adaptive Mass-Segmented KV Compression for Long-Context Reasoning22 May 2026
- 2026TriAttention: Efficient Long Reasoning with Trigonometric KV Compression6 Apr 2026
- 2026MKA: Memory-Keyed Attention for Efficient Long-Context Reasoning21 Mar 2026
- 2026Stem: Rethinking Causal Information Flow in Sparse Attention6 Mar 2026
- 2025Breadcrumbs Reasoning: Memory-Efficient Reasoning with Compression Beacons15 Oct 2025
- 2025DELTA: Dynamic Layer-Aware Token Attention for Efficient Long-Context Reasoning10 Oct 2025
- 2025AsyncSpade: Efficient Test-Time Scaling with Asynchronous Sparse Decoding8 Oct 2025
- 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning19 Jun 2025
- 2025Multipole Attention for Efficient Long Context Reasoning16 Jun 2025
- 2025Reasoning Path Compression: Compressing Generation Trajectories for Efficient LLM Reasoning20 May 2025
- 2026Efficient Autoregressive Video Diffusion with Dummy Headcited by 15
- 2026Efficient Autoregressive Video Diffusion with Dummy Head28 Jan 2026
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 188
- 2025MoBA: Mixture of Block Attention for Long-Context LLMs18 Feb 2025
- 2024Finch: Prompt-guided Key-Value Cache Compressioncited by 2
- 2024Finch: Prompt-guided Key-Value Cache Compression31 Jul 2024
- 2025Language Modeling With Factorization Memorycited by 0
- 2025Language Modeling With Factorization Memory31 Oct 2025
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 375
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 115
- 2024Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encodingcited by 72
- 2024Squeezed Attention: Accelerating Long Context Length LLM Inferencecited by 56
- 2024Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networkscited by 26
- 2024TransformerFAM: Feedback attention is working memorycited by 21
- 2024Towards LifeSpan Cognitive Systemscited by 13
- 2024Looking Beyond The Top-1: Transformers Determine Top Tokens In Ordercited by 12
- 2025BLASST: Dynamic BLocked Attention Sparsity via Softmax Thresholdingcited by 12
- 2026HISA: Efficient Hierarchical Indexing for Fine-Grained Sparse Attentioncited by 10
- 2026KV Packet: Recomputation-Free Context-Independent KV Caching for LLMscited by 10
- 2024DHA: Learning Decoupled-Head Attention from Transformer Checkpoints via Adaptive Heads Fusioncited by 6
12 most cited of 36 All 36 (JSON)
- 2026PQ-HSA: Reusing Product-Quantized Scores for Hybrid Sparse-Approximate Attention27 Sep 2026
- 2026ARM: Attention with Routed-Memory for Learnable Sparse Control21 Sep 2026
- 2026Safin-1: Safety from Within through Memory-Native State Evolution31 Aug 2026
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchors12 Aug 2026
- 2026Training-Free Hashing-Based Attention via Binary Principal Components5 Aug 2026
- 2026Learning What to Remember: Test-Time Training via Context Distillation3 Aug 2026
- 2026Transcript-Managed Transformers: Monotone Multi-Agent Collapse and Universality with Two Pop-Enabled Transcripts31 Jul 2026
- 2026Error Certificates for KV-Cache Eviction via Randomized Design23 Jul 2026
- 2026Diffusion-Guided Uncertainty-Aware Delayed Policy Optimization6 Jul 2026
- 2026HACK++: Towards More Effective Head-Aware Key-Value Compression for Efficient Visual Autoregressive Modeling6 Jun 2026
- 2026Long Context Pre-Training with Lighthouse Attention7 May 2026
- 2026AQPIM: Breaking the PIM Capacity Wall for LLMs with In-Memory Activation Quantization20 Apr 2026
12 newest of 36 All 36 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024Does Transformer Interpretability Transfer to RNNs?
- 2024Theoretical limitations of multi-layer Transformer
- 2024MLKV: Multi-Layer Key-Value Heads for Memory Efficient Transformer Decoding
- 2026M2RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling
- 2026The Recurrent Transformer: Greater Effective Depth and Efficient Decoding
- 2026Revisiting the Shape Convention of Transformer Language Models
- 2023Context Compression for Auto-regressive Transformers with Sentinel Tokens
- 2025Pimba: A Processing-in-Memory Acceleration for Post-Transformer Large Language Model Serving