DAIR.AI (@dair_ai) — Agentic creativity and cognition, Harnesses and agentic coding

Original post: https://x.com/dair_ai/status/2117958798841434118
Posted: 2026-11-04T12:35:02Z · Collected: 2026-11-05T15:30:00Z

Why it matters

Actionable guidance for agent memory and retrieval design.

Summary

@dair_ai summarises a UC San Diego paper (arXiv 2611.04169) on context rot. Length alone barely hurts: 32K tokens of unrelated text left Qwen2.5-1.5B at 97–100%. Look-alike statements with wrong values drop accuracy to 16–33%, and attention left on the correct passage explains up to 58% of errors versus at most 8% for length. The advice is to deduplicate and resolve conflicts in RAG and agent memory. The attached image is from the paper.

Pull quotes

For RAG and agent memory, dedupe and resolve conflicting statements before they reach the model. That matters more than trimming tokens.

It also offers an interesting discussion of why context rot happens in LLMs.

Screenshot notes

Topics

Keywords

context rot, long context, retrieval, attention, agent memory

Archive

Browse