When to Trust Context: Self-Reflective Debates for Context Reliability

Zeqi Zhou, Fang Wu, Shayan Talaei, Haokai Zhao, Cheng Meixin, Tinson Xu, Amin Saberi, Yejin Choi

TL;DR

When external context contradicts a language model’s internal knowledge, models often fail—either by stubbornly ignoring valid updates or hallucinating around subtle misinformation. SR-DCR (Self-Reflective Debate for Contextual Reliability) resolves this tug-of-war by combining zero-context token confidence with an asymmetric multi-agent debate, pitting an informed context defender against a context-deprived critic. This lightweight gating mechanism dramatically reduces gullibility to corrupted context while preserving high accuracy on clean inputs.

What Problem Does This Paper Address?

Retrieval-Augmented Generation (RAG) and long-context prompting allow LLMs to incorporate up-to-date external evidence. However, models suffer from severe internal–external knowledge conflicts:

  1. When retrieved text contains factual errors (accidental noise, temporal misalignment, or adversarial perturbations), models often act gullible, parroting false claims.
  2. Conversely, models can be overly stubborn, relying on memorized parametric facts even when the context provides legitimate, newer updates.

Existing Multi-Agent Debate (MAD) frameworks typically expose all agents to the same context, leading to groupthink or erratic arbitration. Meanwhile, confidence-only heuristics lack deliberative reasoning. The authors aim to establish a principled, robust arbitration mechanism to decide when to trust context versus when to fall back on internal memory.

Methods

The proposed framework, SR-DCR, operates in three distinct phases:

[Input Query & Passage]
         │
         ├───> [Agent A: Defender] (sees Context + Query) ──┐
         │                                                 ├──> [Judge] ──> Verdict (REASONABLE / UNREASONABLE)
         └───> [Agent B: Critic]   (sees Query ONLY)      ──┘
         │
         ├───> [Zero-Context Model] ──> Conf(q, a_prior) ────> Confidence (HIGH / LOW at τ = 0.90)
         │
         └───> [Decision Gating Rule] ───────────────────────> Final Answer (a_ctx, a_prior, or ABSTAIN)
  1. Asymmetric Context Verification Debate (ACVD):
  2. Defender (Agent A): Given both question $q$ and context $c$, defends the context-derived answer ($a_{\text{CTX}}$).
  3. Critic (Agent B): Withheld from the context, defends the model's parametric prior answer ($a_{\text{PRIOR}}$) and argues the passage is misleading or fabricated.
  4. Judge (Agent C): Watches the debate over multi-round exchanges (up to 6 rounds) and labels the context as either REASONABLE or UNREASONABLE.
  5. Self-Confidence Estimation:
  6. The model generates a zero-context answer and measures its predictive confidence using average token log-probabilities (or sampling-based self-consistency for closed models like Claude). Predictions with confidence $\ge 0.90$ are flagged as HIGH.
  7. Decision Gating:
  8. If the context is judged REASONABLE, output $a_{\text{CTX}}$.
  9. If UNREASONABLE and model confidence is HIGH, fall back to $a_{\text{PRIOR}}$.
  10. Otherwise, ABSTAIN.

Datasets

  • ClashEval: A benchmark specifically curated to study factual conflicts between internal priors and contradictory external contexts across domains such as history, geography, Olympic records, and biographical facts.
  • Evaluation Testbed: A controlled split of 600 instances (300 standard/unperturbed contexts and 300 perturbed contexts).
  • Perturbation Levels: Perturbations modify numerical/temporal entities across four calibrated offset categories: subtle (offset 20), mild (40), moderate (60), and blatant (100 & 200).
  • Models Evaluated: GPT-3.5 Turbo, GPT-4o, Claude 3.5 Haiku, Claude 3.7 Sonnet, and LLaMA (3.1 8B/405B, 3.3 70B).

Key Insights and Ideas

  • Confidence strongly mirrors factual recall: When log-probability confidence crosses $\tau \ge 0.90$, the probability that the fact is genuinely known (high recall under sampling) exceeds 88% (and >95% at $\tau \ge 0.95$). Below 0.70, confidence is an unreliable signal.
  • The "debate erosion" phenomenon: In symmetric debates, judges start with strong prior bias in early rounds ($r=1$). As debate rounds proceed ($r=3$ to $5$), judges increasingly side with the context. Crucially, longer debates cause models to overlook subtle factual corruptions (offset = 20), making standard MAD vulnerable to subtle misinformation over extended dialogue.
  • Asymmetry provides natural oversight: Denying the critic access to external text forces them to attack factual plausibility solely from internal knowledge, preventing the critic from falling into context-induced traps.

Key Results

Evaluated on Exact Match (EM), SR-DCR consistently outperformed baselines (Few-shot, Self-Ask, RCI, and Naive/Judge Debate):

  • GPT-4o: Achieved 74.59% overall accuracy (94.67% standard, 54.51% perturbed), effectively matching the theoretical Golden Baseline (74.50%) and beating Few-Shot (70.80%) and Naive Debate (70.83%).
  • Claude 3.5 Haiku: SR-DCR scored 72.61% overall, a massive improvement over Few-Shot (58.00%) and Naive Debate (64.17%), driven by surging perturbed-context accuracy (49.89% vs. 16.33% in Few-Shot).
  • GPT-3.5 Turbo: Reached 62.68% overall accuracy (29.66% on perturbed contexts, compared to just 9.00% for Few-Shot and 20.33% for Naive Debate).
  • Robustness across offsets: On GPT-3.5 Turbo, SR-DCR maintained leading accuracy across every perturbation tier—from subtle (26.70% at offset 20) to blatant (38.30% at offset 200).

Limitations and Future Work

  • Fixed Thresholds: The confidence cutoff ($\tau = 0.90$) is static; optimal thresholds likely vary across different domains, task formats, and model calibrations.
  • Deterministic Judge Assumption: The methodology relies on stable, deterministic judge evaluations, which may be sensitive to stochasticity in production deployments.
  • Access to Prior-Free Inference: SR-DCR requires querying the model without context to extract internal priors and confidence scores, adding latency and requiring flexible inference API access.
  • Future Directions: Developing adaptive, learned confidence thresholds; training specialized lightweight judge models via supervised debate trajectories; and extending the asymmetric verification setup to multi-hop reasoning and long document QA.

Summary updated

BibTeX
@inproceedings{zhou2025when,
  author = {Zeqi Zhou and Fang Wu and Shayan Talaei and Haokai Zhao and Cheng Meixin and Tinson Xu and Amin Saberi and Yejin Choi},
  title = {{When to Trust Context: Self-Reflective Debates for Context Reliability}},
  booktitle = {KnowFM @ ACL},
  year = {2025},
  url = {https://openreview.net/forum?id=mvT2UcT8aE},
}

Loading related content...

Figure