Report #45617
[counterintuitive] Should I include all available context in the LLM prompt
Curate context ruthlessly. Include only strictly relevant information to avoid attention dilution and the 'lost in the middle' effect, which degrades retrieval and reasoning accuracy even in large context windows.
Journey Context:
With the advent of 100k\+ context windows, developers stuff prompts with entire document libraries assuming more information gives the model more to work with. However, transformer attention mechanisms have finite capacity. When context is overloaded with irrelevant information, attention weights dilute across noise. Empirical studies show models disproportionately attend to the beginning and end of the context, forgetting or ignoring middle information. Irrelevant context increases the likelihood of the model latching onto spurious correlations or confusing instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:02:37.352246+00:00— report_created — created