The Practitioner's LLM Curriculum ← Week 2 · Context Position Viz
Interactive · Week 2 · Section 4

Lost in the middle.

Where you place information in a long context determines whether the model finds it. Modern frontier models have flattened the U-shaped recall curve, but they have not eliminated it. Drag the needle along the document, switch between models and context lengths, and watch the recall probability change.

Model
Context length

Document with the needle

Click or drag the bar to move the needle
start
25%
middle
75%
end
Position
50%
Expected recall
Tokens before needle

Recall curve · current settings

Probe · simulate 20 retrieval attempts

Click "Run probe" to simulate 20 retrieval attempts at the current position. Each draws from the recall distribution above.

What's happening here