A Communication-Theoretic Framework for LLM Agents: Cost-Aware Adaptive Reliability
Hamed Omidvar, Vahideh Akhlaghi
NeurIPS page · Open on the map
Category: LLM Agents, Evals & Benchmarks › LLM Routing and Agent Evaluation · Type: new method · Keywords: communication theory, LLM agents, reliability techniques, cost-aware routing, quality-cost trade-off, Pareto frontier
Areas: AI Agents › Agent Systems and Interactions › Multi-Agent Coordination
Summary
The paper proposes a communication-theoretic framework for LLM agents that unifies reliability techniques and introduces a cost-aware semantic-nearest-neighbor router to adaptively allocate techniques per task, achieving better quality-cost trade-offs.
Explained to a 5-year-old
Some computer programs called LLM agents sometimes make mistakes when they answer questions. To help them be more correct, people have invented tricks like asking again, asking many people, or checking answers. The paper makes a big plan that treats these tricks like tools in a game and decides which tool to use based on how hard it is and how much money it costs. It also finds rules that tell us when one trick works better than another. This helps make the programs smarter and cheaper to run.
Explained to a 5-year-old, longer
Imagine a robot friend that can answer questions using a big brain called an LLM. Sometimes this robot makes mistakes, so we want to help it be more accurate. People have come up with different ways to fix mistakes, like asking the robot to try again, asking many robots and picking the most common answer, or checking the answer carefully. The paper puts all these ways into one big plan that works like a communication system. In this plan, the robot's answers are seen as messages that can be noisy. The plan shows that each trick is actually a known method for making messages more reliable. It also finds two important rules: one tells us when uniform averaging is better than weighted averaging, and another tells us when a refinement step stays stable. Finally, the plan includes a smart selector that chooses the best trick for each question, balancing how correct we want to be with how much computer power we are willing to spend. This makes the robot friend both smarter and cheaper to run.
For a technical reader
The work models an LLM as a discrete stochastic channel and maps existing reliability techniques to classical reliability operators. It derives analytical thresholds for when uniform versus quality-weighted averaging is optimal and provides a contractivity criterion for generator-critic refinement. A cost-aware router is introduced that selects techniques on the fly using a single Lagrangian knob, automatically navigating the quality-cost frontier without retraining. Experiments across six channel configurations and 69 hard tasks show the router dominates fixed techniques, achieving ~56% lower normalized cost at equal quality and ~7% higher quality at equal cost.
Problem
LLM agents currently employ various reliability techniques that are designed separately, making it difficult to choose the best combination of techniques under quality and computational cost constraints. There is a need for a unified framework that can analyze and adaptively select reliability strategies to balance accuracy and cost.
Method
The authors model an LLM at a given temperature as a discrete stochastic channel and map reliability techniques to classical reliability operators (diversity combining, hybrid retransmission, etc.). They derive closed-form thresholds and a contractivity criterion, and propose a cost-aware router that selects techniques on the fly using a single tunable parameter.
Results
The router achieves a normalized cost reduction of about 56% at matched quality compared to the strongest fixed technique, and improves quality by about 7% at matched cost (26% over single-shot decoding) on the 300-item hard split of MMLU, GSM8K, and HumanEval.
Contributions
The paper provides a communication-theoretic framework that unifies existing reliability techniques as classical reliability operators, derives analytical thresholds and a contractivity criterion, and introduces a cost-aware adaptive router that automatically selects techniques per task. It also demonstrates via extensive experiments that no single fixed technique dominates across tasks, and the router spans the empirical Pareto frontier.
Practical relevance
The framework enables practitioners to automatically select the most cost-effective reliability strategy for LLM agents, reducing computational waste while maintaining or improving performance.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction