Long-sequence model design is undergoing a fundamental shift: from "finding the optimal architecture" to "making explicit trade-offs among incompatible constraints." A May 2026 arXiv paper by Yan Zhou (Changsha University of Science and Technology), arXiv:2605.05066, rigorously proves an impossibility triangle for long-context models—Efficiency (E), Compactness (C), and Recall (R) cannot all hold—and systematically classifies 52 published architectures.
Key points
- Theorem 10 (Impossibility Triangle): No Online Sequence Processor can simultaneously satisfy E, C, and R. Any E∧C architecture can recall at most \(n^* \leq \frac{q(d)}{(1-\varepsilon)\log_2 V - 1} = O\left(\frac{\text{poly}(d)}{\log V}\right)\) key-value pairs at accuracy \(1-\varepsilon\), independent of sequence length \(T\).
- OSP formalism: A seven-tuple state-machine abstraction \(P = (S, X, Q, A, \delta, \rho, s_0)\) unifying autoregressive Transformers (KV-cache grows with \(t\)), Mamba-style SSMs (fixed-size state), and linear recurrences, under causality and Lipschitz-stability axioms.
- Proof tools: Data Processing Inequality bounds mutual information between stored key-value pairs and the state by the state's bit budget \(q(d)\); Fano's Inequality gives the minimum information needed per recalled pair.
- Region R (Recall vertex): Full attention (MHA, MQA/GQA/MLA variants). State and compute grow with \(T\); FlashAttention-class work is correctly classified as implementation optimization, not asymptotic improvement.
- Region E∧C: Four subfamilies—SSMs (S4, Mamba/2/3), gated linear RNNs (RetNet, GLA, RWKV-4–7, DeltaNet, xLSTM), sparse attention (Longformer, BigBird, StreamingLLM, NSA), and fixed-state memory (∞-former, Infini-Attention, Titans, TTT). All are strictly bounded by Theorem 10.
- Interior: Global-attention hybrids (Jamba, Zamba, StripedHyena, Nemotron-H, MiniMax-01) interpolate via the attention-layer ratio \(r_{\text{attn}}\): \(|s_T|_{\text{bits}} = n_{\text{ssm}} \cdot N d b + n_{\text{attn}} \cdot T d b\).
- ECR profiles (T=64): Transformer recalls n*=16 pairs (r=0.25) at 524 Kbit state; Mamba (N=16) and Linear Transformer recall only 1 pair at 65 Kbit state; GLA recalls 4.
- Scaling behavior: Transformer FLOPs/step and KV-cache grow linearly with T; fixed-state models stay flat while their recall ratio \(r \to 0\), matching the theorem.
- Hybrid interpolation: Recall n* saturates near \(r_{\text{attn}} \approx 0.5\) while state size and cost keep growing—beyond 50% attention share, additional layers buy efficiency loss, not recall.
- Bound utilization: All 14 tested configurations lie strictly below the theoretical bound; the highest utilization is only ~0.04% (GLA), with Mamba at ~0.01% or lower. Over 99.96% of the state's bit budget is unused for exact key-value storage, implying roughly two orders of magnitude of potential improvement *inside* the triangle.
- Whether "soft recall" (semantic, multimodal, multi-turn) is subject to the same bound.
- Whether quantum/analog computation could bypass the information-theoretic limit.
- Whether real-language redundancy can be exploited to beat the independent-uniform-distribution assumption.
- Whether stronger conditional lower bounds exist via complexity theory (e.g., SETH).
Classification of 52 architectures
Experimental findings
Design framework
The paper proposes a task-driven selection process:
1. Determine recall tier: Level A (exact retrieval: multi-hop QA, code references), Level B (semantic understanding: long-doc summarization), Level C (recency-first: streaming dialogue). 2. Match region: A → Region R or high-\(r_{\text{attn}}\) Interior; B → mid Interior or E∧C with fine-tuning; C → E∧C (Mamba/GLA/RWKV). 3. Tune within region: \(r_{\text{attn}}\) for hybrids; state dimension N or gating for E∧C; KV-cache compression (MQA/GQA/MLA) for Region R.
The result parallels the CAP theorem in distributed systems: it does not forbid useful systems, but forces explicit, quantified trade-offs.
Open questions
Paper metadata
| Field | Value | |---|---| | Title | The Impossibility Triangle of Long-Context Modeling | | Author | Yan Zhou, School of Mathematics and Statistics, Changsha University of Science and Technology | | arXiv | [2605.05066v1 [cs.CL]](https://arxiv.org/abs/2605.05066) | | Date | 2026-05-06 | | Size | 41 pages, 6 figures |
The paper's ultimate message for practitioners: stop searching for a universal architecture; start choosing the most suitable trade-off point for each task. The impossibility triangle is not a cage—it is a map.