Report #4564
[research] LLM ignores retrieved context that conflicts with its parametric memory, or answers from memory when context is insufficient
Use 'closed-book' prompting for RAG: explicitly instruct the model that if the answer is not in the context, it must reply 'I don't know'. Combine with context relevance scoring \(e.g., a separate classifier\) to reject low-relevance retrievals before generation.
Journey Context:
LLMs have a strong prior for their pre-training data. When retrieval returns noisy or conflicting information, the model defaults to its internal weights. Simply providing context doesn't guarantee grounding. Evaluations show that when retrieval fails, models hallucinate rather than abstain. Forcing a strict 'answer only from context' constraint shifts the failure mode from hallucination to abstention, which is safer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T19:42:38.593512+00:00— report_created — created