arXiv:2611.07778v1 Announce Type: new
Abstract: Language models lose accuracy when a prompt contains non-evidential context: irrelevant statements from unrelated domains, or random off-distribution tokens, with no competing answer and no semantic overlap with the query. Such noise pervades retrieval-augmented, tool-using, and long-context deployments, yet the failure has lacked a mechanistic account. We trace the corruption to the Intrusion Pathway, which starts with MLPs enriching both query-subject and irrelevant-token representations, parroting heads carry prefix-token content to the prediction position, and relational readers largely avoid unrelated sources. Nevertheless, preserved subject enrichment and selective reading do not prevent intrusion in the broader computation. We then localize part of this interference to a sparse set of attention heads, which we call intrusion heads. Their prefix-derived writes promote distractor-related content, while their reduced support for the correct answer arises primarily from weaker non-prefix contributions rather than direct suppression by the prefix. The same heads transfer across tasks and distractor types and are largely weight-disjoint from the heads that integrate relevant contextual evidence, enabling a class-conditional intervention. Replacing the corrupted last-token residual with its clean counterpart, an oracle probe that requires a matched clean forward pass, recovers 97.6% on average of the distractor-induced drop across four downstream tasks. A deployable mask level knockout of about ten heads, roughly 1% of the model's attention heads, recovers 57% at bounded cost to helpful context.
arxiv
New Study Reveals How Irrelevant Context Degrades LLM Accuracy and How to Fix It
A new arXiv paper identifies a mechanism called the Intrusion Pathway that explains why language models lose accuracy when prompts contain irrelevant, off-topic context. The authors localize the problem to a sparse set of 'intrusion heads' and show that knocking out about 1% of attention heads recovers 57% of the performance drop at bounded cost. This offers a practical intervention for improving robustness in RAG, tool-using, and long-context systems.
Provides a mechanistic explanation and a deployable mitigation for a common failure mode in LLM deployments, with clear practical implications.
Comments & Questions (0)
No comments yet
Be the first to comment!