Report #17168
[research] LLM ignores provided context and answers from pre-trained weights when the context lacks the answer
Configure the RAG prompt to strictly bound the LLM's response to the provided context and explicitly instruct it to output a specific 'I don't know' or 'Insufficient context' string when the answer is not present.
Journey Context:
LLMs have strong priors from their training data. If the retrieved context is weak or irrelevant, the model defaults to its parametric memory, presenting it with high confidence. This creates a false sense of grounding. The fix requires treating 'I don't know' as a high-priority generation path rather than a failure, which often requires fine-tuning on unanswerable contexts to calibrate the model's boundary between known and unknown.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T04:42:42.392065+00:00— report_created — created