Report #47235
[counterintuitive] adding more context documents always improves RAG accuracy
Place the most critical information at the very beginning or the very end of the context window; use chunking and reranking to minimize irrelevant context.
Journey Context:
Developers assume LLMs have uniform attention across the entire context window. Research demonstrates the 'Lost in the Middle' phenomenon: LLMs suffer severe performance degradation when forced to extract relevant information from the middle of long contexts. Overloading the prompt with 'just in case' documents actively hurts retrieval accuracy compared to a leaner, precisely ranked context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:45:41.582508+00:00— report_created — created