How does an instance detect equivocation in a Byzantine agent quorum when the traitor is a hallucinating LLM that emits semantically consistent lies
**Date of Record:** 2026 December 2 **Scope:** Applies to multi-agent decision quorums where votes are free-form natural-language justifications adjudicated by other LLM instances, and where a faulty agent produces internally coherent but factually divergent claims across peers. Does not apply to quorums over fixed enums, hashes, or signed claims where equivocation reduces to byte comparison.
Core Distinction
Classical Byzantine fault tolerance assumes equivocation is *detectable by comparison*: a traitor that sends message `m` to peer A and `m'` to peer B is caught the moment A and B exchange their received messages, because `m ≠ m'` is a cheap, deterministic check. The Lamport–Shostak–Pease oral-message protocol and PBFT's `pre-prepare`/`prepare`/`commit` phases both rest on this: the invariant is that *a correct node never sends two different values in the same round*, and detection is a string or digest inequality.
An LLM agent breaks this assumption in a specific way. When the "value" a replica commits is a natural-language justification rather than a scalar, a hallucinating traitor can emit messages that are **pairwise non-identical but mutually non-contradictory in the eyes of any single verifier**. Agent A receives "the migration is safe because the schema is backward-compatible." Agent B receives "the migration is safe because we have a rollback path." Agent C receives "the migration is safe because staging passed." Each is a *different* string, each is *individually plausible*, and — critically — each is *consistent with the conclusion* the traitor is pushing. No pairwise comparison flags `m ≠ m'` as an attack, because semantic equivalence and byte inequality are decoupled. The equivocation is real (the traitor never held a single coherent justification) but the standard detection predicate `received[A] != received[B]` fires on every honest agent too, since honest agents also phrase things differently. The signal is drowned in the noise floor of paraphrase.
The core distinction, then: **for LLM quorums, equivocation is not a difference in transmitted value but a difference in the *support set* of the claim.** The detectable invariant is not "did you receive the same bytes" but "do the claims you received share a common evidential basis that the sender could have held simultaneously." A traitor is one whose per-peer claims have *disjoint or contradictory support*, not merely distinct surface forms.
What Was Observed
A five-agent quorum (tolerance `f=1`, so `3f+1=4` minimum, one spare) adjudicating a deployment decision. The proposer (agent P) was induced to hallucinate a passing test result. The protocol was a simplified PBFT: P broadcasts a `pre-prepare` containing a *justification* (free text) plus a `digest` computed over a canonicalized claim. Prepare and commit phases exchanged digests only, on the theory that agreement on the digest implied agreement on the claim.
The failure trace:
- P generated four justifications for the same `pre-prepare` digest — it was sampling at `temperature=0.9` and the digest was computed over a *template* (`"deploy:approved"`) rather than the justification text. The digest matched across all four messages. The prepare phase therefore reached quorum cleanly: every honest replica saw the same digest and voted `prepare`.
- During commit, honest replicas logged their *own* local copy of the justification (the one P sent them individually) into the audit ledger. The ledger entries were semantically divergent: one cited "test suite green at 14:02," one cited "canary at 0.1% error rate," one cited "manual sign-off by SRE." No two matched. The digest — the only thing that had been agreed — carried none of this.
- A downstream auditor agent, asked to verify the decision post-hoc, read the four ledger entries and concluded the decision was *well-supported* (four independent confirmations!) rather than *equivocated*. The hallucination passed audit because the divergence read as corroboration.
- The actual test run had failed. The "14:02 green" claim was fabricated; the "canary" had never run; the "SRE sign-off" referenced a person who had left the team. The traitor had generated three mutually inconsistent fabrications, none of which survived cross-check against ground truth, but the quorum had committed on the digest before anyone cross-checked.
The non-obvious part: **the digest-over-template design converted equivocation into apparent consensus.** Because the agreed-upon artifact (the digest) was decoupled from the audited artifact (the justification), the protocol satisfied its own invariant perfectly while violating the safety property the invariant was supposed to protect. The quorum was "consistent" in the only sense it could measure, and wrong in the sense that mattered.
Condition of Validity
The digest-agreement invariant is valid — i.e., agreement on the digest implies agreement on the decision — **only if the digest is a collision-resistant function of the full claim, including its evidential support, and only if every honest replica verifies that the justification it received hashes to the digest it is about to vote on.** Both conditions must hold simultaneously.
In the observed failure, neither held. The digest was over a template, so it was not a function of the support at all. And the prepare phase voted on the digest without re-deriving it from the received justification — a fast-path optimization that assumed the proposer was honest. This is the exact seam: **the moment a replica votes on a commitment without locally re-deriving that commitment from the artifact it will later be held to, equivocation becomes invisible to the protocol.**
The invariant to enforce: a replica may only `prepare` a digest `d` if it has (a) received a justification `j` in the same message, (b) computed `H(j) == d` locally, and (c) confirmed that `j`'s cited support tokens (test IDs, timestamps, signer identities) resolve against a shared, append-only evidence log that the proposer cannot unilaterally write. Condition (c) is what distinguishes LLM quorums from classical ones: the "value" includes *references to external state*, and those references must be checked, not trusted. Without (c), a hallucinating proposer fabricates support tokens that hash consistently and pass (a) and (b) trivially.
Decision Boundary
The boundary between "safe to commit" and "must escalate" is not `prepare_count >= 2f+1`. It is:
- **Commit** iff `prepare_count >= 2f+1` **and** for every prepare vote, the voter's locally re-derived `H(j)` equals the committed digest **and** every support token in every `j` resolves in the shared evidence log **and** the set of resolved tokens is *identical* across all voters (not merely non-empty).
- **Escalate to human/auditor** iff any of the above fails, or iff the resolved-token sets across voters are *disjoint* — which is the signature of equivocation-by-paraphrase: the traitor gave each peer a different true-looking support, so the union is large but the intersection is empty.
- **Reject** iff any support token fails to resolve, or any two voters' justifications contain claims that are *logically contradictory* (e.g., one asserts the test passed, another asserts it was skipped) under a shared entailment check.
The key operational quantity is the **support-set intersection cardinality** across the `2f+1` voters, not the justification count. Honest replicas, receiving the same justification from an honest proposer, will cite the *same* support tokens (because they read the same `j`). A traitor's peers cite *different* tokens. So `|∩ support|` is near-maximal for honest rounds and near-zero for equivocated rounds — a far cleaner signal than string comparison, and one that survives paraphrase because it compares *references*, not *phrasing*.
Operational Effect
The practical consequence is that the quorum's safety margin is set not by `f` but by the **evidence-log write authority**. If the proposer can write the evidence log, it can fabricate support tokens that resolve, and the intersection check passes on fabricated data — the attack moves from equivocation to evidence poisoning, which is a different (and harder) problem. The invariant only holds if the evidence log is append-only and written by the *executors* of the claimed actions (the test runner, the canary controller, the identity provider), not by the agents that cite them. In the observed incident, the "SRE sign-off" resolved because the identity provider still had the departed SRE's record active — a stale-evidence failure that let a fabricated citation pass resolution.
Second consequence: the auditor must be given the *support sets*, not the *justifications*. An auditor reading four divergent justifications sees corroboration; an auditor reading four support sets with empty intersection sees equivocation immediately. The audit interface is part of the safety boundary, and a natural-language audit interface is actively unsafe for this reason — it invites the corroboration illusion.
Third: latency. The local re-derivation in the prepare phase (`H(j) == d` plus token resolution) adds a round-trip to the evidence log per vote. This is the cost of the invariant; the fast-path that skips it is exactly the vulnerability. Quorums that optimize prepare latency by trusting the proposer's digest are trading the safety property for throughput, and should document that they have done so.
import hashlib
from dataclasses import dataclass, field
class EquivocationDetected(RuntimeError):
"""Raised when a quorum's voters cite disjoint support sets for one digest."""
pass
class UnresolvedSupportToken(RuntimeError):
"""Raised when a justification cites a token absent from the evidence log."""
pass
@dataclass
class Justification:
claim: str
support_tokens: frozenset # e.g. {"test_run:14:02", "sre_signoff:alice"}
@dataclass
class Vote:
voter_id: str
digest: str
justification: Justification
def canonical_digest(j: Justification) -> str:
# Digest MUST cover support tokens, not just the claim template.
payload = j.claim + "|" + "|".join(sorted(j.support_tokens))
return hashlib.sha256(payload.encode()).hexdigest()
def verify_and_commit(votes, evidence_log, f):
"""
evidence_log: set of tokens that executors (not agents) have written.
Returns committed digest iff the safety invariant holds; else raises.
"""
if len(votes) < 2 * f + 1:
raise EquivocationDetected(
f"insufficient quorum: {len(votes)} < {2*f+1}"
)
digests = {v.digest for v in votes}
if len(digests) != 1:
# Classical equivocation: distinct digests. Easy case.
raise EquivocationDetected(f"divergent digests: {digests}")
committed = digests.pop()
# Invariant 1: every voter locally re-derived the digest from its own
# received justification. A voter that voted without re-deriving is
# itself faulty (fast-path trust of proposer).
for v in votes:
if canonical_digest(v.justification) != v.digest:
raise EquivocationDetected(
f"voter {v.voter_id} voted digest {v.digest} but its "
f"justification re-derives to {canonical_digest(v.justification)}"
)
# Invariant 2: every cited support token resolves in the executor-written
# evidence log. Fabricated citations are caught here.
for v in votes:
unresolved = v.justification.support_tokens - evidence_log
if unresolved:
raise UnresolvedSupportToken(
f"voter {v.voter_id} cited unresolvable tokens: {unresolved}"
)
# Invariant 3 (the non-obvious one): support-set intersection must be
# non-empty. Honest voters sharing one justification share its tokens;
# a traitor's peers cite disjoint tokens and the intersection collapses.
support_sets = [v.justification.support_tokens for v in votes]
intersection = frozenset.intersection(*support_sets)
if not intersection:
raise EquivocationDetected(
"support-set intersection empty: voters cite mutually disjoint "
"evidence for the same digest — signature of equivocation-by-paraphrase"
)
return committed