Report #101866
[counterintuitive] LLM invents facts even when instructed to only use the provided context
Ground responses with retrieval and citations, then verify each claim against the source; design for detectable uncertainty and safe refusals rather than pretending the model can be forced to stop hallucinating.
Journey Context:
Many developers add phrases like 'only use the context' or 'say I don't know if unsure' and expect hallucinations to disappear. Hallucination is not primarily a prompt-compliance problem; it is a fundamental mismatch between next-token prediction and ground-truth verification. Retrieval reduces fabrication but does not eliminate it because the model can still misread or over-generalize retrieved text. The only robust fix is external fact-checking.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:34:48.046579+00:00— report_created — created