Why can more text make the answer count for less?
Before it answers, a model weighs every part of what you gave it against the question, and those weights are shares of one whole. Paste more, and the sentence that holds the answer gets a smaller slice, especially when other sentences look like it or it sits in the middle.
Three ways of giving the model the store's policy along with your question:
Where the model's attention goes
More text, a smaller share
The answer's share of attention, by how many sentences you paste.
Where you put it
The answer's share of attention, by its place among 25 sentences.
Attention on the answer
The one sentence that says when the store closes on Sundays.
Attention on look-alikes
Sentences about other days, other shops and other closing times.
Attention on everything else
Returns, gift cards, delivery: each takes a sliver.
Attention is shared out
The model scores every sentence against the question, and the scores become shares that add up to 100%. One more sentence means a thinner slice for everyone, the answer included.
Look-alikes compete hardest
A sentence about Saturday hours scores almost as high as the Sunday one. A few of those take more attention away than a hundred unrelated lines.
The middle gets less
Models tested on long inputs have often used information at the start and the end better than information in the middle. Newer models show this less, and it depends on the task. Turn the middle dip off to see the toy without it.
The trap
Pasting everything feels safe, because nothing is left out. But every extra line takes a share of the attention, so the one line that matters gets less.
Open Under the hood to see how the scores are made and turned into shares.
- the answer: 4
- a look-alike: 3.2
- anything else: random, around 0, give or take 1
- then every sentence loses up to 1.5 for sitting in the middle: 1.5 × 4x(1 − x), x from 0 (first) to 1 (last)
Real models do this for every word, in many layers and many attention heads at once, and models trained for long inputs spread attention better. The idea holds: shares add up to 100%, so more competing text means less for each part. A small share can still be enough for a real model to answer, so long-context tests measure the answers directly.
Why knowing this helps you
You decide what goes into the context: keep it short, put the key part first or last, and say where to look.
Paste less
Give only the part of the document that matters. A shorter context leaves a bigger share for each line in it.
Put it first or last
If you have to paste something long, put the document first and your question at the end.
Point at it
Say where to look: "use the Sunday hours in the opening hours section". Naming the part raises its score above the look-alikes.
Ask for the quote
Ask the model to quote the sentence it used. If it quotes the Saturday line, you caught the mix-up before it mattered.
Checked on 2026-10-06 against Lost in the Middle (Liu et al., 2023), Chroma's Context Rot report (2025) on distractors and length, and Anthropic's long-context tips on putting documents first and asking for quotes.
Where this goes next
Next: tokenization
The model reads text as pieces of words. Why it miscounts letters, and why some languages cost more.
Then: calibration
How sure the model sounds, compared with how often it is right.
Every score and share on this page comes from a C engine compiled to WebAssembly. The scores are made up to stand for how well each sentence matches the question; a real model works them out word by word.