A Communication-Theoretic Framework for LLM Agents: Cost-Aware Adaptive Reliability

Hamed Omidvar, Vahideh AkhlaghiNeurIPS 2026

TL;DR

Sampling an LLM at temperature $T$ isn't just a quirky AI heuristic—mathematically, it is a noisy communication channel straight out of Claude Shannon’s 1948 playbook. By mapping scattered LLM reliability tricks (like majority voting and self-refinement) onto classical radio-engineering primitives, this paper replaces ad-hoc prompt tinkering with principled design rules and a dynamic router that slashes inference costs by ~56% without sacrificing quality.

What Problem Does This Paper Address?

If you have ever built an LLM agent, you know the core headache: individual calls are stochastic and unreliable. To keep hallucinations and logical slips at bay, engineers lean on a growing zoo of inference-time patches—Best-of-$N$, Self-Consistency, Mixture-of-Agents, Self-Refine, and Multi-Agent Debate.

The trouble is that these methods evolved in parallel silos. Until now, there has been no unified analytical framework to tell you why one works better than another, when a critic loop will accidentally make a good answer worse, or how to pick the right strategy for a given budget without brute-force trial and error. Meanwhile, communication engineers have spent 75 years solving the exact abstract version of this problem: extracting reliable signals from unreliable channels.

Methods

The authors observe that an autoregressive LLM generating an output $y$ from a prompt $x$ defines a conditional probability distribution $p_\theta(y \mid x)$—satisfying the exact mathematical axioms of a discrete stochastic channel. From this foundation, they build AGENTCODEC, a system that consolidates LLM reliability into six classical communication operators, plus a smart dispatcher:

Table 1: Communication →agent mapping. SC: selection combining; MIMO: multiple-input multiple-output; MCS: modulation and coding scheme. Full table in Appendix A.
  • Upgraded Operators: Standard AI tricks turn out to be special cases of classical receivers missing a key mechanism. For instance, Mixture-of-Agents is Equal-Gain Combining (averaging copies equally), while weighted voting is Maximal-Ratio Combining (weighting copies by estimated signal quality). Self-Refine maps to Hybrid Automatic Repeat Request (HARQ), and Multi-Agent Debate maps to Turbo Decoding—except AGENTCODEC adds classical "extrinsic-only" information exchange and damping so the generator and critic don't fall into echo-chamber oscillations.
  • Sigma-Delta Judge: Instead of asking an LLM judge for a coarse 1–10 rating to estimate output quality (the analog of channel-state estimation), their scorer evaluates 15 weighted yes/no criteria—mimicking sigma-delta quantization to reduce estimation noise.
  • Semantic-$k$NN Router: Because no single operator wins everywhere, a non-parametric router embeds incoming tasks and checks the $k=20$ nearest historical tasks in a calibration cache. Using a single Lagrangian knob $\lambda$, you can smoothly slide along the quality-cost frontier without retraining anything.

Datasets

The authors evaluate their framework across two distinct setups:

  • 300-item Hard Split: 100 challenging problems each from MMLU, GSM8K, and HumanEval, filtered purely by structural difficulty proxies (like question length or step count) rather than model performance.
  • Curated Tasks: A newly introduced set of 69 tasks across QA, reasoning, creative writing, and code at three difficulty tiers, specifically crafted to expose behavioral differences across 3B to 30B parameter models.

Key Insights and Ideas

  • When "smart" weighting backfires: Intuitively, weighting candidate answers by a judge’s quality score should beat naive averaging. Using classical receiver theory, the authors prove a closed-form noise threshold: if your LLM judge is too noisy (e.g., smaller than the generator), quality-weighted synthesis actually loses to simple uniform averaging. Better yet, you can measure this scorer noise beforehand by checking how often two different judges disagree.
  • Unchecked refinement degrades good answers: Modeling generator-critic loops as dynamical systems reveals that refining an answer already near the model's capability ceiling often makes it worse. Because standard Self-Refine lacks a quality gate, it actively harms high-quality initial drafts (losing 2.8 percentage points on drafts starting $\ge 0.9$, and dropping 8.7 pp below a single call when internal reasoning is enabled). Gating refinement on initial quality fixes this.
  • Internal "thinking" is just a cleaner channel: Enabling reasoning tokens boosts single-call accuracy dramatically, which shrinks—but doesn't eliminate—the gains of external coding. Just as information theory predicts, a cleaner channel needs less error-correcting redundancy.

Key Results

Tested across six local and cloud model configurations, no fixed technique-budget choice dominates across tasks. On the 300-item benchmark split, the semantic-$k$NN router defines the empirical Pareto frontier:

Figure 1: Cost-aware router versus fixed choices on the 300-item hard split (Ollama-cloud trio: Nemotron-Nano-3 30B and Devstral-Small-2 24B as channels, GLM-5.1 as judge; three generation repeats per task; 5-fold stratified cross-validation). (a) Mean quality versus normalized cost ρ, in multiples of one uncoded call. Blue: the router as its knob λ is swept, with a 95% bootstrap band. Gray: the 20 fixed techniques. Orange: the cross-validated best fixed technique. Star: per-task oracle. Hollow markers: other routing policies. Arrows mark the gain at matched cost (λ=3) and the cost reduction at matched quality (λ=38). (b) Every fixed technique by mean quality with its 95% bootstrap interval, and its normalized cost at right; vertical lines mark the cross-validated best fixed technique and the router at λ=3. Quality is the judge score (Sec. 4); Sec. 5.5 repeats the comparison under judge-free grading.
  • Frontier dominance: At matched cost ($\lambda=3$), the router boosts mean quality by 6.8% (+5.6 pp) over the cross-validated best fixed technique (and +26% over a single uncoded call). At matched quality ($\lambda=38$), it cuts normalized compute cost by 55.7%.
  • Beats learned routers: Despite requiring zero training, this simple nearest-neighbor lookup ties or beats four learned baselines (including gradient-boosted regressors and contextual bandits) on 16 of 18 cost settings.
  • Judge-free validation: Grading 6,900 outputs objectively (unit tests and exact math/option matching) confirms the LLM judge ranks correct items above incorrect ones 77% of the time. Even when evaluated strictly on objective accuracy, the router beats a fixed policy by 9.7 pp at $\lambda=3$, avoiding the trap of committing globally to Self-Refine (which flatters LLM judges via stylistic polish without improving objective correctness).

Limitations and Future Work

  • Judge overhead and blind spots: No human evaluation was conducted, and at flat per-token pricing, the 15-criteria LLM judge accounts for roughly 83% of the total per-task cost.
  • Untested generalization: How well the router's calibration cache transfers across sudden distribution shifts, different model families, or silent cloud API updates remains untested. Furthermore, several local hardware evaluations relied on single runs, leaving ~2–4 pp resolution floors where close techniques must be treated as ties.
  • Open horizons: The authors point toward a rich, untapped coding space—including true operational capacity bounds for LLMs, structured parity codes over reasoning chains, and automatically calibrating the cost knob $\lambda$ from a user's hard dollar budget.

Summary updated

BibTeX
@inproceedings{omidvar2026communication,
  author = {Hamed Omidvar and Vahideh Akhlaghi},
  title = {{A Communication-Theoretic Framework for LLM Agents: Cost-Aware Adaptive Reliability}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=f9YBAJGutx},
}
Figure