ENDE
AEVORIANA

More context does not automatically mean greater understanding

AI · Feature

A large context window allows long inputs, but does not guarantee equal attention to all their contents. Research into the so-called Lost-in-the-Middle effect shows why crucial information can be overlooked among many documents. In practice, therefore, the advertised volume of text matters less than reliability on specific retrieval and comparison tasks within a given workflow.

Reading capacity and use are different things

The study Lost in the Middle examined how language models use relevant information in long inputs. Among other tasks, the research team looked at questions spanning multiple documents and the retrieval of specific key–value pairs. In the models examined, performance depended significantly on where the target information appeared. The beginning and end often worked better than the middle. The finding does not describe an immutable property of all current systems, but an experimentally observed failure mode. It does, however, highlight an important distinction: a model can technically accept a large input without evaluating every section with equal reliability. A stated maximum context length therefore says little about how reliably a hidden contractual exception or a single measurement will actually be found.

Why additional documents can also get in the way

A long attachment usually contains more than just helpful information. Repetition, similar terms and incidental details compete with the crucial passages. Adding every available document as a precaution can therefore make the task harder rather than easier. A preliminary search does not fully solve this problem either: if it returns too many similar passages, the context becomes unwieldy again. RAG and long context windows are thus not straightforward opposites. The two can be usefully combined if the search narrows down the relevant documents and the model receives enough context. It remains important that shortened passages retain their conditions. An isolated figure without a time period or reference quantity may be easy to find, but it can suggest the wrong answer and thus introduce further errors.

A simple stress test for document assistants

Organisations can test positional dependence with a manageable amount of effort. The same relevant passage is placed in turn at the beginning, in the middle and at the end of a document bundle. The question and all other information remain as similar as possible. It is then possible to compare whether the answer, quotation and conclusion remain stable. In addition, several pieces of evidence should be distributed across different documents so that the test goes beyond simple retrieval. In everyday work, clear questions, visible document boundaries and instructions to explicitly identify the passages used can help. These are organisational aids, not a guarantee against omissions. For decisions with high consequential costs, a person should still check the decisive original passages themselves rather than relying solely on a persuasively worded overview.

Sources & further reading

Written in our own words with AI assistance, based on the sources listed above. The text distinguishes research findings, technical prototypes and established knowledge. This feature is not a breaking-news report.

Keep exploring

All features on AI