arXiv:cs.CL· Yibin Lou, Yi Hu, Jianhui Chen, Chenpeng Wang, Muhan Zhang, Liangming Pan·· 16 小时前
LLM 该如何在知识冲突中取舍?研究揭示可泛化的引导方向
Which Knowledge Should LLMs Trust? Uncovering a Generalizable Steering Direction Across Knowledge Conflicts
AI 导读
研究发现,LLM 在内部参数知识与外部上下文知识之间的取舍是线性表示的,可沿模型残差流中的单一方向加以控制。该方向能跨上下文格式、知识类别和数据集泛化,并可从简单事实冲突迁移到 RAG、记忆和规则遵循三类任务。在四个模型家族和多种迁移设置下,引导均比未引导模型更有效地利用提示词中提供的信息。
正文
Abstract:Large Language Models (LLMs) frequently encounter conflicts between internal parametric knowledge and external contextual knowledge, yet the mechanisms governing this selection remain unclear. We show that the choice between context and parametric knowledge is linearly represented and can be controlled along a single direction in the model's residual stream. We first demonstrate that this direction generalizes across factual-conflict settings, including context formats, knowledge categories, and datasets, while consistently shifting behavior between parametric and contextual answers. We then transfer a direction learned from simple factual conflicts to three more complex task families: RAG, memory, and rule following, where models must acquire information from retrieved documents, interaction histories, or explicit rules. Across four model families and multiple transfer settings, steering consistently improves the use of prompt-provided information over the unsteered model. These results suggest that the direction captures a transferable preference for external knowledge rather than a mechanism specific to factual conflicts.
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.20067 [cs.CL] |
| (or arXiv:2610.20067v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.20067 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yibin Lou [view email]
[v1]
Wed, 14 Oct 2026 12:06:32 UTC (1,191 KB)
来源:arXiv:cs.CL · arxiv.org