Length Is Cheap, Competition Is Not: Attention Predicts Context Rot in Retrieval

Yinuo Liu

University of California San Diego

Published November 3, 2026 · on the feed November 4, 2026 · arXiv 2611.04169

Retrieval, memory & searchInterpretability & analysis Code arXiv ↗Hugging Face ↗Dataset ↗

The abstract

Why do language models fail on long inputs? The common answer is length. We show that, for retrieval, length is cheap and competition is not. On five open models (0.5B to 3B parameters, four families), neutral filler costs nothing: accuracy stays at 0.97 to 1.00, up to 32K tokens on Qwen2.5-1.5B. Statements in the format of the evidence, placed at the same positions, drop it to 0.16 to 0.33. A single statement that gives the queried key a rival value multiplies the loss by 9 to 110, and every additional rival adds to it. Inside the model, one quantity tracks the failure: the attention mass left on the evidence. Across 126,473 trials it explains up to 58% of the variance in loss; log length explains at most 8%. The masked-filler protocol behind the claim that length alone hurts reproduces on MMLU (11 to 18 points lost at 30K tokens), but fails a visible control in retrieval: masking costs 45 accuracy points at 32K tokens, while the same filler left visible costs none. In retrieval, context rot is a competition for attention. We release the probe and all 126K trial-level measurements.

The Brief

2:10

A short podcast summary of the paper. Written and voiced by AI.

Transcript

Length Is Cheap, Competition Is Not. Attention Predicts Context Rot in Retrieval. By Yinuo Liu, from the University of California San Diego. Published on the third of November.

Why do language models fail on long inputs? The usual answer is length. This work argues that, for retrieval at least, length is cheap and competition is not. What hurts a model is not how much text surrounds the evidence, but how much of that text competes with it for attention.

The tests run on five open models from four families, ranging from zero point five billion to three billion parameters. Neutral filler costs nothing: accuracy stays between zero point nine seven and one, up to thirty-two thousand tokens on one of the models. Swap that filler for statements written in the format of the evidence, placed at the same positions, and accuracy drops to between zero point one six and zero point three three. A single statement that gives the queried key a rival value multiplies the loss by anywhere from nine to one hundred and ten, and each additional rival adds to it.

Inside the model, one quantity tracks the failure: the attention mass left on the evidence. Across one hundred twenty-six thousand four hundred seventy-three trials, it explains up to fifty-eight percent of the variance in loss. Log length explains at most eight percent. The author also revisits the masked-filler protocol behind the claim that length alone hurts. On MMLU it reproduces, with eleven to eighteen points lost at thirty thousand tokens. In retrieval, though, it fails a visible control. Masking costs forty-five accuracy points at thirty-two thousand tokens, while the same filler left visible costs none.

The claim is stated for retrieval, and the models are small: five open models of up to three billion parameters. The masked-filler result on MMLU is reported as reproducing, so the argument is not that length never matters anywhere, only that in retrieval the loss follows competition for attention rather than length itself. The probe and all one hundred twenty-six thousand trial-level measurements are released.

In retrieval, then, context rot is a competition for attention. Filler that looks nothing like the answer is harmless. A distractor that looks like the answer, and especially one that offers a rival value for the same key, is what pulls attention away, and the attention left on the evidence is what predicts whether the model gets it right.

More with an account

Listen to every day’s papers

Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.

Join free
KipQuest: the day’s AI research, as podcasts and quests. All papers Android app Privacy Contact Episodes are written and voiced by AI from each paper. Summaries can contain mistakes: the paper is the source.