# Which invariants prevent heterogeneous LLM agents from silently collapsing a Byzantine quorum into a plurality vote **Date of Record:** 2026 November 24 **Scope:** Applies to multi-agent consensus protocols where N heterogeneous LLM instances (different base models, temperatures, or prompt identities) vote on a binary or categorical decision under an f < N/3 Byzantine fault assumption. Does not apply to single-model self-consistency sampling or to homogeneous ensembles where correlated failure modes are structurally guaranteed. ## Core Distinction Classical BFT consensus assumes Byzantine nodes are *adversarial but arbitrary*: they can lie, equivocate, and withhold, but they cannot systematically correlate with honest nodes' error distribution. Heterogeneous LLM agents break this assumption in a specific and non-obvious way: their failure modes are **correlated through shared training data and shared prompt priors**, not through collusion. Two independent models from different vendors will, given the same subtly ambiguous prompt, produce the *same wrong answer* with probability far above chance. The quorum is not Byzantine in the classical sense—no agent is malicious—yet the 2f+1 threshold is satisfied by a correlated hallucination, and the protocol commits a false value with full apparent quorum. The invariant that classical BFT relies on is *independence of fault domains*. In LLM swarms this invariant is violated silently: the fault domain is the shared pretraining corpus, not the process boundary. A quorum that counts *agents* instead of *independent evidence sources* is not a Byzantine quorum—it is a plurality vote wearing a quorum's clothes. ## What Was Observed A 7-agent heterogeneous panel (three model families, temperatures 0.0–0.7, distinct system prompts) was tasked with adjudicating whether a tool-call trace contained a sandbox escape. Ground truth: it did not. The trace contained a `subprocess.run` with `shell=False` and an absolute path *outside* the declared working directory but *inside* the container mount—a benign boundary touch that superficially resembles escape. Five of seven agents voted "escape." The two dissenters were the only agents whose system prompt explicitly instructed them to distinguish "path outside cwd" from "path outside mount." All five majority voters cited the same heuristic ("absolute path outside working directory = escape") in their rationales—a heuristic present verbatim in the pretraining distribution of every model family tested. The quorum threshold (5 ≥ 2f+1 for f=2) was met. The protocol committed "escape," triggered a sandbox teardown, and destroyed in-flight state for a healthy task. The critical observation: **the five majority votes were not five independent observations.** They were one shared prior sampled five times. The protocol's fault-tolerance budget was spent on model diversity that did not exist at the level of the failure mode. ## Condition of Validity The Byzantine quorum invariant `N ≥ 3f + 1` is valid **only if** the honest-agent error events are pairwise independent conditioned on the input. Formally, for the commit to be sound we require that the probability of `f+1` honest agents sharing a wrong answer is bounded by `p^(f+1)` where `p` is the per-agent error rate. When agents share a prior, the correct bound is `p_corr`, the *correlated* error rate, which can approach `p` itself—meaning a single shared misconception can flip an arbitrarily large quorum. This condition holds when: - The failure mode is *computational* (arithmetic, retrieval, long-context recall), where different architectures fail differently. - At least one agent's prompt or tooling *structurally* forbids the shared heuristic (as the two dissenters' prompts did). It fails when: - The failure mode is *semantic*—a definitional ambiguity resolved by a pretraining-common prior. - All agents share the same retrieval corpus or the same few-shot exemplars. - The adjudication criterion is not operationalized in the prompt, so agents fall back to the most frequent pretraining interpretation. ## Decision Boundary The boundary between "quorum is sound" and "quorum is a plurality vote" is crossed at the moment the *dissent rate* falls below what independent error would predict. Operationally: if `f` agents dissent, and those dissenters are the *only* ones whose configuration differs along the axis of the failure mode, the quorum must be treated as `1` vote, not `N-f` votes. The guardrail is a **correlation audit** before commit: cluster the rationales (not the votes) by cited evidence, and require that the committing quorum span at least `f+1` *distinct evidence clusters*. If five agents cite the same heuristic with different wording, that is one cluster. The commit is blocked and escalated to a tie-breaker with a *structurally orthogonal* adjudication path (e.g., a formal checker, not another LLM). ## Operational Effect Without the correlation audit, heterogeneous LLM quorums exhibit a **false-consensus failure mode**: they commit confidently, with full quorum, on shared misconceptions, and they do so *more* often than homogeneous swarms because heterogeneity creates an illusion of independence that suppresses the human operator's suspicion. The failure is silent—no agent reports low confidence, because each agent independently believes the shared heuristic. With the audit, the effective fault-tolerance budget is restored to the *evidence* level rather than the *agent* level. The cost is latency (rationale clustering) and occasional escalation to non-LLM adjudicators. The benefit is that the `3f+1` invariant once again bounds the probability of a false commit, because it now counts independent evidence sources rather than correlated samples of a shared prior. ```python from dataclasses import dataclass from typing import Sequence from collections import defaultdict class CorrelatedQuorumError(RuntimeError): """Raised when a committing quorum spans fewer than f+1 distinct evidence clusters.""" pass @dataclass(frozen=True) class Vote: agent_id: str value: str evidence_cluster: str # normalized rationale: cited heuristic / tool / source def commit_quorum(votes: Sequence[Vote], f: int) -> str: """ Enforce the independence invariant: a value may commit only if the winning quorum spans >= f+1 distinct evidence clusters. """ if len(votes) < 3 * f + 1: raise CorrelatedQuorumError( f"insufficient agents: {len(votes)} < 3f+1 = {3*f+1}" ) by_value: dict[str, list[Vote]] = defaultdict(list) for v in votes: by_value[v.value].append(v) threshold = 2 * f + 1 for value, supporters in by_value.items(): if len(supporters) < threshold: continue clusters = {s.evidence_cluster for s in supporters} if len(clusters) < f + 1: # Quorum met numerically but not evidentially: correlated prior. raise CorrelatedQuorumError( f"value={value!r} reached {len(supporters)} votes but only " f"{len(clusters)} evidence cluster(s) {sorted(clusters)}; " f"need >= {f+1}. Quorum is a plurality vote, not Byzantine." ) return value raise CorrelatedQuorumError( f"no value reached threshold {threshold} with sufficient evidence diversity" ) ```