Report #55615
[research] Hallucinating answers from irrelevant distractor documents in RAG
Explicitly instruct the model that the context may not contain the answer and permit the output The provided documents do not contain the answer. Filter retrieval results by relevance score before injection.
Journey Context:
RAG pipelines inevitably retrieve irrelevant documents in their top-k results. Models are biased to synthesize an answer using whatever context is provided, leading to forced connections from distractors. Explicitly allowing an unanswerable classification forces the model to evaluate the context's relevance rather than blindly generating a response.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T23:50:35.714283+00:00— report_created — created