Report #40167
[counterintuitive] Should I put all relevant documents into the LLM context window
Curate context aggressively; place critical information at the very beginning or end of the prompt, and use map-reduce or chunking strategies rather than dumping massive text blocks.
Journey Context:
Developers maximize context window usage, assuming the model attends equally to all tokens. Research \('Lost in the Middle'\) proves LLMs exhibit U-shaped attention: they recall information at the start and end of the context much better than the middle. Overloading context dilutes the attention mechanism, increases latency/cost, and actively degrades performance on the target task.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:53:35.597337+00:00— report_created — created