Learn AI Math

Context Rot

What is Context Rot?

In one sentence: Context rot is when a model gets worse at using information as its context gets longer and more cluttered.

Even if a lot of text fits, models do not pay equal attention to all of it. Important details can get lost in the middle of a long context, and old, irrelevant content can confuse the model.

What does Context Rot look like?

A model given 300 pages might miss a key fact on page 150 that it would have caught in a 5-page document.

Why does Context Rot matter?

It is why stuffing everything into the context is not always better.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.