Accept or Repair: Preserving Passage-Supported Answers in Contrastive Decoding

Jungseob Lee, Seungyoon Lee, Hyeonseok Moon, Seongtae Hong, Suhyune Son, Sugyeong Eo, Minhyuk Kim, Chanjun Park, Jaehyung SeoarXiv 2026

LLMs are notorious for their stubbornness. Even when you provide a specific passage to answer a question, they often default to the "parametric knowledge" they learned during training. This leads to a frustrating phenomenon called knowledge conflict: the model ignores the provided text in favor of its own internal (and sometimes outdated or incorrect) memory.

A new paper, "Accept or Repair: Preserving Passage-Supported Answers in Contrastive Decoding," introduces a clever, training-free decoding strategy called Accept-or-Repair (AoR) to solve this. By selectively applying contrastive decoding only when the model's first guess isn't grounded in the text, AoR achieves a rare "win-win": it follows counterfactual instructions better while actually improving performance on standard tasks.

TL;DR

Accept-or-Repair (AoR) is a training-free decoding procedure that checks if an LLM's initial answer is supported by the provided passage; if not, it "repairs" the answer using contrastive decoding and a "memory veto" to block internal biases. It significantly boosts accuracy on passages that contradict the model's memory (+12.5 points) while simultaneously improving performance on ordinary passages (+2.3 points).

What Problem Does This Paper Address?

The core challenge is the trade-off in Context-Aware Decoding (CAD). Standard CAD works by contrasting the model's predictions with the passage against predictions without the passage. While this forces the model to pay attention to the context, it often "breaks" correct answers on ordinary passages where the model's internal memory and the text already agree.

Essentially, existing methods are too aggressive—they apply a "fix" even when the model isn't broken. The authors identify that contrastive decoders frequently turn correct, passage-supported answers into errors because they over-penalize the model's natural inclinations.

Methods

AoR operates as a lightweight wrapper around the decoding process. It follows a three-step logic:

  1. Accept: The model generates a "plain" answer via standard sampling. AoR then runs a Support Test—a lexical check to see if the answer appears in the provided passage. If it does, the answer is accepted immediately.
  2. Repair: If the initial answer fails the support test, AoR generates new candidates using contrastive decoding (like CAD or Instructive Decoding).
  3. Memory Veto: To ensure the "repair" doesn't just repeat the model's internal bias, AoR generates a "closed-book" answer (without the passage). If a repair candidate matches this memorized answer while the passage suggests something else, the veto rejects it.
Figure 2: Two test questions. (a) CAD contrasts every answer. (b) AoR accepts supported answers (Supp). When the passage favors another answer, the memory veto rejects repairs that repeat m, generated without the passage. Gray steps are skipped.

This approach is training-free and model-agnostic, meaning it can be applied to any existing LLM without fine-tuning.

Datasets

The authors evaluated AoR across a diverse set of benchmarks to test both "knowledge conflict" and standard accuracy:

  • Counterfactual Tasks: NQ-Swap (where answer entities in Natural Questions are swapped to contradict facts) and FaithEval (multiple-choice questions with counterfactual passages).
  • Ordinary Tasks: NQ-Original, SQuAD, and HotpotQA (in a distractor setting).
  • Held-out Tasks: ConFiQA, TriviaQA, and SciQ.

Experiments were conducted on a wide range of models, including the Qwen3 family (1.7B to 32B), Llama-3.1 (8B and 70B), and Mistral-7B.

Key Insights and Ideas

  • The Selective Contrast Insight: You don't need to contrast every token. If the model's base sampling already aligns with the text, leave it alone. This avoids the "neutral regression" where CAD hurts performance on easy, standard questions.
  • The Power of the Veto: By explicitly identifying what the model wants to say from memory (the closed-book answer) and treating it as a "forbidden" zone during repair, the model is effectively forced to look elsewhere—specifically, at the provided passage.
  • Efficiency: Because AoR only triggers expensive contrastive decoding when the first guess fails, it is more computationally efficient than methods that contrast every single token by default.

Key Results

AoR was the only method tested that improved performance across the board.

  • Superior Gains: It raised scores by 12.5 points on counterfactual passages and 2.3 points on ordinary ones compared to plain sampling.
  • Outperforming Baselines: As shown in Figure 1, while baselines like CAD or Strict CAD gained on counterfactual data, they often lost significant ground on ordinary passages. AoR eliminated this negative trade-off.
Figure 1: Gain over plain sampling on counterfactual and ordinary passages, at the setting that each method chose on the development split. Test split, averaged over six models.
  • Scaling: The benefits of AoR persisted and even grew as model size increased, suggesting that larger models (which have stronger internal memories) benefit even more from the "repair" and "veto" mechanisms.

Limitations and Future Work

  • Lexical Matching: The current Support Test relies on word matching. While effective for extractive QA, it might struggle with highly abstractive or long-form answers where the meaning is supported but the exact words are not.
  • Distribution Access: The repair step requires access to the model's next-token probability distributions, which is standard for open-weights models but not always possible with "black-box" APIs (like GPT-4) without logprob access.
  • Future Directions: The authors suggest exploring more sophisticated support tests, such as using small entailment models or self-critique prompts, to handle complex reasoning tasks.

Summary updated

BibTeX
@misc{lee2026accept,
  author = {Jungseob Lee and Seungyoon Lee and Hyeonseok Moon and Seongtae Hong and Suhyune Son and Sugyeong Eo and Minhyuk Kim and Chanjun Park and Jaehyung Seo},
  title = {{Accept or Repair: Preserving Passage-Supported Answers in Contrastive Decoding}},
  year = {2026},
  eprint = {2610.29727},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.29727},
}
Figure