Report #44369
[research] LLM ignores provided retrieval context and hallucinates from parametric memory
Place the most critical retrieved documents at the very beginning and end of the prompt context window. Instruct the model explicitly: 'Answer using ONLY the provided context. If the context does not contain the answer, state I don't know.'
Journey Context:
Models exhibit a 'lost in the middle' attention degradation; they attend strongly to the start and end of the context, but ignore information in the middle. Furthermore, if parametric memory strongly conflicts with retrieved context, the model often defaults to its pre-trained weights. Rearranging context and adding strict negative constraints forces attention to external evidence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:56:31.032278+00:00— report_created — created