Chroma context rot study: LLM performance degrades non-uniformly with increasing context length
The Needle in a Haystack (NIAH) benchmark is widely used to assert that LLMs handle long contexts reliably, but it only tests narrow lexical retrieval and does not reflect real-world tasks requiring semantic understanding, ambiguity resolution, or distractor handling. Models are consequently assumed to perform uniformly across long-context scenarios when they do not.
NIAH produced consistently high scores across all major models, leading to the widely held perception that long-context handling was largely a solved problem—when in fact the benchmark only measured a narrow lexical retrieval capability.
Across all 18 LLMs and experiments, model performance consistently degrades with increasing input length in non-uniform ways.
Distractors amplify degradation as context grows; shuffled haystacks outperform structurally coherent ones; and models perform better when the needle is semantically distinct from the haystack.
Show all 7 reported metrics
Frequently asked questions
What did this team achieve with this AI workflow?
Across all 18 LLMs and experiments, model performance consistently degrades with increasing input length in non-uniform ways.
What tools did this team use?
text-embedding-3-small, text-embedding-3-large, jina-embeddings-v3, voyage-3-large, all-MiniLM-L6-v2, LongMemEval, vector database, GPT-4.1, Llama 4, Claude Opus 4.
What results were reported?
LLMs evaluated: 18; NoLiMa pairs requiring external knowledge: 72.4%; LLM call refusal rate: 0.035%; GPT-4.1 judge alignment to human judgment: >99% (source-reported, not independently verified).
What failed first in this deployment?
NIAH produced consistently high scores across all major models, leading to the widely held perception that long-context handling was largely a solved problem—when in fact the benchmark only measured a narrow lexical r…
How is this quality assurance AI workflow structured?
Controlled experiment design → Haystack chunk embedding → HDBSCAN topic clustering → Vector DB fairness validation → Multi-LLM evaluation runs → GPT-4.1 output judging → Performance degradation findings.