Skip to content
LATEST
Technology

Irrelevant context may erode AI accuracy through about 10 heads

An arXiv preprint traces language-model errors to a sparse set of attention heads, but the finding is not yet peer reviewed.

Irrelevant context may erode AI accuracy through about 10 heads

Irrelevant prompt text may reduce language-model accuracy through a small set of attention heads, according to an arXiv preprint by Dikshant Kukreja and 10 co-authors published on November 6.

The paper says a mask-level knockout of about 10 heads, roughly 1% of the model's attention heads, recovered 57% of the distractor-induced accuracy drop, compared with 97.6% for an oracle intervention across four downstream tasks.

The finding targets a practical weakness in retrieval-augmented, tool-using and long-context AI systems, where prompts can include material that is not evidence for the answer. The authors define that material as irrelevant statements from unrelated domains or random out-of-distribution tokens that do not compete with the correct answer or semantically overlap with the query.

“Language models lose accuracy when a prompt contains non-evidential context,” the authors wrote in the preprint abstract. They said the failure had lacked a mechanistic account despite its relevance to systems that retrieve documents, call tools or process long inputs.

The authors trace the problem to what they call the Intrusion Pathway. In their description, multilayer perceptrons, or MLPs, enrich both the query subject and irrelevant-token representations, while attention components they call parroting heads carry prefix-token content to the prediction position.

Attention heads are subcomponents that help a transformer model decide which earlier tokens to use when forming a response. The paper says another class of components, relational readers, largely avoids unrelated sources, but that selective reading does not stop interference elsewhere in the model's computation.

The authors localize part of the interference to “intrusion heads,” a sparse set of attention heads whose prefix-derived writes promote distractor-related content. They say the same heads transfer across tasks and distractor types and are largely weight-disjoint from heads that integrate relevant contextual evidence.

The strongest recovery result came from replacing the corrupted last-token residual with a clean counterpart. The authors describe that as an oracle probe because it requires a matched clean forward pass, making it a diagnostic method rather than a directly deployable production technique.

The more deployable intervention was the mask-level knockout of about 10 heads.

The paper was submitted on November 5 and lists 32 pages, 25 figures and 29 tables, with associated code and a project website linked from arXiv.

Source: preprint, arXiv Computer Science Artificial Intelligence, November 6, 2026.

More stories

Latest news