Does More Context Dilute Attention? A Fixed-Distance Measurement in Trained Language Models

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.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-23
DOI
https://doi.org/10.5281/zenodo.24456057
Primary Topic
Topic Modeling
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Does More Context Dilute Attention? A Fixed-Distance Measurement in Trained Language Models

Byoung-Hwa Lee
Zenodo (CERN European Organization for Nuclear Research)
Topic Modeling
preprint

Does More Context Dilute Attention? A Fixed-Distance Measurement in Trained Language Models

Byoung-Hwa Lee
preprint en

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.

Zenodo (CERN European Organization for Nuclear Research)
Electronics and Telecommunications Research Institute (KR)
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Does More Context Dilute Attention? A Fixed-Distance Measurement in Trained Language Models — Byoung-Hwa Lee · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS