Does More Context Dilute Attention? A Fixed-Distance Measurement in Trained Language Models
Year: 2026
Type: preprint
Abstract: How quickly does a longer context dilute attention to a target that stays at a fixed distance from the query? If every key competed equally, each doubling of the context would double the odds against the target. We measure this rate as a count-dilution exponent, the slope of the log odds against the target in log context length, with the target at a fixed distance and context added only in front. Inside one forward pass we also read how much attention mass the newly added keys contribute directly, with the logits of that pass left as they are. In 11 trained language models, unrelated Wikipedia text dilutes attention far more slowly than a count of keys predicts: on heads selected for attending to such a target the exponent is -0.01 to 0.32, against 1.04 for an untrained model, and outside the attention sink the added keys take far less weight than equal competitors would. This changes when the added text competes for the same retrieval. In a key-value task with the target line and prompt held fixed, replacing unrelated text with distractor lines in the prompt's format raises the exponent by 0.11 to 0.62 in 5 models selected for short-length accuracy, and their accuracy then falls with length. Trained attention does not treat every added token as an equal competitor: how fast a target is diluted depends on what is added, not only on how much.
Author: Lee, Byounghwa
Language: English
Topic: Topic Modeling
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7238780995
Cites:
Cited by:
Related to:
