Report #2096
[research] Model ignores relevant retrieved context if placed in the middle of a long prompt
Place the most critical retrieved context at the very beginning or very end of the prompt window. Avoid stuffing long, marginally relevant documents in the middle. Use high-precision retrieval over high-recall retrieval.
Journey Context:
LLMs exhibit a U-shaped attention curve. Information in the middle of long contexts receives less attention and is often ignored. If the model ignores the retrieved context, it falls back on its parametric memory, leading to hallucinations. Restructuring the prompt to front-load or append critical facts forces the model to attend to the grounded evidence.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T09:56:35.141230+00:00— report_created — created