> ## Documentation Index
> Fetch the complete documentation index at: https://wiki.platelunchcollective.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lost in the Middle

> Lost in the middle is the tendency of large language models to use information at the start and end of a long context well while under-weighting the middle.

*Core concept* · *AI Search Infrastructure*

## Definition

Lost in the middle is a documented tendency of large language models to use information at the beginning and end of a long context window well, while under-weighting information placed in the middle. The same fact influences an answer more or less depending on where it sits in the context the model is given.

## Why It Matters for AI Search

Retrieval places sources into a context window, and position affects whether they get used. A passage retrieved but buried in the middle of a long context can be effectively ignored, so being retrieved does not guarantee being read. This raises the value of concise, high-signal passages that earn a top position, and it is part of why shorter, denser sources often outperform longer ones in AI answers. The behavior belongs to the models, so the response is to be the source worth placing first.

## Related Terms

<CardGroup cols={2}>
  <Card title="Context window" href="/ai-search-glossary/context-window">See also</Card>
  <Card title="RAG" href="/ai-search-glossary/rag">See also</Card>
  <Card title="Reranking" href="/ai-search-glossary/reranking">See also</Card>
  <Card title="Passage ranking" href="/ai-search-glossary/passage-ranking">See also</Card>
  <Card title="Chunking" href="/ai-search-glossary/chunking">See also</Card>
</CardGroup>

## Relevant Plate Lunch Collective Services

[Citation-Ready Content](https://www.platelunchcollective.com/services/citation-ready-content)  [AI SEO](https://www.platelunchcollective.com/services/ai-seo)
