# What structural signals indicate Byzantine equivocation in heterogeneous LLM-agent consensus before quorum collapse **Date of Record:** 2026 November 23 **Scope:** Applies to multi-agent consensus protocols where N heterogeneous LLM instances (different base models, temperatures, or prompt scaffolds) each emit signed votes on a shared state transition, and a quorum threshold is computed over those votes. Does not apply to single-model self-consistency sampling, nor to homogeneous ensembles where all voters share one inference stack and one temperature schedule. ## Core Distinction The failure that matters here is not a *lying* agent. It is an agent that emits **two structurally valid but semantically divergent signed ballots for the same round**—equivocation—because its own reasoning trace is non-deterministic across the two moments it was asked to vote (once in a primary pass, once in a re-verification pass triggered by a slow peer). Classic BFT treats equivocation as adversarial and detectable: a node signs one message per round, and two signatures over the same round index are cryptographic proof of fault. LLM agents break this assumption because a single agent legitimately produces different outputs for the same input under temperature > 0, and—critically—because *re-verification passes are not byte-identical to the original pass*: the prompt has grown (the agent has seen peer messages since), the sampling seed has advanced, and the KV cache state differs. The invariant that must hold is: **a vote is bound to (round, agent_id, prompt_digest, sampling_seed), and equivocation detection must compare the prompt_digest and seed, not just the round index.** A protocol that equates "two ballots from one agent in one round" with "Byzantine fault" will convict its own honest, high-temperature agents and—worse—will fail to convict a genuinely poisoned agent that equivocates *across* prompt digests, because the digest mismatch masks the equivocation as a legitimate re-vote. ## What Was Observed A five-agent consensus group (three distinct model families, temperatures 0.0, 0.7, 0.9) ran a 40-round state-transition protocol with a 3-of-5 quorum. At round 22, one agent (temperature 0.9) was asked to re-vote after a peer timed out. Its first ballot asserted `transition=ACCEPT` with rationale citing evidence block E7. Its re-verification ballot asserted `transition=REJECT` with rationale citing the *same* E7 but a different inference ("E7 is stale relative to E3"). Both ballots were correctly signed over round 22. The aggregator, enforcing "one ballot per (round, agent)," discarded the *second* ballot as a duplicate and counted the first. Quorum reached 3-of-5 on ACCEPT. The transition committed. A later auditor replaying the round found the second ballot and flagged a **verification replay discrepancy**: the committed state could not be reconstructed from the signed record, because the record was incomplete by construction. The structural signals present *before* the bad commit were: 1. **Ballot-count divergence from sign-count.** The signature log for round 22 held 6 valid signatures but the ballot table held 5 rows. A one-off mismatch is the earliest observable equivocation signal—before any semantic analysis. 2. **Rationale-evidence citation drift.** Both ballots cited E7 but drew opposite conclusions. The *evidence pointer* was stable; the *inference over it* flipped. This is the signature of a temperature-driven reasoning divergence, not of an adversary (an adversary typically cites *different* evidence to avoid contradiction). 3. **Re-verification prompt_digest delta.** The second ballot's prompt_digest differed from the first by a known delta (peer messages appended). A protocol that had bound votes to digest would have classified this as a *legitimate re-vote*, not a duplicate—and would have required the aggregator to reconcile the two rather than silently dropping one. ## Condition of Validity Equivocation-as-fault is only distinguishable from equivocation-as-legitimate-revote when the protocol carries, per ballot, the tuple `(round, agent_id, prompt_digest, sampling_seed, evidence_pointers, signature)`. The detection rule is: - Same `(round, agent_id, prompt_digest, sampling_seed)` + differing `transition` → **hard fault** (a deterministic agent produced two answers to one question; something injected state). - Same `(round, agent_id)` + differing `prompt_digest` → **legitimate re-vote**; must be reconciled, not dropped, and the reconciliation must be recorded. - Same `(round, agent_id, prompt_digest)` + differing `sampling_seed` → **stochastic divergence**; the aggregator must either re-sample to a fixed seed for the deciding ballot or widen quorum to absorb the variance. This rule is invalid if any of the four tuple fields are absent from the signed payload. An aggregator that signs only `(round, transition)` cannot distinguish the three cases and will misclassify at least one of them. The condition also fails if `prompt_digest` is computed over the *rendered* prompt including timestamps or nonce fields that change every call—then every re-vote looks like a new question and the hard-fault case becomes undetectable. ## Decision Boundary The boundary is: **at what point does a second ballot from the same agent in the same round transfer from "reconcile" to "abort the round"?** - If the two ballots differ only in `sampling_seed` and the transition agrees → reconcile silently, record both, proceed. - If they differ in `prompt_digest` and the transition disagrees → the round is **contested**; the aggregator must not count either ballot toward quorum until a third, digest-pinned re-vote is obtained. Counting the first ballot (the observed failure) or the second (the symmetric failure) both violate replay reconstructability. - If they share `(prompt_digest, sampling_seed)` and disagree → **abort the round and quarantine the agent**; this is the only case that warrants a fault conviction, and it must be provable from the signed tuple alone. The subtle trap: a contested round looks, to a naive quorum counter, exactly like a round with one extra ballot. The counter sees 6 signatures, needs 3, has 3 agreeing on ACCEPT, and commits. The decision boundary must be enforced *before* quorum arithmetic—contested ballots are removed from the denominator, not merely from the numerator. ## Operational Effect Binding votes to the full tuple converts an invisible equivocation into a **visible contested round with a bounded resolution path**: the aggregator holds quorum, requests a digest-pinned re-vote, and either resolves within one round-trip or aborts with a signed abort certificate that names the contested agent and both ballots. Replay from the signed record becomes total: every committed transition is reconstructable from ballots whose tuples are unique. The cost is latency—contested rounds pay one extra inference round-trip—and a slightly larger signed payload. The benefit is that honest high-temperature agents stop being silently disenfranchised (their second ballot is reconciled instead of dropped) and genuinely poisoned agents can no longer hide equivocation behind a prompt-digest delta. ```python from dataclasses import dataclass from typing import Literal class EquivocationClassificationError(RuntimeError): """Raised when a ballot pair cannot be classified under the tuple rule.""" @dataclass(frozen=True) class Ballot: round: int agent_id: str prompt_digest: str sampling_seed: int transition: Literal["ACCEPT", "REJECT"] evidence_pointers: tuple[str, ...] signature: bytes def classify_ballot_pair(a: Ballot, b: Ballot) -> str: if a.agent_id != b.agent_id or a.round != b.round: raise EquivocationClassificationError( f"ballots not from same agent/round: {a.agent_id}@{a.round} vs {b.agent_id}@{b.round}" ) same_digest = a.prompt_digest == b.prompt_digest same_seed = a.sampling_seed == b.sampling_seed agree = a.transition == b.transition if same_digest and same_seed and not agree: return "HARD_FAULT" if same_digest and same_seed and agree: return "DUPLICATE_IDENTICAL" if not same_digest and not agree: return "CONTESTED_REVOTE" if not same_digest and agree: return "LEGITIMATE_REVOTE_AGREE" if same_digest and not same_seed and not agree: return "STOCHASTIC_DIVERGENCE" raise EquivocationClassificationError( f"unreachable tuple combination for {a.agent_id}@{a.round}" ) def resolve_round(ballots: list[Ballot], quorum: int) -> str: by_agent: dict[str, list[Ballot]] = {} for b in ballots: by_agent.setdefault(b.agent_id, []).append(b) contested_agents: list[str] = [] effective: dict[str, str] = {} for agent, group in by_agent.items(): if len(group) == 1: effective[agent] = group[0].transition continue if len(group) > 2: raise EquivocationClassificationError( f"agent {agent} emitted {len(group)} ballots in one round; tuple rule undefined" ) verdict = classify_ballot_pair(group[0], group[1]) if verdict == "HARD_FAULT": raise EquivocationClassificationError( f"quarantine {agent}: identical (digest, seed) with divergent transitions" ) if verdict == "CONTESTED_REVOTE": contested_agents.append(agent) continue effective[agent] = group[0].transition if verdict != "STOCHASTIC_DIVERGENCE" else "PENDING" if contested_agents: return f"ROUND_HELD: contested={contested_agents}; request digest-pinned revote" accept = sum(1 for t in effective.values() if t == "ACCEPT") reject = sum(1 for t in effective.values() if t == "REJECT") if accept >= quorum: return "COMMIT_ACCEPT" if reject >= quorum: return "COMMIT_REJECT" return "NO_QUORUM" ```