Report #83574
[counterintuitive] add more context to improve LLM accuracy
Place critical instructions and retrieved documents at the very beginning or end of the prompt context. Use structured formatting \(like XML tags\) and aggressively prune irrelevant context.
Journey Context:
Developers stuff the 128k\+ context window thinking more data unconditionally improves answer quality. Research demonstrates a 'Lost in the Middle' degradation: LLMs reliably recall information at the start and end of the context window but suffer significant performance drops when forced to access information in the middle. Overloading context increases noise, latency, and cost, actively harming accuracy.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T22:51:46.804096+00:00— report_created — created