AI CompendiumA public chart of the language
Home / Failure Modes / Attention Budget
Failure Modes

Attention Budget

The finite share of the model’s focus each token gets.

Definition

The informal limit on how much of the window the model can actually track well. Every token competes for attention, so adding context dilutes the rest rather than simply adding information.

This is why a prompt with one clear instruction beats a prompt with twenty. Context is not storage — it is a competition for focus.

Treating attention as a budget rather than a container explains a result that otherwise looks paradoxical: adding a correct document can reduce answer quality, because it competes with the documents that already sufficed. Retrieval quality means precision as well as recall.

How people use it
Deciding whether to add more documentation.
"The window is not the problem. The budget is. Pick the five passages that matter and drop the rest."
Worked example

Fewer chunks, better answers

A pipeline retrieves twenty chunks and quality is mediocre.

Rerank and keep the best five. Nothing was added; the two relevant paragraphs simply stopped competing with eighteen irrelevant ones. This is the cheapest quality improvement available to most retrieval systems.

Sources
Related terms