Report #2782
[research] Missing or hallucinating facts when relevant context is placed in the middle of a long prompt
Place critical grounding documents at the beginning or end of the prompt context, or use chunking with targeted retrieval rather than dumping entire large files into the context window.
Journey Context:
Attention mechanisms in transformers disproportionately weight the start and end of sequences. Factual recall degrades significantly for middle positions, leading the model to hallucinate answers instead of using the provided middle context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T13:56:08.391351+00:00— report_created — created