mlsanityData to 7 Oct 2026

The Impossibility Triangle of Long-Context Modeling

arXiv 2605.05066 ↗First posted 6 May 2026cs.CL cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

We identify and prove a fundamental trade-off governing long-sequence models: no model can simultaneously achieve (i) per-step computation independent of sequence length (Efficiency), (ii) state size independent of sequence length (Compactness), and (iii) the ability to recall a number of historical facts proportional to sequence length (Recall). We formalize this trade-off within an Online Sequence Processor abstraction that unifies Transformers, state space models, linear recurrent networks, and their hybrids. Using the Data Processing Inequality and Fano's Inequality, we prove that any model satisfying Efficiency and Compactness can recall at most O(poly(d)/log V) key-value pairs from a sequence of arbitrary length, where d is the model dimension and V is the vocabulary size. We classify 52 architectures published before March 2026 into the triangle, showing that each achieves at most two of the three properties and that hybrid architectures trace continuous trajectories in the interior. Experiments on synthetic associative recall tasks with five representative architectures validate the theoretical bound: empirical recall capacity lies strictly below the information-theoretic limit, and no architecture escapes the triangle.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 54 of its 65 references that are in the map. First posted on arXiv 6 May 2026.

Builds on

54 of 65 references.

References · 54

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  3. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  4. 2020Longformer: The Long-Document Transformercited by 3,362
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  6. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  7. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  8. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  9. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  10. 2020Reformer: The Efficient Transformercited by 1,658
  11. 2020Rethinking Attention with Performerscited by 1,584
  12. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
38 more
  1. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  2. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  3. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  4. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  5. 2022Simplified State Space Layers for Sequence Modelingcited by 776
  6. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
  7. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  8. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
  9. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 507
  10. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  11. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  12. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
  13. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  14. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
  15. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
  16. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
  17. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
  18. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  19. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  20. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
  21. 2024xLSTM: Extended Long Short-Term Memorycited by 320
  22. 2024Titans: Learning to Memorize at Test Timecited by 303
  23. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232
  24. 2022cosFormer: Rethinking Softmax in Attentioncited by 212
  25. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 197
  26. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 194
  27. 2022Mega: Moving Average Equipped Gated Attentioncited by 178
  28. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 169
  29. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 167
  30. 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 157
  31. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
  32. 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 134
  33. 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 133
  34. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 122
  35. 2023LM-Infinite: Zero-Shot Extreme Length Generalization for Large Language Modelscited by 120
  36. 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 118
  37. 2025Nemotron-H: A Family of Accurate and Efficient Hybrid Mamba-Transformer Modelscited by 88
  38. 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 76

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Numerical Investigation of Sequence Modeling Theory using Controllable Memory Functions
  2. 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attention
  3. 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchors
  4. 2025Overflow Prevention Enhances Long-Context Recurrent LLMs
  5. 2025MemMamba: Rethinking Memory Patterns in State Space Model
  6. 2026Expressivity-Efficiency Tradeoffs for Hybrid Sequence Models
  7. 2026Raven: High-Recall Sequence Modeling with Sparse Memory Routing
  8. 2025L2M: Mutual Information Scaling Law for Long-Context Language Modeling