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? <a href="https://getaimath.com/dictionary/context-rot/">Context Rot, explained simply</a> (The AI Math Dictionary)