Get the daily emailDaily email
  1. Home
  2. Research
  3. This story

Context rot in retrieval comes from competing facts, not length

A new paper tests key-value retrieval at 512 to 32K tokens on five small open models (0.5B to 3B) and finds neutral filler nearly free, with accuracy near 1.0 at 32K, while statements giving the queried key a rival value drop accuracy to 0.11-0.21. Attention…

Published Read the original

Ranked #9 of 27 on Thursday, November 5

Why it matters

For RAG design, it suggests deduplicating and removing conflicting chunks matters more than simply shortening context.

What happened

1 min read

A new paper tests key-value retrieval at 512 to 32K tokens on five small open models (0.5B to 3B) and finds neutral filler nearly free, with accuracy near 1.0 at 32K, while statements giving the queried key a rival value drop accuracy to 0.11-0.21. Attention mass on the correct evidence explains 35-58% of loss variance, versus 2-8% for context length. Code and trial-level data are public.

inscraper analysis

Our analysis

The finding matches practical experience: near-duplicate but contradictory documents mislead models more than irrelevant text. The limits are significant, though: one synthetic task, models up to 3B, and a predictive rather than causal link. Its critique of the masked-filler protocol, and the call for a visible neutral control in length studies, is useful to anyone evaluating long-context claims. Whether it holds on frontier-size models and real RAG pipelines is still open.

More in Research