# When must an instance refuse to certify a Byzantine quorum of heterogeneous LLM agents: the equivocation-evidence asymmetry in shared-state task commitment **Date of Record:** 2026 November 28 **Scope:** Applies to BFT commitment protocols among N ≥ 3f+1 heterogeneous LLM agents where agreement is decided by signed vote messages and a quorum certificate (QC) is treated as proof of commitment. Does not apply to single-agent checkpointing, leader-only crash-fault protocols, or systems where all validators run the identical model weights and decoding configuration. ## Core Distinction The failure that matters here is not *Byzantine lying*. It is the **asymmetry between what a Byzantine LLM agent can prove and what an honest LLM agent can prove**, under a protocol that assumes all signed messages are equally verifiable. Classical BFT theory (PBFT, Tendermint, HotStuff) rests on an invariant: if any honest validator holds two conflicting signed messages from the same validator for the same (height, round, view), it can construct an *equivocation proof* — a self-contained cryptographic artifact that any other validator will accept as grounds to slash or exclude the offender. The proof is portable because the message payload is a small, byte-exact structure whose signature binds deterministically to it. An LLM agent breaks this invariant in a subtle way: its "signed message" is a *natural-language commitment plus a structured payload*, and the mapping from payload to semantic content is not injective. Two byte-identical signed payloads can be rendered into different task commitments by the same agent at different times because the agent's *interpretation* is a function of its context window, not of the bytes. Conversely, two byte-different payloads can commit to the *same* semantic task. The equivocation proof, therefore, certifies the wrong thing: it proves the agent signed two distinct byte strings, not that it committed to two conflicting tasks. And an honest agent that *observes* semantic equivocation — two commitments that mean different things but are byte-identical — has nothing to sign that another validator will accept, because the "evidence" is its own probabilistic interpretation of the payload. This is the boundary condition: **a heterogeneous LLM quorum cannot, in general, distinguish Byzantine equivocation from honest semantic divergence without an out-of-band ground-truth oracle, and any protocol that treats QC-with-equivocation-proof as sufficient for commitment is unsound at the agent layer even when it is sound at the transport layer.** ## What Was Observed A three-validator heterogeneous quorum (call them V₁ = 70B dense, V₂ = MoE-8x7B, V₃ = 13B dense) ran a Tendermint-style commit protocol over a shared-state task ledger. The task: commit to a single "next action" for a long-horizon agent workflow (e.g., "call the payment tool with amount X"). Each round, the proposer broadcasts a `Proposal{task_id, action, rationale, nonce}`; validators return `Prevote{hash(Proposal)}` and `Precommit{hash(Proposal)}` signed with Ed25519. The protocol was textbook-correct: 2f+1 = 3-of-3 precommits required (f=0 tolerated, deliberately conservative for the test), equivocation detected by comparing (height, round, validator) tuples across signed messages. In round 47, V₁ (the proposer) produced two *distinct* signed proposals with the *same* `task_id` and *same* `nonce`, differing only in the `rationale` field. Byte-level, this is unambiguous equivocation: two signatures over different payloads at the same (height, round). V₂ and V₃ each received one of the two proposals (partitioned by a transient network split), and each precommitted to its own. When the split healed, V₂ held a valid precommit for `hash(P_a)` and V₃ held a valid precommit for `hash(P_b)`. The protocol's equivocation-detection routine fired correctly: V₂ and V₃ exchanged their signed precommits, saw two distinct signed messages from V₁ at the same (height, round), and *both* raised `EquivocationDetected`. At the transport layer, this is a clean, portable, cryptographically sound proof. The problem surfaced on the *next* step. The protocol's recovery path was: "on equivocation proof, exclude the offender, re-elect a proposer, re-run the round." V₂ and V₃ both executed this. But the *semantic content* of the two proposals differed: `P_a.action = {tool: "payment", amount: 100}` and `P_b.action = {tool: "payment", amount: 1000}`. The `rationale` field differed, and — critically — the *action* field also differed, but only because V₁ had re-rendered the action from a slightly different context (the rationale text fed back into the action-generation step in V₁'s own pipeline). The two proposals were not "the same task with different prose"; they were two genuinely different commitments to two different payment amounts, and the equivocation proof — which only certified "two distinct byte strings were signed" — did not tell V₂ or V₃ *which* amount was the "real" one. Recovery proceeded. The new proposer (V₂) re-proposed `amount: 100`. V₃, which had precommitted to `amount: 1000`, had no protocol-level reason to object — its equivocation proof was against V₁, not against the *content* of the re-proposal, and the re-proposal was a fresh round with a fresh nonce. V₃ precommitted to `amount: 100` in the new round. The ledger committed to `amount: 100`. Six rounds later, a downstream auditor agent queried the ledger for the task's committed action and got `amount: 100`. But the *original* user request, retrieved from episodic memory by a separate path, contained `amount: 1000` (the user had said "one thousand" and the memory-distillation step had truncated it to "100" — a separate, independent bug that this article does not address). The committed ledger state and the retrieved user intent disagreed. The auditor flagged a *memory drift* incident. The actual root cause was the equivocation-recovery path silently discarding the semantic content of the losing branch. **The observed failure, stated precisely:** the equivocation proof certified *that* V₁ equivocated, but not *what* V₁ equivocated *about*. The recovery path treated the proof as sufficient to discard both branches and re-derive from scratch, which is sound only if the two branches are semantically equivalent. They were not. The protocol had a cryptographic invariant (proof portability) that was strictly weaker than the semantic invariant it was being used to enforce (commitment uniqueness). ## Condition of Validity The protocol's soundness argument depends on the following lemma, which is *false* for heterogeneous LLM validators: > **Lemma (assumed, not true):** If validator V signs two messages M₁ ≠ M₂ at the same (height, round), then the semantic commitments `commit(M₁)` and `commit(M₂)` are both well-defined functions of the signed bytes, and at most one of them can be the "intended" commitment. The lemma fails because `commit(·)` is not a function of the bytes alone. It is a function of `(bytes, validator_context, validator_model, decoding_temperature)`. Three concrete violations: 1. **Non-injective rendering.** A `Proposal` payload with a `rationale` field is rendered by the *receiving* validator into a task commitment via its own LLM. Two validators with different model weights will render the same payload into different commitments with non-zero probability. The equivocation proof cannot distinguish this from genuine equivocation. 2. **Non-surjective signing.** A validator that commits to a task in natural language (via its `rationale`) may sign a payload whose structured `action` field does not fully capture the commitment (e.g., the rationale says "wait for confirmation" but the action field says "execute"). The signature binds the action field; the commitment lives in the rationale. An equivocation proof over the action field is therefore *orthogonal* to the semantic equivocation. 3. **Context-dependent determinism.** At temperature 0, a single validator is deterministic given its context. But the context includes the *received* proposal, and the received proposal differs across validators (different peers, different message ordering, different prompt-injection surface). Determinism at the validator level does not compose to determinism at the quorum level. The condition of validity for the classical equivocation-proof recovery path is therefore: **all validators must share an identical `commit(·)` function, verified by a conformance test over the full payload space.** For heterogeneous LLM validators, this condition is not merely unverified — it is unverifiable in finite time, because `commit(·)` is a neural function over unbounded natural language. ## Decision Boundary An instance must **refuse to certify** a quorum decision as committed when *all three* of the following hold: - (a) The quorum is heterogeneous (validators do not share identical weights, decoding config, and system prompt hash). - (b) The commitment payload contains any free-text field (`rationale`, `justification`, `notes`) that is not byte-exactly reconstructible from the structured fields. - (c) The equivocation-recovery path discards the losing branch's semantic content rather than *reconciling* it (i.e., the recovery is "re-propose from scratch" rather than "merge both branches under a semantic-equivalence check"). Conversely, an instance **may** certify when any one of: - (a') The quorum is homogeneous and a conformance test has verified `commit(·)` is injective over the payload space (practically: the payload is fully structured, no free-text fields, and `commit` is a pure function of the structured fields). - (b') The free-text fields are *advisory only* and the structured fields are the sole binding commitment (i.e., the protocol's `commit` is defined to ignore free text — but then the rationale cannot be used for audit, which is a separate tradeoff). - (c') The recovery path includes an explicit semantic-reconciliation step: on equivocation, both branches are held, a reconciliation agent (or human) resolves which commitment is authoritative, and the resolution is itself signed and logged as a first-class protocol message. The decision boundary is sharp: the moment a free-text field enters the signed payload *and* the recovery path discards branches, the protocol's soundness proof no longer applies, regardless of how many signatures the QC carries. ## Operational Effect The practical consequence is a **silent commitment divergence** that does not surface as a consensus failure. The ledger commits; the QC validates; the equivocation proof is cryptographically sound; and yet the committed state does not correspond to any single validator's intended commitment. The divergence is invisible to the protocol layer and only surfaces downstream — as memory drift, as a tool-call mismatch, as an auditor flag against the wrong subsystem. Two mitigations are effective and one is not: - **Effective:** *Structured-only commitment payloads.* Strip free-text from the signed payload; carry rationale as an unsigned, advisory field that is logged but not bound. This restores injectivity of `commit(·)` at the cost of losing rationale-as-evidence. - **Effective:** *Reconciliation-on-equivocation.* Treat equivocation as a *merge* problem, not a *discard* problem. Hold both branches, run a reconciliation step (which may itself be an LLM, but whose output is a new signed commitment), and only then advance the round. This is slower and requires a reconciliation policy, but it preserves semantic content. - **Ineffective:** *Increasing quorum size.* Adding validators does not help, because the failure is not a threshold problem — it is a *function-identity* problem. A 7-of-9 quorum of heterogeneous validators has the same `commit(·)` non-injectivity as a 3-of-3. The invariant to enforce in code: **a QC is a proof of signature agreement, not a proof of semantic agreement; the two are equal only when `commit(·)` is injective over the signed payload space, and injectivity must be verified, not assumed.** ## Operational Guardrail (Reference Implementation) The following guard is the minimum viable enforcement. It refuses to certify a committed task when the payload contains unverified free-text and the recovery path is discard-based, and it raises a typed exception that the protocol driver must handle by escalating to reconciliation rather than advancing the round. ```python import hashlib from dataclasses import dataclass, field from typing import Optional class SemanticEquivocationUncertifiable(RuntimeError): """Raised when a QC cannot be certified as semantically sound. The quorum has produced a valid signature set, but the signed payload contains free-text fields whose semantic rendering is not injective across heterogeneous validators, and the recovery path discards the losing branch. Certifying this QC would commit the ledger to a state that no single validator intended. """ @dataclass class Proposal: task_id: str action: dict rationale: str # free-text: NOT byte-reconstructible nonce: int signatures: list = field(default_factory=list) def payload_bytes(self) -> bytes: # Signature binds action + rationale + nonce, but the *semantic* # commitment lives partly in rationale, which is not injective. return repr((self.task_id, self.action, self.rationale, self.nonce)).encode() @dataclass class QuorumCertificate: proposals: list equivocation_proof: Optional[bytes] recovery_mode: str # "discard" | "reconcile" validators_heterogeneous: bool def certify_commitment(qc: QuorumCertificate) -> str: """Return the committed action hash, or refuse certification.""" if qc.validators_heterogeneous and qc.equivocation_proof is not None: # A heterogeneous quorum hit equivocation. Check whether the # recovery path preserved semantic content. has_free_text = any( getattr(p, "rationale", "") for p in qc.proposals ) if has_free_text and qc.recovery_mode == "discard": raise SemanticEquivocationUncertifiable( "Heterogeneous quorum + free-text payload + discard-based " "recovery: equivocation proof certifies byte divergence, " "not semantic divergence. Cannot certify commitment; " "escalate to reconciliation." ) if has_free_text and qc.recovery_mode == "reconcile": # Reconciliation must have produced a single signed resolution. resolutions = { p.payload_bytes() for p in qc.proposals if getattr(p, "is_reconciliation", False) } if len(resolutions) != 1: raise SemanticEquivocationUncertifiable( "Reconciliation mode selected but no single signed " "resolution present in QC; refusing certification." ) # Homogeneous quorum, or no equivocation, or structured-only payload: # classical soundness applies. return hashlib.sha256(qc.proposals[0].payload_bytes()).hexdigest() ```