Knowledges 2 min

Context Rot: When LLMs “lose their memory” with long text

LLMs perform noticeably worse on long text, even though benchmarks like “Needle in a Haystack” still score near-perfect. My notes on Chroma's Context Rot research and what it means for RAG and context engineering.

Also in: Tiếng Việt · 中文 · 한국어 · 日本語

Chroma's research on Context Rot is pretty interesting and very close to what I run into every day working with LLMs. Basically, they proved something many devs have vaguely felt: LLMs perform noticeably worse when they have to process long text, even though traditional benchmarks like “Needle in a Haystack” still give near-perfect scores.

Context Rot: How Increasing Input Tokens Impacts LLM Performanceresearch.trychroma.com

Key findings

1. Needle-Question Similarity Matters

The vaguer it is, the harder it gets. When the question and the answer don't share much vocabulary, the model gets “lost” more often in long text. That explains why RAG sometimes gives poor results when a user's query doesn't directly match the content in the database.

Locked section: 2. Distractors Amplify Problems

Locked section: 3. Structure Matters More Than Content

Locked section: Practical implications

Locked section: For RAG Systems

Locked section: For Context Engineering

Locked section: For Production Systems

Locked section: Limitations and caveats

Locked section: Bottom line

The rest is for Knowledges members

Plus 8 more sections (about 1 min) for members

You are reading roughly the first third. Knowledges, Combo and Community plans unlock paid articles in full; the Zuey AI plan reads previews only.