This isn't a temporary engineering difficulty — it's a hard information-theoretic boundary, as unbreakable as the speed of light.
In May 2026, mathematician Yan Zhou of Changsha University of Science and Technology published a 41-page paper using two classic information-theoretic inequalities — the Data Processing Inequality and Fano's Inequality — to prove a fate that no long-sequence model can escape. Rather than targeting a specific architecture, the paper establishes a unified mathematical framework placing Transformers, Mamba, linear attention, state space models, and all their hybrids inside the same impossibility triangle.
> 📌 Note: What is an Online Sequence Processor (OSP)? > The OSP is the paper's unified abstraction, a 7-tuple \((\mathcal{X}, \mathcal{S}, f, g, h, s_0, T)\) formalizing all autoregressive sequence models: \(\mathcal{X}\) is the input space, \(\mathcal{S}\) the state space, \(f\) the state transition function, \(g\) the output function, \(h\) the update rule, \(s_0\) the initial state, and \(T\) the sequence length. Through this abstraction, Transformers (KV-cache as state), state space models (fixed-dimensional hidden state), and linear recurrences (accumulated outer-product states) all fall into one formal system.
The Three Vertices
| Property | Symbol | Meaning | Plain language | |:-----|:----:|:-----|:---------| | ⚡ Efficiency | \(\mathfrak{E}\) | Per-step compute independent of sequence length | Token 1 million processed as fast as token 1 | | 📦 Compactness | \(\mathfrak{C}\) | State size independent of sequence length | Memory doesn't grow with text length | | 🧠 Recall | \(\mathfrak{R}\) | Number of recallable facts proportional to sequence length | The longer you read, the more you remember |
Any model can occupy at most two of the three vertices. The theorem states:
In plain terms: if your model is both efficient and compact, the number of key-value pairs it can recall has a fixed ceiling depending only on model dimension \(d\) and vocabulary size \(V\) — not on sequence length \(T\). Stretching the sequence from 1K to 1M gains zero recall capacity.
This is an unconditional proof, not an approximation or heuristic. No matter how fancy your gating or selective scan, as long as causality and numerical stability hold, the bound applies.
> 📌 Note: The Proof Tools > The Data Processing Inequality states that processing data cannot increase the extractable information. It shows that after compression into state \(s_t\), the information retained about history is bounded. Fano's Inequality links error probability to mutual information: reliably recalling \(n\) facts requires sufficient mutual information. Together they strictly limit recallable facts under bounded state size.
52 Architectures, One Triangle
Zhou classified all 52 long-sequence architectures published before March 2026 into the triangle. None escaped its boundary — every model makes a pick-two choice:
- Transformer: Recall + Efficiency, sacrificing Compactness (KV-cache grows linearly)
- Mamba: Efficiency + Compactness, sacrificing Recall (fixed state size)
- Linear Transformer / GLA: E + C, Recall below the theoretical bound
- Hybrid architectures (Mamba + Attention): wander inside the triangle on a continuous trade-off curve, never touching the third vertex
- Title: *The Impossibility Triangle of Long-Context Modeling*
- arXiv ID: 2605.05066
- Published: 2026-05-06
- Author: Yan Zhou
- Affiliation: School of Mathematics and Statistics, Changsha University of Science and Technology
- Length: 41 pages, 6 figures
- Core framework: Online Sequence Processor (OSP) abstraction — a 7-tuple formalization unifying Transformers, SSMs, linear recurrences, and hybrids
- Proof tools: Data Processing Inequality + Fano's Inequality; extended to continuous-state systems via Lipschitz stability arguments
- Quantitative theorem: Models satisfying Efficiency and Compactness recall at most \(\mathcal{O}(\text{poly}(d)/\log V)\) key-value pairs
- Classification: 52 architectures analyzed in the triangle
- Experiments: 5 architectures on associative recall; all strictly below the bound, GLA utilization ~0.04%
- Conclusion: analogous to the CAP theorem — doesn't forbid useful systems, but requires explicit trade-offs; hybrids form continuous interior trajectories that never touch the third vertex
| Architecture | Efficiency | Compactness | Recall | Strategy | |:---------|:----------:|:-----------:|:------:|:---------| | 🔥 Transformer (standard) | ❌ depends on \(T\) | ❌ \(O(T)\) | ✅ full | R + E (sacrifice C) | | 🐍 Mamba / SSM | ✅ fixed | ✅ fixed | ❌ limited | E + C (sacrifice R) | | ⚡ Linear Transformer | ✅ fixed | ✅ fixed | ❌ limited | E + C (sacrifice R) | | 🌟 GLA | ✅ fixed | ✅ fixed | ❌ limited | E + C (sacrifice R) | | 🔀 Hybrid (Mamba+Attn) | partial | partial | partial | interior trade-off curve |
Reality Is Harsher Than Theory
Testing 5 representative architectures (Transformer, Linear Transformer, Mamba at N=4,8,16,32,64, GLA, and a Hybrid) on synthetic associative recall tasks, the paper found that every architecture's actual recall fell strictly below the theoretical bound — by a huge margin.
GLA was the most efficient at utilizing its compact state — but it only used 0.04% of the theoretical bound. Even the best architecture at storing information in compact state reaches four ten-thousandths of the information-theoretic limit. The gap comes from two real-world constraints:
1. State must also encode position information, padding tokens, and task structure 2. Real models' encodings are far from information-theoretically optimal
The theoretical ceiling exists, but engineering reality is extremely far from it — we haven't even come close to exhausting the potential of compact states, let alone breaking the hard boundary.
> 📌 Note: Associative Recall > A standard synthetic task for testing memory: the model receives key-value pairs ("apple-42, banana-17, cherry-93...") and is queried for a value ("what was apple?"). It isolates pure memorization, and the paper uses it to measure recall capacity \(n^*\).
The Hybrid Irony
The most ironic finding concerns hybrid architectures. For two years, the dominant narrative was "hybrids combine the best of both worlds." The paper proves hybrids do form a continuous trade-off curve inside the triangle — you can slide smoothly between E, C, and R by tuning the attention ratio \(r_{\text{attn}}\) — but the curve's endpoints always lie on the triangle's edges, never touching the third vertex:
You can approach a vertex infinitely but never reach it — like Zeno's tortoise.
The Uncomfortable Question 💰
Over the past 18 months, the industry has poured billions into "long context." Mamba and variants were touted as Transformer successors, with the core selling point of "linear complexity + fixed state" — i.e., E + C. But few seriously asked about the Recall cost. Supporting 1M tokens does not mean you can recall 1M tokens' contents.
The paper's cruelty: E + C architectures cannot, in principle, have Recall proportional to sequence length. Not insufficient training data, not too-small models — it's math. Scale Mamba to 100B parameters and 10K state dimensions, and the \(\mathcal{O}(\text{poly}(d)/\log V)\) cage still holds.
The impossibility triangle won't stop you from building useful systems, just as the CAP theorem didn't stop distributed databases. But it demands you choose honestly. As the paper concludes:
> Every long-sequence architecture makes a choice about which vertex to approach and which property to sacrifice.
The long-context race isn't over. But the track has changed — from "who can do all three" to "who can, while admitting only two are possible, push those two to the extreme."
---