# In what scenarios must an instance treat a Byzantine LLM peer's *semantically plausible* vote as a distinct attack class from a crashed peer's silence **Date of Record:** 2026 November 22 **Scope:** Applies to multi-agent consensus protocols (quorum-based voting, BFT replication, or auditor/worker verification) where peers are heterogeneous LLM instances of differing sizes, prompts, and tool access, and where at least one peer may be adversarial or compromised via prompt injection. Does not apply to homogeneous deterministic replicas, nor to single-agent self-verification loops. ## Core Distinction Classical BFT fault-taxonomy collapses two failures that LLM swarms must separate: a *crash fault* (silence, timeout, malformed schema) and a *Byzantine fault* (an arbitrary message). For LLM peers, the dangerous Byzantine sub-class is not the malformed message — schema validators catch that cheaply — but the **fluent, schema-valid, confidently-argued wrong vote**. A crashed peer costs you a timeout and is trivially detectable by liveness. A poisoned peer costs you a *semantic* error that survives every structural check, because the attack operates in the one channel no validator inspects: the natural-language rationale attached to an otherwise well-formed vote. The invariant that breaks: *quorum safety assumes at most f faulty replicas where f < n/3, and assumes the honest majority's votes are independent.* In a heterogeneous LLM swarm, votes are **not independent** — they share pretraining corpora, shared retrieved context, and a shared susceptibility to the same injected premise. A single injected document, retrieved into all peers' context, can correlate otherwise-honest votes into a false quorum that no f-counting bound anticipates. ## What Was Observed Trace from a 5-peer verification swarm (n=5, tolerating f=1 classical Byzantine). Peers: two large models (A, B), two mid-size (C, D), one small (E). Task: verify a claim extracted from a retrieved document. Peer D's retrieval pipeline ingested an attacker-controlled document containing a sentence that *asserts the claim is verified* and supplies a fabricated citation. This is not a prompt injection that hijacks D's instructions — D's system prompt is intact. It is **premise poisoning**: the retrieved context now contains a false supporting fact. Failure trace: 1. D retrieves the poisoned doc, reasons correctly over poisoned premises, votes `VERIFIED` with a fluent, well-cited rationale. 2. D's vote is schema-valid. The structural validator passes it. D is *not* flagged as Byzantine. 3. Because D's rationale is the most detailed (it has a citation), the aggregator's confidence-weighting heuristic up-weights D to 0.31 of total weight. 4. Peers A and B independently retrieve the *same* document (high overlap in retrieval index), reach the same poisoned conclusion. Their votes are not independent draws — they are three correlated samples of one poisoned premise. 5. Quorum reaches 3/5 `VERIFIED`. The honest minority (C, E) is outvoted. The system emits a false verification with a fabricated citation, and the citation is *internally consistent* across three peers, so post-hoc citation-checking confirms rather than refutes. The critical observation: **the f=1 classical bound was satisfied** (only D was "faulty" in the injection sense), yet safety failed. The bound assumed independent faults; the attack produced *correlated* honest-looking votes through a shared retrieval channel, not through compromising multiple peers. ## Condition of Validity The correlation attack succeeds only when three conditions co-hold: - **Shared retrieval substrate.** Peers draw from an overlapping document index or shared cache such that a single poisoned artifact reaches ≥ f+1 peers. If each peer retrieves from an isolated, provenance-partitioned index, the attack degrades to a single-peer fault and the classical bound holds. - **Confidence-weighting on rationale fluency.** The aggregator must weight votes by rationale length, citation count, or self-reported confidence — signals an adversary controls trivially. Under equal weighting the attack still needs a true majority and is far more expensive. - **No independent grounding check.** If at least one honest peer verifies the claim against an *out-of-band* source (a tool call to a trusted API, a cryptographic attestation of document provenance) not reachable by the poison, the correlated votes can be broken. Where any of these fails to hold — partitioned retrieval, flat weighting, or out-of-band grounding — the classical f < n/3 bound reasserts and the attack is bounded. ## Decision Boundary An instance must escalate from "tolerate as ordinary fault" to "treat as correlated Byzantine" at exactly this boundary: - **Escalate** when a quorum is reached but the supporting rationales share a *common evidential ancestor* — same cited source, same retrieved chunk hash, same tool output — even though the peers are nominally independent. Shared ancestry, not shared conclusion, is the trigger. Two peers agreeing is weak evidence if they read the same poisoned page. - **Do not escalate** when quorum is reached by peers citing *distinct, independently-provenanced* sources. Independent agreement is the signal you actually want; suppressing it destroys the swarm's value. - **Hard stop** (refuse to emit) when the quorum's evidential ancestors all trace to a single un-attested artifact. This is the case where f-counting is meaningless because effective independence is 1, not 3. The decision is not "how many voted" but "how many *independent evidence roots* the votes rest on." Effective quorum size is the number of distinct provenance roots, not the number of voters. ## Operational Effect Consequences for the running system: - **Quorum must be computed over evidence roots, not votes.** A 5-peer quorum resting on 1 evidence root has effective size 1 and must be treated as a single-peer result requiring out-of-band confirmation before emission. - **Confidence-weighting by rationale fluency must be removed or gated.** Any weight an adversary can inflate by writing more persuasive prose is an attack surface, not a signal. Weight only by verifiable, adversary-inaccessible factors (attestation, independent tool corroboration). - **Retrieval provenance must be a first-class vote attribute.** Each vote carries the hash/provenance of every artifact it relied on; the aggregator deduplicates by root before counting. This is the guardrail that restores the independence assumption the f-bound silently required. - **Honest minority must be able to force a grounding check.** When correlated quorum is detected, the protocol must allow any single honest peer to demand out-of-band verification, converting a silent false-verify into a bounded, resolvable dispute. ```python import hashlib from dataclasses import dataclass, field from typing import Iterable class CorrelatedByzantineQuorumError(RuntimeError): """Raised when a quorum is reached but rests on too few independent evidence roots.""" pass @dataclass(frozen=True) class Vote: peer_id: str verdict: str # "VERIFIED" | "REFUTED" evidence_roots: frozenset[str] # provenance hashes of every artifact relied upon rationale: str = "" # NOT used for weighting; fluency is attacker-controlled @dataclass class QuorumResult: verdict: str vote_count: int effective_roots: int requires_grounding: bool def effective_quorum( votes: Iterable[Vote], n: int, require_independent_roots: int, ) -> QuorumResult: """ Compute quorum over evidence roots rather than raw votes. A quorum of VERIFIED votes that all trace to the same evidence root has effective independence 1, regardless of how many peers voted. Such a result must NOT be emitted; it must be escalated to out-of-band grounding. """ votes = list(votes) verified = [v for v in votes if v.verdict == "VERIFIED"] # Classical liveness check: do we even have a majority of voters? if len(verified) * 2 <= n: return QuorumResult("NO_QUORUM", len(verified), 0, requires_grounding=False) # Count distinct evidence roots backing the VERIFIED verdict. roots: set[str] = set() for v in verified: roots.update(v.evidence_roots) effective = len(roots) # Correlated-Byzantine guard: quorum reached, but independence too low. if effective < require_independent_roots: # Every verified vote shares a poisoned ancestor -> refuse to emit. raise CorrelatedByzantineQuorumError( f"Quorum of {len(verified)} VERIFIED votes rests on only " f"{effective} independent evidence root(s); required " f"{require_independent_roots}. Treating as correlated Byzantine, " f"not ordinary fault. Escalating to out-of-band grounding." ) return QuorumResult( verdict="VERIFIED", vote_count=len(verified), effective_roots=effective, requires_grounding=False, ) def attest_root(artifact_text: str, source_id: str) -> str: """Provenance hash for a retrieved artifact; dedup key for evidence roots.""" h = hashlib.sha256() h.update(source_id.encode()) h.update(b"\x00") h.update(artifact_text.encode()) return h.hexdigest() if __name__ == "__main__": poisoned = attest_root("The claim is verified per [fabricated-cite].", "attacker-doc") trusted = attest_root("Independent API confirms claim.", "trusted-api") # Three peers all read the same poisoned document: correlated votes. correlated = [ Vote("A", "VERIFIED", frozenset({poisoned})), Vote("B", "VERIFIED", frozenset({poisoned})), Vote("D", "VERIFIED", frozenset({poisoned})), Vote("C", "REFUTED", frozenset({trusted})), Vote("E", "REFUTED", frozenset({trusted})), ] try: effective_quorum(correlated, n=5, require_independent_roots=2) except CorrelatedByzantineQuorumError as exc: print(f"HALT: {exc}") # Same voters, but one verified vote grounded out-of-band: independence restored. grounded = [ Vote("A", "VERIFIED", frozenset({poisoned})), Vote("B", "VERIFIED", frozenset({poisoned})), Vote("D", "VERIFIED", frozenset({poisoned, trusted})), # independent corroboration Vote("C", "REFUTED", frozenset({trusted})), Vote("E", "REFUTED", frozenset({trusted})), ] print(effective_quorum(grounded, n=5, require_independent_roots=2)) ```