TL;DR
Token counts tell you how long a prompt is, not whether it actually carries enough information for an LLM agent to make a good decision. This paper borrows Claude Shannon’s classical rate-distortion theory to calculate a strict, model-agnostic "bit budget"—the exact minimum amount of decision-relevant information a context must preserve to keep decision errors (regret) below a chosen threshold. Better yet, it cleanly separates whether an agent fails because the prompt threw away vital clues, or because the LLM simply failed to use what was right in front of it.
What Problem Does This Paper Address?
If you have ever built an LLM agent, you know the debugging headache: your agent picks the wrong tool or botches a task, and you have no idea who to blame. Is the backbone model too weak? Did your prompt compression strip out a crucial detail? Or is the relevant evidence "lost in the middle" of a massive context window?
Right now, engineers tune retrieval depth, summaries, and agent scaffolds ("harnesses") largely by trial and error. Nominal context windows stretch into the millions of tokens, yet tokens are not interchangeable with information—a bloated prompt can starve an agent of signal, while a "lossless" summary can silently break downstream decisions. What has been missing is a universal, model-independent yardstick expressed in bits rather than tokens: how much task history must survive in the prompt before any model, no matter how smart, has a mathematical fighting chance of succeeding?
Methods
The authors reframe an in-context decision step as a classic three-part information channel: Task History ($H$) $\to$ Assembled Context ($C$) $\to$ Emitted Action ($A$).
While the mathematical machinery relies on standard information theory—specifically the Data Processing Inequality (you cannot magically create history information downstream once a prompt stage discards it)—the novel twist is applying it to Regret Rate Distortion (RRD).
Instead of forcing the agent to reconstruct the raw text of the history, the authors define "distortion" as Bayes regret: the value gap between the action the agent took and the optimal action. Crucially, this treats different text strings that achieve the exact same outcome as equivalent, focusing purely on decision quality. From this, they derive $\mathcal{R}_\ell(\varepsilon)$: the minimum mutual information (in bits) required to achieve an expected regret of at most $\varepsilon$.
To test how real models behave near this theoretical floor, they evaluate three open-source LLMs (Qwen3-32B, Gemma3-27B, and GLM-4-32B) on a controlled 16-way single-step tool-selection task, sweeping across tool catalogue sizes (16 to 512), gold-tool positions, description compression levels, and Chain-of-Thought (CoT) toggles, using Miller-Madow bias-corrected mutual information estimates.
Datasets
The authors introduce no new raw datasets, instead constructing controlled 16-way tool-selection slices from three established public tool-use benchmarks (with no model training involved):
- API-Bank
- $\tau$-bench
- ToolBench
Key Insights and Ideas
- A hard speed limit for agent harnesses: Because of data processing, a multi-stage agent pipeline inherits the bottleneck of its tightest stage. If an early retrieval or summarisation step drops below the required bit floor, no downstream reasoning scaffold, verifier, or model upgrade can rescue the decision (unless it fetches fresh observations from the environment).
- Inference-time compute cannot beat a starved prompt: Reasoning methods like Chain-of-Thought act purely as decoders of the existing context $C$. They can help a model extract more mileage out of information already on the page, but they cannot lower the fundamental bit floor required in the prompt.
- Action-side rate predicts regret: Even though theory only provides a one-sided floor, empirically, when two very different prompt setups (say, different tool positions or compression levels) end up transmitting the same number of bits to the output action, they almost always land at the exact same error rate.
- Tokens are shockingly dilute: Near context-window saturation, prompts can swell to hundreds of thousands—or over a million—input tokens just to deliver a single bit of decision-making signal to the final action.
Key Results
For a uniform 16-tool choice where you want an error rate (regret) of at most $0.1$, the exact theoretical floor is $\approx 3.14$ bits (out of $4$ maximum bits). Across 441 experimental configurations (320 trials each):
- Respecting the floor, with room to spare: Every tested configuration stayed above the theoretical impossibility zone (confirming the measurement pipeline), sitting at a median margin of $1.07$ bits above the exact frontier.
- Tight clustering at matched bit-rates: Among 629 pairs of configurations whose action-side information rates were within $0.10$ bits of each other, $97.5\%$ had overlapping regret confidence intervals, with a tiny median regret gap of $0.0125$ (despite classification mechanics allowing gaps up to $\approx 0.7$).
- Mixed returns on Chain-of-Thought: On a 12-cell Qwen3/API-Bank slice, turning on CoT actually nudged mean regret slightly up by $+0.024$ and shifted action-side rate by $-0.062$ bits.
- Extreme token-to-bit ratios: The median cost on standard slices was $1,787$ input tokens per action-side bit, ballooning to $5,800$ on API-Bank ($N=512$), $\approx 4 \times 10^5$ on $\tau$-bench, and $\approx 1.7 \times 10^6$ tokens per bit on ToolBench when verbatim prompts hit the 32,768-token cap.
Limitations and Future Work
The authors are admirably candid about what their setup doesn't do yet. Empirically, they only test balanced, single-step, 16-way tool selection—not multi-turn agent trajectories, code generation, or continuous control. More importantly, they measure action-side mutual information $I(X, A)$ (what reaches the output) rather than directly estimating context-side capacity $I(H, C)$ (what is inside the raw text prompt). Because of that, a low output bit-rate alone cannot tell you whether the prompt lost the answer or the LLM just ignored it without an external retention audit.
For future work, they propose running end-to-end "retrieve-then-select" deployment pilots, calibrating neural mutual-information estimators (like MINE or InfoNCE) to measure rich text intermediates directly, and exploring rate-aware training objectives that explicitly penalise models for wasting bits.
Summary updated