Exchangeable Debate: Lifted Aggregation of Agent Verdicts for Relational Hallucination

Language models often get the individual facts right but the relations between them wrong. A model can name the correct two parties in a contract and then say the buyer owes the seller when the reverse is true. It can report three termination clauses when there are two. Current fact-checking pipelines judge each claim separately: search for evidence, ask one or more model "judges," take a verdict. They never ask whether the set of verdicts is jointly possible. This proposal treats hallucination detection as probabilistic inference over a small first-order theory of the document. The theory is a handful of logical rules with weights, such as "each payment obligation has exactly one obligor" or "an obligation between two parties is not symmetric." The evidence is the vote counts of many cheap, independently sampled judges assigned to a few fixed roles. The output is a calibrated probability that each extracted claim is true, and claims that contradict each other compete for probability instead of being accepted side by side.

The link to lifted inference comes from a design choice. Lifted inference is a family of algorithms that answer probabilistic queries over relational models without expanding every rule into all its individual cases, and it works by treating interchangeable objects as one group. We build the debate so that its transcript is symmetric by construction. Judges within a role never talk to each other, so they are exchangeable, and their output reduces to a count per claim. Claims with the same type and the same count profile become interchangeable. This removes a known conflict between the two fields. Debate needs asymmetric roles to avoid lazy agreement, while lifting needs symmetry. We keep the asymmetry across roles and the symmetry within them, and we test whether the resulting inference is both more accurate than per-claim voting and cheap enough to run once over a whole corpus.

Core Claim

Our claim has two parts, and they carry different weight. The first part, about accuracy, is the main one. Combining exchangeable judge verdicts jointly under a few hand-written relational rules catches role-swap and count hallucinations that per-claim aggregation misses, and it gives better-calibrated claim probabilities. The second part, about computation, is secondary. Because each role contributes only a vote count, the number of distinct evidence patterns per claim type is at most $(K+1)^R$ for $K$ judges per role and $R$ roles, however many claims a document has. This keeps symmetry-breaking bounded, so exact or approximate lifted inference stays usable where grounding every rule would blow up.

We state the second part cautiously because the theory in the file constrains it. Conditioning in First-Order Knowledge Compilation and Lifted Probabilistic Inference shows that conditioning a compiled first-order model on evidence about unary predicates takes polynomial time. The same paper shows that conditioning on binary relations is #P-hard, meaning intractable in general. Our claims are mostly binary, such as Obligates(p, q). Exactness is therefore guaranteed only when rules and evidence fall in the unary-tractable regime. Otherwise we rely on approximate lifting. If, at the document sizes in current benchmarks, fully grounded inference turns out to be fast enough, the contribution reduces to constraint-aware aggregation of exchangeable debate, and lifting becomes a scaling result. The experiments are designed to tell us which case holds.

Model

Each document yields a set of extracted claims $c$, each mapped to a relational atom over the document's entities: parties, clauses, amounts and dates. The latent variables are the truth values of these atoms. A small weighted theory $T$ expresses domain rules. We use rules inside the two-variable fragment ($FO^2$, logic whose formulas mention at most two variables at a time). For this fragment, On the Completeness of First-Order Knowledge Compilation for Lifted Probabilistic Inference proves that inference runs in time polynomial in the number of entities, using domain recursion (peeling entities off one at a time) even for symmetric binary relations. Transitive rules such as date ordering need three variables, so we exclude them as an open problem. Cardinality claims such as "three termination clauses" are handled with the counting formulas of Lifted Probabilistic Inference with Counting Formulas, which reason about how many objects satisfy a relation rather than which ones do.

The evidence is $n_{c}^{r}$, the number of the $K$ judges in role $r$ who reject claim $c$. With world $x$ (an assignment of truth values to all atoms), the joint model is

$$ P(x \mid n) \propto \exp\Big(\sum_{f \in T} w_f\, N_f(x)\Big) \prod_{c} \prod_{r} \mathrm{Bin}\big(n_c^{r} \mid K,\ \epsilon_{r,\tau(c)}(x_c)\big). $$

Here $w_f$ is the weight of rule $f$. $N_f(x)$ is the number of true instances of rule $f$ in world $x$. $x_c$ is the truth value of claim $c$'s atom, and $\tau(c)$ is the claim's type: numeric, temporal, obligation or factual. $\epsilon_{r,\tau}(\cdot)$ is the probability that a judge in role $r$ rejects a claim of type $\tau$ given its truth value.

Making judge reliability depend on claim type is motivated by LegalHalluLens: Typed Hallucination Failure Modes and Calibrated Multi-Agent Debate Mitigation. That paper finds a roughly 38–40 point gap in hallucination rates between obligation/numeric claims and temporal claims across four models. It also finds that models lean in different directions, some toward omission and some toward invention, which it measures with a "Risk Direction Index."

The binomial term is valid only because the $K$ judges in a role share a prompt, never see each other's outputs, and are sampled independently. The reliabilities $\epsilon$ and weights $w$ are fit by expectation-maximization on a held-out split. Expectation-maximization alternates between inferring the hidden claim truths and re-estimating these parameters.

Research Program

The work has four parts.

The first part builds the exchangeable debate protocol. The roles follow the polarized designs that the file shows are needed to avoid easy false consensus. From Towards Detecting LLMs Hallucination via Markov Chain-based Multi-agent Debate Framework we take a Skeptic and a Proponent. From LegalHalluLens we take the idea of a gated verifier, which makes adding unsupported assertions harder than removing them. We depart from both in one way. Those systems let agents respond to one another and settle the outcome with a leader or arbiter. We allow information to flow only across roles: Skeptics see the Proponents' arguments, never other Skeptics' outputs. No agent issues the final verdict. The probabilistic model does.

The second part writes small $FO^2$ theories for contracts and for multi-hop factual QA. For contracts we write roughly ten rules, mainly role antisymmetry, single-obligor constraints and clause-count consistency. For QA we write functional relations such as "born in exactly one place." Rule authoring is manual and the rules are reported in full. A later step, not in scope here, could have a model propose rules.

The third part implements inference in three ways. The first is exact lifted compilation with unary conditioning, using the compile-once, query-many approach. The second is approximate lifted belief propagation with Early Stopping and Noise-Tolerant Hypercubes from Approximate Lifting Techniques for Belief Propagation. These methods group nearly symmetric objects so the model does not fracture into individual cases; on Smokers they cut over a million tuples to 4,600. The third is fully grounded inference, which serves as a reference.

The fourth part is analysis. We measure how many distinct lifted groups remain as $K$ and $R$ vary. This tests the bounded symmetry-breaking argument directly.

Baselines

The naive reference points are single-model self-checking and a single judge per claim. Towards Detecting LLMs Hallucination via Markov Chain-based Multi-agent Debate Framework reports Self-Check at 54.00% response-level accuracy on Factool QA. HaluEval: A Large-Scale Hallucination Evaluation Benchmark for Large Language Models reports ChatGPT detection accuracy of 62.59% on QA and 72.40% on Dialogue. We rerun both with our backbone model so the comparison is not against numbers from a different, older model.

The strongest existing method on the general factual benchmarks is the Markov-chain debate of Sun et al. It is the strongest competitor because it combines retrieval with an adversarial Trust/Skeptic/Leader debate. It reports 72.00% response-level accuracy on Factool QA, against 64.00% for FacTool in the same paper, and 76.00% on HaluEval Dialogue, against 68.00% for the HaluEval baseline. FacTool: Factuality Detection in Generative AI - A Tool Augmented Framework for Multi-Task and Multi-Domain Scenarios serves as the retrieval-only baseline: it extracts claims, searches for evidence and verifies with one judge.

On contracts, the strongest competitor is the six-role calibrated debate of LegalHalluLens. It reports cutting fabricated clause detections by 45% on a matched subset of CUAD v1.0, a benchmark of 510 contracts with 41 expert-annotated clause types. It reports an aggregate baseline hallucination rate of around 52%.

Fairness is enforced by giving every method the same backbone model, the same retrieved evidence, the same claim extractor and the same total token budget. For our method, this means $K \times R$ judge calls must match the total number of calls the competitor's debate spends. Every method gets the same number of prompt-tuning trials on the same development split.

Beating a competitor means the following. On Factool QA and HaluEval, accuracy must exceed our reproduction of the Markov-chain debate at equal tokens. On CUAD, fabricated clause detections must fall by more than our reproduction of LegalHalluLens achieves on the same matched subset, without a larger rise in omissions as measured by the Risk Direction Index. On all benchmarks, calibration error (expected calibration error, the gap between stated confidence and observed accuracy) must be lower.

Two ablations isolate the proposal's key ingredient. The first removes the rules ($T = \emptyset$), leaving the same exchangeable judges and type-specific reliabilities. This amounts to classic per-claim reliability-weighted voting in the style of Dawid-Skene, and the comparison measures what the relational rules add. The second keeps the rules but lets judges within a role see each other, which breaks exchangeability. We then measure both the accuracy change and the growth in lifted group count.

Why not just…?

Why not just take a reliability-weighted vote per claim? This is the most serious threat. If the relational rules rarely fire on real extractions, the full model collapses to independent voting, and the rule-free ablation will match it. We expect a gap mainly on role-swap and count errors. To measure that gap we build a diagnostic set from CUAD by swapping party roles and changing clause counts in gold extractions. We also report the gap separately on the untouched benchmarks. If the gap appears only on the synthetic set, we will say so and narrow the claim.

Why not just have one strong judge read all claims together and check consistency? This avoids writing rules and running a solver. However, HaluEval reports a "contrast paradox": showing correct and hallucinated answers side by side lowers detection accuracy compared with judging them in isolation. That is some evidence that holistic prompting is unreliable here. We run this baseline at equal tokens anyway, including a variant that is given our rules in natural language, since it is cheaper to deploy if it works.

Why not just ground the rules and run an ordinary solver? For one contract with a dozen entities this may well be fast enough, and we will report it. The evidence that it stops scaling comes from classical settings. There, the propositional compiler c2d became intractable beyond 20 entities while lifted compilation stayed near-constant from 10 to 80 (On the Completeness of First-Order Knowledge Compilation for Lifted Probabilistic Inference), and unary conditioning ran one to three orders of magnitude faster than recompiling. We measure where the crossover falls when rules are applied jointly across documents that share entities.

Why not just let agents debate freely, as existing frameworks do? Cross-talk might extract better arguments than isolated judges produce. Examining Inter-Consistency of Large Language Models Collaboration: An In-depth Analysis via Debate shows cross-talk also lets a weaker model pull a stronger one off course, the "distraction" effect it reports. The same paper shows cross-talk drives inconsistency to near zero within two to six rounds, which is agreement, not necessarily correctness. The within-role cross-talk ablation tests this trade-off directly.

Decisive Checks

Three results would settle the proposal.

The first compares the full model with the rule-free ablation, per claim type, on CUAD and on the role-swap diagnostic set. If the rules do not improve obligation and numeric claims, where LegalHalluLens reports 65–74% hallucination rates, the core claim fails.

The second compares against the Markov-chain debate at equal tokens on Factool QA and HaluEval QA and Dialogue. This checks that adding structure does not cost accuracy on general factual questions, where rules are sparse.

The third plots the number of lifted groups and the inference time against claims per document and against $K$. If the group count stays near the $(K+1)^R$-per-type bound while grounded inference grows with the number of entities, the computational claim holds. If approximate lifting shatters anyway on binary claim structure, the arity gap is the binding limit, and we will report that as the finding.