The Consensus Trap: Rescuing Multi-Agent LLMs from Adversarial Majorities via Token-Level Collaboration

Jiayuan Liu, Shiyi Du, Weihua Du, Mingyu Guo, Vincent ConitzerarXiv 2026

TL;DR

Current multi-agent LLM systems are highly vulnerable to "consensus traps," where majority voting completely collapses if more than half of the agents are corrupted by targeted prompt injections. To fix this, the authors introduce Token-Level Round-Robin (RR) Collaboration, a method where agents interleave token generation within a single shared context. This allows honest agents to intercept and correct flawed logic mid-generation, effectively using the auto-regressive context as a "truth attractor" to rescue the system even when adversarial agents hold a super-majority.

What Problem Does This Paper Address?

Deploying multiple LLMs in parallel and using Majority Voting (MAJ) is a standard way to boost reasoning performance and reduce hallucinations. However, this approach relies on a fragile assumption: that agent errors are independent.

In real-world open environments, this assumption breaks down. LLMs are notoriously susceptible to stealthy contextual corruptions, such as indirect prompt injections or malicious search results. If an adversary manages to bias a majority of the agents in an ensemble (a corruption ratio $\rho > 0.5$), standard majority voting suffers a catastrophic systemic collapse. Because traditional voting only aggregates fully formed, terminal answers, it is completely blind to the flawed intermediate logic that led to those answers.

Methods

The authors propose a paradigm shift from macroscopic response-level voting to microscopic Token-Level Round-Robin (RR) Collaboration.

Instead of generating answers in isolation, $N$ agents take turns contributing small chunks of text (exactly $K$ tokens) to a single, continuously updated shared context window.

Figure 1: Rescuing Multi-Agent LLMs from Consensus Trap via Token-Level Collaboration.

Mathematically, the authors model this auto-regressive generation as a discrete-time dynamical system. By viewing the transformer forward pass as an implicit optimization step (mesa-optimization), they prove that:

  1. Honest agents act as a contraction mapping toward a "Truth Attractor" manifold, reducing reasoning errors.
  2. Corrupted agents introduce adversarial perturbations, but their ability to deviate is strictly bottlenecked by the existing context (due to LLM sycophancy—the tendency of models to follow the established prefix).

By running this collaborative RR process $M$ times, they generate $M$ independent collaborative trajectories and perform a final majority vote over them (RRMaj), leveraging test-time compute scaling. Crucially, because a single RR trajectory generates the exact same number of total tokens as a single standard agent response, RRMaj maintains computational cost parity with standard Majority Voting.

Datasets

The methodology was evaluated across five multi-step reasoning domains where answers are objectively verifiable:

  • Mathematical Reasoning: AQUA-RAT, GSM8K, MATH500
  • Spatial State Tracking: Track-7
  • Logical Deduction: Logic-3 (from the BIG-bench Hard dataset)

The authors tested these datasets under two adversarial setups: a Moderate (Advisory) injection that attempts to persuade the model, and a Strong (Imperative) injection that rigidly commands the model to pick a specific wrong answer.

Key Insights and Ideas

  • The "Truth Attractor" and Logical Gravity: Once an honest agent intervenes mid-generation to correct an error (e.g., writing "Wait, $\sqrt{9}=3$, so $3+1=4$"), that correct logic becomes part of the immutable context prefix. Due to auto-regressive perplexity constraints, even the corrupted agents are forced by "logical gravity" to complete the proof correctly rather than awkwardly overriding it.
  • The Condorcet Death Spiral: Under standard majority voting, if individual agent accuracy drops below 0.5 due to adversarial corruption, sampling more trajectories actually accelerates systemic collapse. For RRMaj, token-level interleaving pushes individual trajectory accuracy back above 0.5, turning test-time compute scaling back into a "truth amplifier."
  • Weak Rescues Strong: In heterogeneous ensembles, the authors discovered a fascinating asymmetry: weak honest agents (e.g., an 8B model) can successfully rescue strong corrupted models (e.g., a 70B model). When the 8B model injects a valid mathematical step, the highly capable 70B model's superior reasoning engine compels it to abandon its adversarial prompt and complete the proof correctly. The reverse, however, does not hold.

Key Results

The empirical results demonstrate a stark contrast between traditional voting and token-level collaboration when corrupted agents form a majority ($\rho \ge 0.6$):

Table 1: Systemic Resilience under Moderate Advisory Injection. We report the accuracy (%) of standard Majority Voting (MAJ), our Token-Level Collaboration (RRMaj), and their absolute gap (∆) across N = 5 ensembles with varying corruption ratios.
  • Catastrophic Collapse of MAJ: In a 3-corrupted, 2-truthful (3c2t) agent setup using Llama-3.3-70B under moderate injection, standard Majority Voting accuracy plummets to a dismal 0.8% on Track7 and 11.1% on AQuA.
  • Robust Recovery via RRMaj: Under the exact same 3c2t adversarial majority, RRMaj rescues Llama-3.3-70B, boosting Track7 accuracy to 89.1% (an absolute gain of +88.3%) and achieving an average recovery of +49.6% across all datasets.
  • The Robustness Tax: In entirely uncorrupted environments (0c5t), RRMaj incurs a very minor accuracy penalty (typically 1-3%) due to forced context-switching between different models, which the authors term a highly favorable "Asymmetric Yield" trade-off.

Limitations and Future Work

While Token-Level RR proves remarkably robust, the authors note a few limitations and areas for future exploration:

  • Adaptive Adversaries: The current threat model assumes static prompt injections. Future work needs to evaluate RR against dynamic, adaptive adversaries that actively monitor the shared context and strategically attempt to override honest corrections.
  • Dynamic Chunking ($K$): The paper utilizes a fixed token chunk size ($K \approx 100\text{--}300$). The authors suggest that developing adaptive chunking algorithms—where the turn-switching frequency dynamically adjusts based on context perplexity or semantic boundaries—could optimize the cost-robustness Pareto frontier.

Summary updated

BibTeX
@misc{liu2026consensus,
  author = {Jiayuan Liu and Shiyi Du and Weihua Du and Mingyu Guo and Vincent Conitzer},
  title = {{The Consensus Trap: Rescuing Multi-Agent LLMs from Adversarial Majorities via Token-Level Collaboration}},
  year = {2026},
  eprint = {2604.17139},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.17139},
}
Figure