Is an answer being in the prompt the same as the model using it?
Lost in the middle.
A longer context window is not a guarantee that a model will use the evidence inside it.
An answer can be present in the prompt and still be difficult for the model to use, especially when its position changes. Watch the strip on the right as you read. It is this page as a context window. The koi is you, and the middle is where it gets hard to see.
Imagine a very long folder
You give an assistant 40 documents and ask who authorized a payment. One document contains the answer. The document is present; nothing has been deleted. Yet whether the assistant gets the answer right may depend on where the document appears in the folder.
This is the problem explored in Lost in the Middle: How Language Models Use Long Contexts (Liu and colleagues, 2024). The authors tested models on multi-document question answering and key–value retrieval, varying where the relevant information was placed. Their finding was not that every model always fails in the middle; it was that performance was sensitive to position, with a tendency for beginning and end evidence to be used more reliably than middle evidence in the tested settings.
An experiment you can reason about
Hold the question and correct answer constant. Place the answer-bearing passage at the beginning, middle, or end of a long prompt, and fill the rest with comparable distractors. Measure accuracy separately for each placement. If the model used information equally well throughout its context, performance should stay similar. If it changes, position is affecting utilization, not merely availability.
Here is the folder. The koi is the answer document. Click any tile to move it, or use the buttons.
Conceptual illustration, not measured model accuracy. Brighter tiles stand for evidence the model is more likely to use.
Why this matters beyond prompt engineering
One obvious reaction is to put the most important passage at the beginning or end. That can be a useful tactic, but it is not a complete solution: the future question may be unknown, multiple facts may matter, and content gets reordered by retrieval, summarization, or conversation history.
The deeper lesson is about evaluation design. A long-context benchmark should test whether an answer can be found and applied across positions, not only whether a model accepts a large number of tokens. Compare identical factual content under controlled placement changes, and report error patterns instead of advertising just the window size.
My takeaway
I separate three claims: the information fits in the context, the model can identify the relevant evidence, and the model can use it correctly. Those are different tests. This is also why positional memory interference in robotic policies is interesting, but a language-model result must not be presented as proof of the same mechanism in robots.
Read the source: Liu et al., Lost in the Middle (TACL, 2024) ↗