Report #14881
[research] LLM ignores retrieved context and answers from pre-trained weights, especially when context is long
Place the most critical retrieved documents at the very beginning and end of the context window. Add strict negative constraints \('Answer ONLY using the provided context. If the answer is not in the context, say I don't know'\).
Journey Context:
Models exhibit U-shaped attention curves. They attend strongly to the prompt start and end, but miss the middle. If the retrieved context contradicts parametric memory, the model often defaults to its internal weights unless explicitly penalized for doing so. Simply putting the context in the middle guarantees it will be ignored in long prompts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T22:41:23.762298+00:00— report_created — created