arXiv cs.AI· Dikshant Kukreja, Gautam Gupta, Avni Mittal, Avinash Anand, Kritarth Prasad, Zhengkui Wang, Timothy Liu, Rajiv Ratn Shah, Aik Beng Ng, Simon See, Erik Cambria·· 11 小时前AI 评分38
研究揭示语言模型的“入侵通路”:非证据性上下文如何降低模型表现
The Intrusion Pathway: How Non-Evidential Context Degrades Language Model Performance
AI 导读
研究将语言模型受非证据性上下文干扰的失效机制定位到“入侵通路”:MLP 同时丰富查询主体与无关 token 的表示,鹦鹉学舌式注意力头把前缀内容带到预测位置。约十个“入侵头”(约占模型注意力头 1%)的掩码敲除可恢复 57% 的干扰导致性能下降,且对有用上下文影响有限;用干净残差替换受损末 token 的 oracle 探针在四项下游任务上平均恢复 97.6%。
正文 · 原文
Authors:Dikshant Kukreja, Gautam Gupta, Avni Mittal, Avinash Anand, Kritarth Prasad, Zhengkui Wang, Timothy Liu, Rajiv Ratn Shah, Aik Beng Ng, Simon See, Erik Cambria
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.
| Comments: | 32 pages, 25 figures, 29 tables. Dikshant Kukreja and Gautam Gupta contributed equally. Website: this https URL Code: this https URL |
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.07778 [cs.AI] |
| (or arXiv:2611.07778v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.07778 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Dikshant Kukreja [view email]
[v1]
Thu, 5 Nov 2026 10:18:07 UTC (1,075 KB)
来源:arXiv cs.AI · arxiv.org