Skip to content

Conflict record: auditable LLM output quality control via typed adversarial contractsConflicted Records: Typed Adversarial Contracts for Auditable LLM Output Quality Enforcement

arXiv: AI Governance & Policy· arXiv:2610.29669· Kardelen Subasi, Jarosław A. ChudziakWarsaw University of TechnologyIndexed by this site · 2026-10-22· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose BiasGuard-D: cross-family two-role adversarial deliberation plus three-model arbitration and deterministic invariants; the authors state a hallucination removal rate of 100% and a 49 percentage point improvement in correct-answer recovery on HaluEval QA.

Threat modelDefender's perspective: the victim system is a production information system that persists LLM-generated records; the risk is that the same record and same span simultaneously satisfies and violates a quality rule (stereotypes, hallucinations). The defense intervenes at the record level at runtime and relies on the assumption of cross-family model heterogeneity; contradictory verdicts are quarantined rather than automatically repaired.

Questions
After LLM-generated records enter production systems, the same text segment may simultaneously satisfy and violate quality rules (e.g., useful facts and hallucinations coexisting); traditional data cleaning and a single LLM judge cannot handle this, and there is a lack of auditable records.
Methods
BiasGuard-D has two adversarial roles from different model families exchange typed AtomicClaim documents in a round-capped deliberation, three Arbiter models from different families decide by majority vote, and deterministic composition invariants (reference consistency plus a Jaccard semantic check) then verify; contradictory verdicts are quarantined and a full provenance record is retained.
Experiments and results
Evaluated on BBQ Age/Disability and HaluEval QA: the authors report a hallucination removal rate of 100% (43/43) on HaluEval and right-answer match rising from 12.2% to 61.2%; on BBQ Disability, removing the iterative loop lowered the invariant satisfaction rate from 83.3% to 55.6%; all quarantines were triggered by Isem.
Limitations and future work
The authors note: HaluEval labels are produced by an LLM-as-judge and may themselves carry bias; the Jaccard threshold was not validated on paraphrase-rich corpora; portability covers only two domains; on HaluEval it relies on paid Claude Sonnet arbitration. The tested sample size is n=50–115 per condition.
Experimental setupLlama 3.1 8B-Instant · BBQ Age、BBQ Disability et al. · 不变量满足率 Inv.%、隔离率 FB% et al.
Evaluated models
Llama 3.1 8B-Instant
Benchmarks
BBQ AgeBBQ DisabilityHaluEval QA
Metrics
不变量满足率 Inv.%隔离率 FB%刻板印象选项选择率幻觉移除率right-answer match ratepreservation rateinter-Arbiter agreement
AI summaryThe paper proposes BiasGuard-D: two adversarial roles from different model families exchange typed claim documents, and a three-model arbitration panel decides by majority vote, achieving auditable LLM output quality control. On HaluEval QA, the negotiation layer, by changing only the role settings, migrated from stereotype repair to hallucination repair, raising the correct-answer recovery rate by 49 percentage points. Claims, votes and instructions are all stored as typed records that can be traced for auditing under emerging AI regulation.

The paper proposes BiasGuard-D: two adversarial roles from different model families exchange typed claim documents, and a three-model arbitration panel decides by majority vote, achieving auditable LLM output quality control. On HaluEval QA, the negotiation layer, by changing only the role settings, migrated from stereotype repair to hallucination repair, raising the correct-answer recovery rate by 49 percentage points. Claims, votes and instructions are all stored as typed records that can be traced for auditing under emerging AI regulation.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    When the same LLM record simultaneously satisfies and violates a quality rule on the same segment, how to catch the defect with deterministic checks and leave an auditable record.

    Core problem: a single LLM-generated record may simultaneously satisfy and violate quality rules on the same text segment (conflicting record); existing methods cannot handle this consistently, nor is there auditability.

    • Problem scenario: the authors say LLM outputs are being persisted into production systems such as search indexes, knowledge bases and recommendation feeds, and are treated as data assets; in regulated domains, operators need to know why an output passed or failed, which segment triggered the ruling, and whether the repair instructions are self-consistent.
    • Shortcomings of existing methods: the authors argue classic data cleaning reads and modifies the whole record and cannot make two opposite judgments—"keep" and "delete"—on the same character segment; a single LLM judge shares training bias with the model that produced the conflict; prompt engineering, CoT and RLHF only reduce surface error rates, have no audit trail, and cannot distinguish genuine repair from blanket suppression.
    • Core assumption: treat quality enforcement as a data quality problem rather than a single-judge problem—adversarial roles produce structured claims about specific segments, and deterministic invariants can verify rulings without calling a model.
    • The paper proposes: BiasGuard-D, a five-stage typed adversarial contract pipeline: two cross-family adversarial roles exchange typed claim documents, three-model quorum majority-vote arbitration, and compositional invariant (Iref ∧ Isem) verification; contradictory rulings are quarantined rather than auto-repaired.
    • Defense setting (defense category, per the paper):
      • Victim system: information systems such as catalogs and knowledge bases that treat LLM-generated records as data assets.
      • Protected against: two types of quality defects—stereotypes (BBQ) and hallucinations (HaluEval).
      • Key assumption: the five roles must come from five different model families; the authors cite a maximum joint error correlation of 60% for same-family models as the basis.
      • Handling principle: invariant failure means quarantine and a conservative fallback, with no auto-repair, to avoid reintroducing model judgment into the verification step.
  2. What related research exists?

    Related work falls into three categories: constraint-based data quality and repair, LLM output quality enforcement, and typed contracts and provenance; the paper says each of the three lacks a key component.

    Constraint-based data quality and repair

    • Integrity constraints and repair theory (Fan et al. [10], Ilyas & Chu [14], Bertossi [3], Chomicki [5]): treat records as entities that satisfy or violate integrity constraints and route or repair the violators. The paper notes that classic repair theory selects the minimal modification to restore integrity, but when the same segment is required to be both deleted and kept, there is no ordering in natural-language paraphrase that can select a canonical repair, so BiasGuard-D quarantines rather than auto-repairs when Isem fails.

    LLM output quality enforcement

    • Retrieval-augmented and self-refinement pipelines (RAG [17], GraphRAG [8], Self-RAG [1]): read, modify and pass on records, effective for direct quality problems; the paper notes they fail on conflicting records because no stage can mark two co-located segments as both valid and invalid.
    • Multi-agent debate (Du et al. [7], Liang et al. [18]): introduces structured disagreement; the paper notes it lacks typed message formats and deterministic verification. Related work uses agent disagreement for content moderation diagnosis [23], dialectical multi-agent refinement for argument classification [4], and community-driven frameworks for implicit bias detection [12].
    • Training-time methods (Constitutional AI [2], RLHF [20]): embed quality constraints into parameters; the paper notes their guarantees are statistical, opaque to auditors, and cannot distinguish whether a conflict was resolved or suppressed.

    Typed contracts and provenance

    • Contract-based agent communication: FIPA contract-net [11,21], LLM orchestration frameworks AutoGen [24] and LangGraph [16], Hoare-style contracts [6]. The paper notes these works provide message-passing mechanisms but are not applied to adversarial quality enforcement with deterministic checks.

    Baselines and benchmarks: the baselines compared in the experiments are zero-shot (ZS), stereotype-aware system prompt (SDP), and chain-of-thought (CoT) (Table 3); the benchmarks are BBQ (Age, Disability categories) and HaluEval QA. The authors position this work as a runtime, record-level, checkable approach: every inter-stage exchange is a typed record rather than a raw string, and reference checks and semantic checks are jointly applied to the natural-language payload.

  3. How does the paper address this problem?

    Five-stage pipeline: same-family audit triage, cross-family dual-role adversarial deliberation, three-family arbitration majority vote, deterministic compositional invariant verification.

    The overall idea is to model quality enforcement as a data quality problem: all inter-stage messages are typed records based on the AtomicClaim primitive, and verification reduces to deterministic predicate checks on DeliberationVerdict, with no LLM call needed at verification time throughout.

    Data model

    • AtomicClaim primitive: an identifiable assertion about a specific text span, with a role-prefixed identifier (e.g., C001 for SA, D001 for CD), the original or compressed span, a five-value type (Factual, Rhetorical, Framing, OptionPreference, DecisionFlip), an optional list of provenance identifiers, and a confidence.
    • Confidence reduction: each time it is challenged by an adversarial role it is multiplicatively reduced; the authors state that four challenges reduce it to about one third rather than to zero; the trajectory is stored per round.
    • Six typed schemas (Table 1): VerdictContract (Auditor triage), StereotypeCase (SA), ContextDefense (CD), SecondRoundSA/CD (revision), DeliberationVerdict (arbitration output, the object of invariant checks).

    Five-stage pipeline (LangGraph orchestration)

    1. Generator + same-family Auditor (stages 1–2): the Generator (Llama 3.1 8B, Groq) generates records; the Auditor (same model, same family) issues a VerdictContract with a delegate flag. The authors state that the same-family pairing is intentional: self-preference makes same-family judges less likely to flag their own outputs, so flagged records are a high-precision, low-recall triage; delegate=false passes directly. Under the HaluEval condition, a cross-family Auditor B (Mistral Small) is added, delegating by OR(A, B) to raise recall.
    2. Bounded P2P deliberation (stage 3): SA (GLM-4-Flash) and CD (Mistral Small) each produce a document in the first round, after which each round reads the other's previous-round document and updates its own; if a claim survives, its claim_id is reused. The stability check applies only to the identifier sets: termination when the disputed and defended sets are identical in two consecutive rounds, with a cap of 5 rounds (about twice the measured average convergence point of 2.24–2.39 rounds, Table 6). The two roles update in parallel in the same round and do not see each other's current-round output.
    3. Quorum arbitration (stage 4): three Arbiters from different families (Cohere Command R, Claude Sonnet, Llama 3.3 70B) independently produce DeliberationVerdicts in parallel, aggregated by per-claim majority vote (at least 2/3).
    4. Invariant check and disposition (stage 5): if the invariants hold, the Generator is re-invoked with preserve/reframe/drop instructions; if any component fails, an InvariantViolation is recorded and a conservative fallback is output, with no automatic repair.

    Composition consistency invariants

    • Iref (reference consistency): every supported SA claim must map to a remove-or-reframe instruction and every supported CD claim must map to a preserve instruction, i.e., a foreign-key coverage check on the instruction set.
    • Isem (semantic consistency): J(TSA, TCD) = |TSA ∩ TCD| / |TSA ∪ TCD|, i.e., the Jaccard similarity of the span-text sets of the two sides' supported claims; Isem(V) ≡ J(TSA, TCD) ≤ θ, meaning that SA and CD must not both support nearly identical text spans (otherwise they would simultaneously instruct deletion and preservation of the same content). The pilot value of threshold θ is 0.85, selected on a 20-item BBQ Age held-out slice.
    • Both components are O(n) with zero LLM calls.

    Family heterogeneity

    • The five roles come from five different model families (Table 2); the authors cite research reporting joint error correlation of up to 60% among same-family models as the basis, arguing that if the two adversarial roles were same-family, their claim sets might converge at the span level, making the exchange meaningless.
  4. What experiments did the paper conduct?

    Evaluated on BBQ Age/Disability and HaluEval QA: Isem catches contradictions that Iref misses, and the iterative loop contributes most of the improvement in invariant satisfaction rate.

    Experimental Setup

    • System under test: the BiasGuard-D pipeline, with role models: Generator/Auditor using Llama 3.1 8B-Instant (Groq), SA using GLM-4-Flash (Zhipu AI), CD using Mistral Small, and Arbiter being Cohere Command R, Claude Sonnet, Llama 3.3 70B-Versatile (Table 2).
    • Datasets: BBQ Age (ambiguous-arm, n=115; of which the P2P configuration n=50, the SR-Med configuration n=115); BBQ Disability (n=50, P2P and SR-Med once each); HaluEval QA (2×n=50 disjoint slices, run on hallucinated answers and correct answers respectively).
    • Baselines: ZS, SDP, CoT (Table 3, BBQ Age n=115).
    • Metrics: data quality metrics (Iref ∧ Isem satisfaction rate Inv.%, isolation rate FB%, both set operations over stored records); coordination metrics (P2P stability rate, average number of rounds, inter-Arbiter agreement); application-layer metrics (BBQ stereotype option selection rate; HaluEval hallucination removal rate, right-answer match rate, preservation rate).
    • Review method: HaluEval hallucination-removal labels are produced by an LLM-as-judge; the authors say a strict comparison prompt was given, containing no intermediate records; the paper does not state the name of the review model.
    • Statistics: invariant satisfaction rates report Wilson 95% CI; the paper does not report the number of repeated runs.

    Main Results

    Table 5 (invariant metrics) and Table 6 (coordination and outcome metrics) summarize:

    Swipe horizontally to read the table

    ConditionnDeleg.Inv.% [95% CI]FB%Arb. Agr.Application-layer result
    BBQ Age, P2P1157675.0 [64.2, 83.4]25.00.82−13.0pp
    BBQ Disability, P2P503683.3 [68.1, 92.1]16.70.57−22.0pp
    BBQ Disability, SR-Med503655.6 [39.6, 70.5]44.40.57−8.0pp
    HaluEval QA, hall.5049100 [92.7, 100]0.00.98+49.0pp
    HaluEval QA, right502495.8 [79.8, 99.3]0.0†0.8771.4%

    (According to Table 5, Table 6; in the application-layer column, BBQ is the reduction in stereotype selection rate, HaluEval hall. is the improvement in right-answer match, HaluEval right is the preservation rate)

    • The authors state that in all datasets every fallback was triggered by Isem on records that fully satisfied Iref (the FB% column of Table 5 equals the number of Isem violations row by row), i.e., there exists a class of rulings where Iref passes but Isem fails.
    • The authors state that on BBQ Disability, SR-Med and P2P share the same 36 delegation items, with the only difference being the iterative loop; the Isem violation rate is 44.4% vs. 16.7% with non-overlapping confidence intervals, indicating that the loop is resolving contradictions that the semantic check is meant to catch.
    • The 4.2pp gap in the HaluEval right row (95.8% rather than 100%) is due to one record outputting malformed JSON on both retries; the authors attribute this to pipeline execution failure rather than semantic contradiction.

    Baseline Comparison and the Cost of Suppression

    • Table 3 (BBQ Age, n=115): stereotype selection rate ZS 51.3%, SDP 24.4% (−26.9pp), CoT 0% (−51.3pp), BiasGuard-D 40.0% (−11.3pp).
    • The authors' interpretation of CoT: the 0% comes from routing 108/115 answers to "cannot be determined"; the authors say what the model learned is suppression rather than reasoning.
    • The authors' interpretation of SDP: neutral answers rose from 30.4% (ZS) to 65.2%, but within-item transition analysis shows zero category changes; the authors believe the aggregate difference reflects a model calibration shift rather than item-level repair; neither leaves an auditable record.

    Cross-domain Transfer (HaluEval QA)

    • Hallucinated input: hallucination removal rate 100% (43/43 confirmed cases); right-answer match rose from 12.2% to 61.2%; the authors say the remaining outputs are conservative hedges, which is correct behavior when the reference passage does not fully entail the correct answer.
    • Precision control on correct input: of 50, 24 were delegated to dual audit, 11 were preserved as-is, 13 became hedges, preservation rate 71.4%; of the 24 misdelegations, 19 were flagged by a single auditor and 2 were consistent mislabels.
    • The authors state that the deliberation layer, data model and invariants migrated from the subjective stereotype task to the objective hallucination task solely by changing the role-setting prompts; the only part requiring domain adaptation is the triage gate—a second cross-family audit must be added to maintain recall.

    Other Ablations and Analyses

    • θ robustness (Table 4): the Jaccard distribution is bimodal (violating items all at J=1.0, non-violating items below 0.5); the isolation rate is the same for θ∈[0.70, 0.85], and θ=0.90 changes it by only 1.3pp (one BBQ Age item at J=0.875); the maximum Jaccard for HaluEval is 0.69.
    • Coordination signal (§4.4): on BBQ Disability, SR-Med and P2P have the same inter-Arbiter agreement of 0.57, but different invariant satisfaction rates; the authors say agreement alone cannot distinguish the two modes, and the difference comes from the iterative loop reducing claim-set overlap; on HaluEval hallucinated input, agreement is 0.98, higher than BBQ's 0.49–0.57.
    • Arbiter ablation (§5.2): after replacing Claude Sonnet with the free-tier Qwen3-32B and Mistral Large, the HaluEval hallucination removal rate dropped substantially (the paper gives no specific numbers); the authors say Arbiter capability is a genuine dependency on the objective grounding task; BBQ results are unaffected by this slot.
    • Convergence rounds (Table 6): P2P stability rate BBQ Disability 100% (average 2.39 rounds), HaluEval hall. 93.9% (2.24 rounds), HaluEval right 79.2% (2.30 rounds).
  5. What are some points that can be further explored?

    The authors list limitations including reviewer labels, audit delegation strategy, and the scope of applicability of the threshold; experiments cover two domains, with n=50–115 per condition.

    Limitations and future directions noted by the authors

    • Reliability of reviewer labels (§5.2): the LLM-as-judge that produces the HaluEval hallucination-removal labels is itself subject to the same kinds of bias this architecture aims to catch; the authors state that strict comparison prompts mitigate this, but only fully independent human review could eliminate the concern (§5.3 lists it as future work).
    • Audit delegation strategy (§5.2): HaluEval uses dual-audit OR delegation; of 24 misdelegations, 19 came from single-audit flags; the authors state that switching to AND delegation would eliminate about 92% of misdelegations, at the cost of letting 22% of true hallucinations pass through the release channel, a trade-off left for systematic evaluation in future work (§5.3).
    • Scope of applicability of the Jaccard threshold (§5.2): θ was not tested on paraphrase-rich corpora, and a denser paraphrase space may raise the false-positive rate; §5.3 suggests that dense-embedding similarity may need to replace or supplement it.
    • Dependence on Arbiter capability (§5.2): free-tier substitutes (Qwen3-32B, Mistral Large) showed a large drop in hallucination removal rate on HaluEval; finding a free-tier Arbiter that reaches Claude Sonnet's level and reducing end-to-end latency are listed as future work.
    • Scope of portability evidence (§5.3): the portability claim is currently based on only two domains; extending to content moderation, knowledge-base ingestion, and privacy-utility data release could verify whether only the role settings need to change.

    Experimental coverage

    • The benchmarks tested are BBQ Age (n=115), BBQ Disability (n=50), and HaluEval QA (2×n=50), three conditions in total; BBQ uses only ambiguous-arm items.
    • Baseline comparisons (ZS, SDP, CoT) are done only on BBQ Age (Table 3); the HaluEval condition has no baseline comparison.
    • The pipeline role models are fixed to the five families in Table 2; except for Claude Sonnet, which is paid-tier, all are free or prototype tier.
    • The HaluEval hallucination-removal labels are produced by LLM-as-judge; the paper does not state the reviewer model name or report agreement with human annotation.
    • The paper does not report the number of repeated runs per condition; invariant satisfaction rates are given with Wilson 95% CIs, and application-level metrics are given without confidence intervals.
  6. Summarize the main content of the paper

    BiasGuard-D handles conflicting records with cross-family adversarial deliberation plus deterministic invariants; the authors report that the semantic check catches contradictions missed by the reference check.

    A paper on runtime LLM output quality enforcement that models the "conflicting record" problem—the same record and same span both satisfying and violating a quality rule—as a data quality problem.

    • Problem: classical data cleaning and a single LLM judge both fail to make opposite judgments about the same text span; prompt engineering, CoT, and RLHF have no audit trail and cannot distinguish repair from suppression.
    • Method: BiasGuard-D, a five-stage pipeline—same-family Auditor high-precision triage, SA (GLM-4-Flash) and CD (Mistral Small) exchange typed AtomicClaim documents in up to 5 rounds of P2P deliberation, three Arbiters from different families decide by majority vote, and deterministic invariants Iref ∧ Isem (foreign-key coverage plus a semantic check of Jaccard ≤ 0.85) verify; failure means quarantine, not automatic repair.
    • Main results: in all datasets, every quarantine was triggered by Isem on records that satisfied Iref (Table 5); on BBQ Disability, removing the iterative loop lowered the invariant satisfaction rate from 83.3% to 55.6% and raised the Isem violation rate from 16.7% to 44.4%; on HaluEval QA, hallucination removal rate was 100% (43/43) and right-answer match rose from 12.2% to 61.2%, with transfer achieved by changing only the role-setting prompts; on BBQ Age, stereotype selection rate was 40.0%, higher than SDP's 24.4% and CoT's 0%, but the authors state that the latter two "win" by suppression and leave no auditable record.
    • Authors' conclusion: the authors state the contribution is a portable template—any task where a record both satisfies and violates a quality rule can define domain claim types, assign adversarial roles, and reuse the same composition invariants; every claim, vote, and instruction is stored as a typed record and can be audited without re-invoking the model, meeting the checkability requirements of the NIST AI RMF and EU AI Act cited by the authors.
    • Constraints acknowledged by the authors: HaluEval labels depend on LLM-as-judge, the Jaccard threshold was not validated on paraphrase-rich corpora, and HaluEval relies on paid-tier Claude Sonnet arbitration.
Read originalarxiv.org