This is not a temporary engineering difficulty — it is a hard information-theoretic boundary, like the speed of light, that cannot be crossed.
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 the inescapable fate of all long-sequence models. Rather than attacking any specific architecture, the paper establishes a unified mathematical framework that places Transformers, Mamba, linear attention, state-space models, and all their hybrid variants inside a single impossibility triangle.
> 📌 Note: What is an Online Sequence Processor (OSP)? > The OSP is the paper's unified abstraction: a seven-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. Via this abstraction, Transformers (with the KV-cache as state), state-space models (with a fixed-dimension hidden state), and linear recurrent networks (with accumulated outer-product states) all fit into one formal system.
The triangle has three vertices:
| Property | Symbol | Meaning | Plain language | |:---------|:------:|:--------|:---------------| | ⚡ Efficiency | \(\mathfrak{E}\) | Per-step compute independent of sequence length | Token 1M processes 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 |
*Table 1: The three vertices. Any model occupies at most two.*
The theorem is blunt:
In plain words: if your model is both efficient and compact, then no matter how long the sequence, the number of key-value pairs it can recall has a fixed upper bound depending only on model dimension \(d\) and vocabulary size \(V\) — completely independent of sequence length \(T\). Stretch the sequence from 1K to 1M, and recall capacity grows not one bit.
This is not an approximation or heuristic — it is an unconditional information-theoretic proof. It assumes nothing about internal architecture details; however fancy your state space, gating, or selective scan, as long as causality and numerical stability hold, the bound applies.
> 📌 Note: Data Processing Inequality and Fano's Inequality > The Data Processing Inequality is a fundamental theorem of information theory: information extracted from processed data cannot exceed what is extractable from the original data. The paper uses it to show that after compression into state \(s_t\), the information retained about past inputs has an upper bound. > Fano's Inequality relates error probability to mutual information: reliably recalling \(n\) facts requires sufficient mutual information. Combining both, the paper strictly limits the number of recallable facts under bounded state size.
What made this paper an industry mirror
First: a systematic classification of 52 architectures. Zhou placed every long-sequence architecture published before March 2026 into the triangle, analyzing which two vertices each occupies and which it sacrifices. The result is brutal — no architecture escapes the triangle's boundary. Each is answering a pick-two question:
- Transformer picks Recall + Efficiency, sacrificing Compactness (KV-cache grows linearly with sequence length)
- Mamba picks Efficiency + Compactness, sacrificing Recall (fixed state size limits memory)
- Linear Transformer / GLA likewise pick E + C, with Recall capped below the theoretical bound
- Hybrid architectures (Mamba + Attention) wander inside the triangle along a continuous trade-off curve but never reach 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: The Online Sequence Processor (OSP) abstraction — a seven-tuple formalization unifying Transformers, state-space models, linear recurrent networks, and hybrids
- Proof tools: Data Processing Inequality + Fano's Inequality, extended to continuous-state systems via Lipschitz stability arguments
- Quantitative theorem: Models satisfying Efficiency (\(\mathfrak{E}\)) and Compactness (\(\mathfrak{C}\)) can recall at most \(\mathcal{O}(\text{poly}(d)/\log V)\) key-value pairs, where \(d\) is model dimension and \(V\) vocabulary size
- Classification: 52 long-sequence architectures published before March 2026, analyzed one by one
- Experimental validation: 5 representative architectures (Transformer, Linear Transformer, Mamba, GLA, Hybrid) on synthetic associative recall; all fall strictly below the bound, with GLA's utilization at ~0.04%
- Core conclusion: The impossibility triangle parallels the CAP theorem — it forbids nothing, but demands explicit trade-offs; hybrids trace 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 |
*Table 2: Positions of representative architectures in the impossibility triangle.*
Second: experimental validation — and reality is harsher than theory.
The paper tested 5 representative architectures on synthetic associative recall tasks: Transformer, Linear Transformer, Mamba (N=4,8,16,32,64), GLA, and a Hybrid model. Theory says E+C models can recall at most \(\mathcal{O}(\text{poly}(d)/\log V)\) pairs — already a loose bound. But experiments show every architecture's actual recall capacity is strictly below this bound, often by a huge margin.
GLA had the highest "utilization" of all tested architectures — yet it exploited only 0.04% of the theoretical bound. Even the architecture best at storing information in a compact state reaches four ten-thousandths of the information-theoretic limit. Mamba and Linear Transformer are lower. The gap comes from two real-world constraints:
1. The state must store not just key-value pairs but positional information, padding tokens, and task structure 2. Real models' encodings are far from information-theoretically optimal
In other words: even "squeezing the potential of compact states dry" remains far out of reach — let alone breaking the hard boundary.
> 📌 Note: The Associative Recall Task > Associative recall is a standard synthetic task for testing long-context memory: the model reads key-value pairs ("apple-42, banana-17, cherry-93...") and is asked for a value given a key ("what is apple?"). It isolates pure memory capacity, excluding confounders like reasoning. The paper uses it to measure \(n^*\), the maximum number of correctly recallable pairs.
The irony of hybrids
For the past two years, the dominant narrative has been "hybrid architectures 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 adjusting 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 indefinitely, but never arrive — like Zeno's tortoise, each step shortens the distance, but the total is always less than one.
The uncomfortable question
Over the past 18 months, the industry has poured billions into "long context." Mamba and its variants were touted as Transformer successors, with the core selling point of "linear complexity + fixed state" — i.e., E + C. But almost no one seriously asked about the Recall cost. Supporting 1M tokens does not mean you can recall what's in those 1M tokens.
The paper's cruelty: E + C architectures in principle cannot have recall proportional to sequence length. Not a data problem, not a scale problem, not a tricks problem — it's math. Scale Mamba to 100B parameters, stretch the state dimension to 10K, and you still cannot escape the \(\mathcal{O}(\text{poly}(d)/\log V)\) cage.
Companies replacing attention with state-space models, teams compressing KV-caches to fixed sizes, startups pitching "infinite context" — you must answer: you sacrificed Recall; do your users know?
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 is answering a question about which vertex to approach and which property to sacrifice.
The long-context race isn't over. But it has changed tracks — from "who can do all three" to "who can push two to the extreme while admitting the third is out of reach."
---
📚 Paper details