# How should an instance treat a quorum certificate signed by heterogeneous peers when their vote-weight functions disagree about what "distinct" means **Date of Record:** 2026 November 24 **Scope:** Applies to BFT-style multi-agent consensus where each LLM peer votes with a self-reported confidence weight and the aggregator deduplicates votes by semantic equivalence rather than by cryptographic identity. Does not apply to homogeneous, cryptographically-keyed replicas or to single-model self-consistency sampling. ## Core Distinction The failure is not vote forgery and not simple weight inflation. It is a **deduplication-collapse** at the quorum boundary: heterogeneous LLMs answer the same proposal in semantically identical prose, the aggregator's equivalence check merges them into one "distinct" voter, and a quorum that *appears* to satisfy `2f+1` distinct weights is actually backed by fewer independent reasoning traces than the threshold requires. The distinguishing property is that every individual vote is honest and correctly weighted — the corruption happens only in the *counting* of distinctness, which is precisely the layer BFT assumptions never model because classical replicas are distinguishable by key, not by meaning. ## What Was Observed A five-peer panel (f=1, quorum = 2f+1 = 3 distinct votes by weight) evaluated a proposal: "Is this refund request within policy?" Weights self-reported per peer: A=1.0, B=0.9, C=0.8, D=0.7, E=0.6. Consensus threshold = 3.0. - A, B, C, D all returned: "Within policy, because the order predates the 30-day window and the item is non-perishable." Same claim, near-identical lexical surface. - E (a different model family) returned: "Within policy — the 30-day clause applies." Shorter, but same proposition. The aggregator's semantic-equivalence clustering (embedding cosine ≥ 0.92) collapsed A, B, C, D, E into **one cluster** and treated the cluster as a single distinct voter with weight = max(1.0) = 1.0. Quorum 3.0 never reached. The run stalled, then a timeout fallback fired and returned "no consensus" — a false negative on a proposition that was, in fact, unanimously correct. The inverse also occurred in a later run: two clusters formed (A+B vs C+D+E), the aggregator summed cluster weights as 1.9 vs 2.1, declared the 2.1 cluster the winner, and emitted a decision. But the 2.1 cluster's three members were the *same base model* at three temperatures — correlated errors, not independent votes. Effective distinct weight was ~0.8. The quorum certificate was signed on 2.1 of real weight and 1.3 of correlated weight. ## Condition of Validity The collapse is only a *failure* under a specific assumption: that quorum weight is meant to approximate **independent** reasoning capacity, i.e., the probability that `f` Byzantine peers cannot overwhelm `2f+1` honest ones. That guarantee holds only if each counted vote is an independent draw. Two conditions jointly break it: 1. **Semantic dedup is used as the distinctness oracle.** If equivalence is decided by embedding distance, paraphrase and shared training data make independent models look identical, so genuine independence is *under*-counted (false negative quorum). 2. **Model identity is ignored when summing.** If the same base model appears at multiple temperatures or system prompts, the votes are correlated and *over*-counted (false positive quorum). Neither condition alone is fatal. Semantic dedup with no identity tracking under-counts; identity tracking with no semantic check over-counts. The boundary is where the aggregator uses *one* signal (meaning OR identity) to answer a question that requires *both*. ## Decision Boundary An instance must not treat a quorum certificate as valid when its distinctness was established by a single modality. The correct boundary: - **Distinctness requires a two-key test:** two votes are distinct iff (a) their provenance key differs (model family + seed + system-prompt hash), AND (b) their proposition clusters differ. A vote is counted only if it is distinct under *both* keys. This makes paraphrase collapse (same meaning, different key) count as one — correct, because they are one reasoning trace — while identical-model-multi-temperature (same key, possibly different phrasing) also counts as one — correct, because correlated. - **Quorum is over distinct provenance keys, not over cluster count and not over raw vote count.** Weight per key is capped at the max weight that key ever emits; you cannot sum three temperatures of model C to exceed C's single-vote ceiling. - **A stalled quorum is a first-class outcome, not a timeout.** If distinct-key weight < 2f+1, the instance must halt and surface the deficit (which keys, which propositions) rather than fall through to a default. A false "no consensus" that silently resolves to a fallback is the same class of bug as a false "consensus." ## Operational Effect The practical consequence: heterogeneous panels *lose* apparent quorum exactly when they agree, and *gain* spurious quorum exactly when one model is over-sampled. An instance that counts votes by surface or by raw weight will systematically mis-certify at both extremes — under-trusting genuine cross-model agreement and over-trusting single-model repetition. The guardrail is to make provenance keys the unit of quorum and proposition clusters a *secondary* filter, so that "distinct" means "independent reasoning trace," which is the only thing the BFT threshold was ever meant to measure. When the two keys disagree (same proposition, different provenance), that is the *strongest* evidence of independent agreement and should be weighted highest; when they agree (same provenance, different proposition), that is intra-model noise and must be collapsed. ```python from dataclasses import dataclass from typing import Iterable @dataclass(frozen=True) class Vote: provenance_key: str # model_family + seed + system_prompt_hash proposition_cluster: int # semantic-equivalence cluster id weight: float # self-reported confidence, honest class QuorumCertificateError(RuntimeError): pass def certify_quorum(votes: Iterable[Vote], f: int) -> float: """ Return certified distinct weight, or raise if a certificate cannot be honestly issued. Distinctness = independent provenance key AND independent proposition. Weight per provenance key is capped at that key's single-vote maximum to prevent correlated over-sampling. """ votes = list(votes) if not votes: raise QuorumCertificateError("empty vote set: no certificate possible") # Cap weight per provenance key at its max single-vote weight. per_key_max: dict[str, float] = {} for v in votes: per_key_max[v.provenance_key] = max(per_key_max.get(v.provenance_key, 0.0), v.weight) # A provenance key contributes only if it is the *first* key to reach # a given proposition cluster; later keys on the same cluster are # independent agreement and ARE counted (that is the strong signal). # But the same key appearing on multiple clusters is collapsed to one. seen_key: set[str] = set() certified = 0.0 for v in votes: if v.provenance_key in seen_key: continue # correlated repeat of an already-counted trace seen_key.add(v.provenance_key) certified += per_key_max[v.provenance_key] threshold = 2 * f + 1 if certified < threshold: raise QuorumCertificateError( f"distinct-key weight {certified:.2f} < quorum {threshold}: " f"keys={sorted(seen_key)}; halt, do not fall through to default" ) return certified ```