LLMVisibility.wikiThe sourced reference on how AI assistants learn about, find and cite brands

Position bias and "lost in the middle"

From LLMVisibility.wiki

Position bias refers to a documented pattern in which language models retrieve and use information from the beginning or end of a long input context more reliably than information placed in the middle, an effect researchers labeled "lost in the middle".[1] The finding comes from controlled tests of multi-document question answering and key-value retrieval tasks.[1]

Key facts. Experiments on multi-document question answering and key-value retrieval found that model performance is highest when relevant information sits at the start or end of a long context and degrades significantly when it sits in the middle, even for models built for long contexts.[1]

The finding

Researchers analyzing how language models use long input contexts found that accuracy on tasks requiring identification of relevant information is not uniform across the context window.[1] The paper states that models "do not robustly make use of information in long input contexts".[1] Performance is "often highest when relevant information occurs at the beginning or end of the input context, and significantly degrades when models must access relevant information in the middle of long contexts".[1] This pattern held even for models explicitly built to handle long contexts.[1] The effect is relevant to anyone studying parametric knowledge vs. retrieved context, since it concerns how a model handles material placed in its context window rather than knowledge stored in its parameters.

How the experiments worked

The researchers used two task types to probe context use: multi-document question answering and key-value retrieval.[1] In these setups, the position of the single piece of information needed to answer a question was systematically varied within a longer input, and performance was measured at each position.[1] The study describes this as providing "a better understanding of how language models use their input context" along with new evaluation protocols for future long-context models.[1] This type of long-context evaluation is distinct from, but related to, approaches such as retrieval-augmented generation, where a retriever supplies a non-parametric memory of passages for a model to condition on during generation.[2]

Why position matters for retrieved pages

When an assistant performs a search and assembles retrieved passages into a prompt before generating an answer, the order in which those passages appear may affect whether their content is used, based on the general pattern observed in multi-document question answering tests.[1] This is relevant to understanding grounding and web search tools and to tools such as how ChatGPT finds and cites sources, how Claude finds and cites sources, how Gemini finds and cites sources, and how Perplexity finds and cites sources, all of which involve assembling retrieved content for a model to read. A related browser-assisted system fine-tuned a model to search and navigate the web and required it to collect references while browsing in support of its answers, illustrating one way retrieved content is tied to citations in an assistant's output.[3] For long-tail knowledge and small brands, where relevant information may be sparse within a retrieved set, where that information lands in the assembled context could plausibly matter, though the lost-in-the-middle study itself did not test brand-related content specifically.[1]

Limits of the evidence

The lost-in-the-middle study is industry and academic research focused on multi-document question answering and key-value retrieval tasks, not a study of commercial AI assistants' citation behavior or brand visibility.[1] It does not test how position effects interact with measuring LLM visibility for specific brands, and it predates many current assistant products, so its findings should be treated as evidence about model behavior on the tested tasks rather than a direct description of any particular assistant's current pipeline.[1] Broader context on how such systems build and update their knowledge is covered in material on how LLMs learn about brands, training data and web corpora, and knowledge cutoffs, none of which the lost-in-the-middle paper itself addresses.[1]

Common questions

What does "lost in the middle" mean?

It is the name researchers gave to a pattern in which language models perform worse at finding relevant information when that information is located in the middle of a long input context, compared to when it is near the beginning or end.[1] The term comes from a study of multi-document question answering and key-value retrieval tasks.[1]

Do language models read all of a long context equally?

No. The study found that models "do not robustly make use of information in long input contexts," with performance varying significantly by position.[1] Accuracy was often highest at the start or end of the context and dropped when the needed information was placed in the middle.[1]

Does this affect which sources an assistant uses?

The study did not test commercial assistants directly, but its general finding about multi-document question answering suggests that where a retrieved passage falls in an assembled context could influence whether a model draws on it.[1] Systems that combine retrieval with generation, such as retrieval-augmented generation architectures, depend on a retriever supplying passages that the model then conditions on[2] , and browser-based systems that collect references while browsing illustrate one mechanism connecting retrieval to cited output.[3]

Have newer models fixed position bias?

The lost-in-the-middle paper reports that the degradation occurred "even for explicitly long-context models," indicating the effect was not simply solved by extending context length at the time of the study.[1] The sources provided do not document whether or how later model generations have addressed this pattern, so that remains unconfirmed here.[1]

See also

References

  1. ^ a b c d e f g h i j k l m n o p q r s t u v w x y z 26 "Lost in the Middle: How Language Models Use Long Contexts". Liu et al., arXiv (TACL 2024). Retrieved November 2026.
  2. ^ a b c "Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks". Lewis et al., arXiv. Retrieved November 2026.
  3. ^ a b "WebGPT: Browser-assisted question-answering with human feedback". Nakano et al., arXiv. Retrieved November 2026.