English

The Impossibility Triangle of Long-Context Modeling

Computation and Language 2026-05-07 v1 Artificial Intelligence Machine Learning

Abstract

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.

Cite

@article{arxiv.2605.05066,
  title  = {The Impossibility Triangle of Long-Context Modeling},
  author = {Yan Zhou},
  journal= {arXiv preprint arXiv:2605.05066},
  year   = {2026}
}

Comments

41 pages, 6 figures

R2 v1 2026-07-01T12:53:04.914Z