Semantic Residual: A Paired-Oracle Decomposition of LLM Multi-Agent Systems under Lossy Channels

HangYang, Haotong SunNeurIPS 2026

TL;DR

When a network of AI agents fails to solve a group problem, is it because messages got dropped in transit, or because the agents misunderstood what arrived? By pitting LLM networks against a mathematical "perfect gossip" twin under identical network conditions, researchers isolate the exact performance gap caused by AI reasoning—which they call the semantic residual. Surprisingly, even when zero messages are dropped and every single agent holds the complete truth, LLM networks frequently agree on the wrong answer anyway.

What Problem Does This Paper Address?

Multi-agent LLM systems are increasingly tasked with sharing and combining scattered pieces of information. In classical distributed computing, decades of math explain how information spreads over unreliable networks via "gossip" protocols: if a message arrives, a simple rule merges it into the recipient’s memory, and life goes on.

With LLMs, however, receiving a message and actually using it properly are two completely different things. An LLM has to read natural language, update its internal scratchpad without dropping facts or hallucinating new ones, and commit to a final answer. Until now, when LLM networks failed on lossy channels, we couldn't cleanly separate classical network bottlenecks (dropped packets, bad graph layouts) from cognitive fumbles inside the agents themselves.

Methods

To isolate the LLM's cognitive overhead, the authors introduce a paired-Oracle protocol. Think of it as a parallel-universe experiment. In both universes, a network of agents (arranged in paths, rings, or small-world graphs) faces the exact same task, schedule, and pre-rolled dice determining which communication links drop messages at each round (controlled by delivery probability $p$).

Comparison of the LLM branch, which manages state via natural language, and the deterministic Oracle branch.
  • The Oracle Universe (Standard): Agents run a deterministic, rule-based gossip algorithm. They blindly extract time intervals using regex, intersect their sets of free time, and message a random neighbor.
  • The LLM Universe (Evaluated): Agents (primarily Qwen3.5-4B, alongside seven other models up to GPT-4o) maintain a free-form text workspace, choose which neighbor to message, and decide on an answer via JSON outputs.

The performance gap between these two matched runs is the semantic residual. To pinpoint which part of the LLM causes this gap, the authors also test hybrid ablation tiers—progressively replacing the LLM's final answer selection (ToolCommit) and its memory updating (Hybrid) with deterministic code while letting the LLM keep control of message routing.

Datasets

Rather than training on static datasets, the paper introduces synthetic evaluation tasks generated on the fly across 100 paired trials per configuration:

  • Distributed Common-Free-Slot (DCFS): A new benchmark where $N$ agents (from 3 to 10) each hold a private daily schedule of busy intervals (e.g., "00:00-07:00 Sleep"). Peer-to-peer, they must discover and agree upon the longest mutually free time slot.
  • Weighted-Slot Consensus (WSC): A secondary control task using weighted voting over slots (aggregated via maximum or addition) to verify that findings generalize beyond simple schedule intersections.

Key Insights and Ideas

  • Complete knowledge doesn't prevent collective delusion: Even with 100% reliable message delivery ($p=1.0$), LLM agents suffer from Consensus on Wrong despite Complete Knowledge (CWCK). Every single agent can successfully gather the exact right set of free intervals in its scratchpad, yet the group collectively locks onto a shorter, suboptimal interval—or hallucinates a boundary.
Step-by-step trajectory showing how the Oracle steadily reaches truth while the LLM suffers from semantic drift, assimilation failure, and premature lock.
  • The bottleneck is commitment, not routing: When wrong consensus happens, about 67% of failures occur at the final decision step (F-Decide—picking an answer that contradicts the agent's own notes), compared to 23% in integrating inbox messages and 10% in encoding outbound ones. Meanwhile, LLM message routing is surprisingly competent: once memory and answer selection are handled by code, LLM routing matches—and on very lossy channels ($p=0.1$), slightly beats—random Oracle routing.
  • Agents don't know when to stop: On 10-node rings where LLMs eventually gather all the facts, 79% of their extra communication rounds happen after every node already holds the complete truth. They spend twice as long agreeing to stop as they do gathering the data.
  • More connections can mean less agreement: Switching a 10-node ring to a fully connected graph (while keeping the limit of one sent message per round) slashes wrong consensus from 43% to 12%, but spikes non-convergence from 25% to 55%. Expanding who an agent can talk to trades premature groupthink for prolonged disagreement.

Key Results

  • Lagging Consensus: On a 10-node ring (Ring-N10) with 50% message drop ($p=0.5$), the Oracle reaches consensus in 100% of trials; Qwen3.5-4B reaches it in just 40%.
  • Wrong Consensus at Perfect Delivery: At $p=1.0$, Qwen3.5-4B hits CWCK in 15%–45% of trials across 11 topologies, running 3.6× to 5.1× slower than the Oracle on 10-node graphs. Scaling up helps but doesn't cure it: GPT-4o reaches 84% accuracy on Ring-N10 (vs. Qwen3.5-4B's 32%), yet still exhibits a 10% peak CWCK rate.
  • Surgical Fixes Work: On Ring-N10 ($p=1.0$), adding deterministic answer selection (ToolCommit) jumps Qwen3.5-4B accuracy from 0.32 to 0.62. Offloading state merging as well (Hybrid) hits 1.00 accuracy and cuts average rounds from 39.3 down to 10.5—matching the full Oracle.
  • Mediation Breakdown: Statistically, how much schedule coverage agents accumulate accounts for 92% of the link between channel reliability and accuracy—until you factor in how they fail, revealing F-Decide carries a massive $-0.45$ accuracy penalty.

Limitations and Future Work

The authors note that their deep statistical regressions focus on a single structured task (DCFS) with one primary small model (Qwen3.5-4B) on small networks ($N \le 10$, with only a tiny pilot up to $N=30$ where a 100-round cap may censor slow runs). Furthermore, DCFS has a clean mathematical merge rule (set intersection) that is easy to offload into Python code. Real-world, open-ended agent coordination rarely has a neat programmatic formula for merging ideas. Future work will need architectural solutions—such as separating local facts from peer rumors inside the model's attention streams—to keep agents from fumbling information once it arrives.

Summary updated

BibTeX
@inproceedings{hangyang2026semantic,
  author = {HangYang and Haotong Sun},
  title = {{Semantic Residual: A Paired-Oracle Decomposition of LLM Multi-Agent Systems under Lossy Channels}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=VpZBKjFSpf},
}
Figure