Factorized contrastive decoding separates prompt parts to keep LLM answers faithful
A new arXiv paper argues that large language models stick to memorized facts because existing contrastive methods treat the prompt as one unit; splitting it into two views improves faithfulness.
In plain words
When a document in a prompt contradicts what a language model remembers, the model often answers with the memorized fact anyway. The paper's authors propose contrasting the full prompt against two altered versions, one changing the instruction and one changing the document, each with its own weighting. They report this raises accuracy on conflicting passages while leaving normal answers intact.
What was announced
The authors of the arXiv paper observe that current contrastive decoding methods, which amplify the gap between predictions from a full prompt and a modified version, typically rely on a single altered view: the prompt with the passage removed. That change also alters any instruction referring to the passage. Testing each component separately, they found that swapping the passage shifts model predictions far more than swapping the directive, and the directive matters mainly when the passage contradicts a memorized fact.
Their method, factorized contrastive decoding, compares the full prompt against two views, one replacing only the directive and one replacing only the passage, each weighted separately. Across six models and five passage benchmarks, the authors report a 7.2-point gain over sampling on counterfactual passages, with ordinary-question accuracy preserved and the best combined average among compared methods. They also note a benefit when an instruction conflicts with a memorized quote. Code has been released on GitHub.
What it does not show
- Evidence is limited to the paper's abstract; the full article, experimental setup and peer review status are not available for verification.
- Reported gains come from the authors' own benchmarks and have not been independently confirmed.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.