PulseAugur
EN
LIVE 18:35:37

LLMs struggle to retrieve info from middle of long context windows

Researchers have identified a significant drop in retrieval accuracy for LLMs when crucial information is placed in the middle of long context windows. This phenomenon, termed "lost in the middle," shows models perform well with information at the beginning or end of a prompt but struggle with data in the center. The issue stems from the attention mechanism's tendency to dilute positional signals and favor edge tokens, leading to degraded performance for middle-positioned content. Developers are advised to "edge-load" critical context, placing important facts and instructions at the prompt's start or end to improve retrieval accuracy. AI

IMPACT Developers must strategically position critical information at the beginning or end of prompts to ensure LLMs can accurately retrieve it from long context windows.

RANK_REASON The cluster describes a research finding about LLM behavior and provides practical advice based on that finding. [lever_c_demoted from research: ic=1 ai=1.0]

Read on dev.to — LLM tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

LLMs struggle to retrieve info from middle of long context windows

How we ranked this

Signal score
0 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
The cluster describes a research finding about LLM behavior and provides practical advice based on that finding. [lever_c_demoted from research: ic=1 ai=1.0]
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
paper, model release
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
147 days old
Aged out of breaking-news scoring windows; ranking reflects the durable signal from the full source set.

Full methodology in our editorial standards.

COVERAGE [1]

  1. dev.to — LLM tag TIER_1 English(EN) · A3E Ecosystem ·

    Retrieval accuracy falls roughly 50% when the answer sits in the middle of a long context window instead of at the edges

    <p>Retrieval accuracy falls roughly 50% when the answer sits in the middle of a long context window instead of at the edges. Liu et al. (2023) measured this across multiple transformer models in their "Lost in the Middle" study. The U-shaped performance curve is consistent. Model…