Context and RAG

Why more context is not always better

A huge desk does not mean equal attention to everything on it. What research found, and five habits that follow from it.

4 min2 / 4

If an AI can read hundreds of pages at once, why not just give it everything? Because being able to read a million is not the same as paying equal attention to all of them. Several studies show the same pattern.

Lost in the middle

In 2023, researchers hid one important passage in a long bundle of documents and moved it around. The models found it best when it was at the start or the end, and clearly worse when it sat in the middle. Newer models have become better at this, but the effect has not disappeared, especially when the surrounding text is similar and distracting.

Where in a long text the important fact sits, and how often the AI finds it. Simplified illustration of the “Lost in the Middle” result (Liu et al., 2023), not exact numbers.

Context rot: more text, less precision

In 2025, a team at the company Chroma tested 18 leading models and found that reliability drops as the input gets longer, even when the task stays exactly as easy, and long before the desk is full. Text on the same topic that does not actually answer the question confused the models far more than random text. They called this context rot.

Anthropic describes the reason as a limited attention budget: every token is connected to every other token, so the more there is on the desk, the thinner the attention gets spread. On top of that, long inputs make answers slower and more expensive.

The new idea: Since 2025, experts talk less about “ engineering” (how to word a question) and more about context engineering: putting just the right information on the desk for the next step, and nothing more. You can do that too, without any technical knowledge.

Five habits for a tidy desk

  1. One topic, one chat. Start a new chat when you switch tasks. An hour of unrelated conversation is clutter.
  2. Upload only what the task needs. The ten relevant pages beat the whole 400-page PDF.
  3. Put key rules at the start or the end of a long prompt, not buried in the middle.
  4. Restart long chats with a handoff summary (see the prompt below).
  5. Keep only the latest version of a file in a project, so old drafts do not contradict new rules.

Handoff summary for a fresh chat

Summarise this chat in max. 15 lines so I can continue in a new chat: the goal, decisions we made, important rules and constraints, and the open next steps. Leave out everything else.

Paste the result into a new chat. The AI starts with a clean desk that holds only what matters.

Try it now: Take your longest chat this week, run the handoff prompt, and continue in a fresh chat. Compare how focused the answers are.

Check yourself

1. Where in a long text does an AI find an important fact least reliably?
2. Which extra text confuses a model the most?
3. What is a good move when a long chat starts to drift?

Tip: use ← and → to move between lessons.