From the source
Perplexity's explainer describes context rot, the gradual loss of accuracy that sets in as an AI agent's context fills up during a long task.- An agent's context is everything the model can draw on for its next step, including instructions, earlier messages, search results and text from websites or files, and it grows as the agent works.
- Context rot is not the same as running out of room in the context window: it starts well before that point, while everything still fits, and it is not context poisoning either, since an agent with accurate, complete information can still experience it.
- Perplexity attributes the effect to limited attention, the mechanism by which a model decides which parts of its input to draw on, so the more text there is, the less attention each part gets.
- It cites a Chroma study of 18 models from
Anthropic,
OpenAI, Google and
Alibaba in which a hidden sentence about writing advice was buried in a growing collection of essays; accuracy fell as more text was added, and the researchers predict a bigger drop in multi-step real work.
- Perplexity says the problem typically shows up as lost instructions, missed details from the middle of a task, mixed-up similar information, and errors that are hard to spot because the agent returns output that looks finished.
