arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.25827cs.AIcs.CL
收藏

当检索与技能部分冲突时:理解语言模型中的过程幻觉

When Retrieval Partially Conflicts with Skills: Understanding Procedural Hallucination in Language Models

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Xi’an Jiaotong-Liverpool University(西交利物浦大学);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)

Guanqun Jiang, Pengfei Cao, Kang Liu, Jun Zhao

AI总结:

本研究针对语言模型的过程幻觉问题,构建SourceClash基准,发现冲突检索下模型有效答案率仅25.7%,残差替换和值路径干预可提升答案有效性,揭示了部分冲突检索对技能引导生成的影响。

摘要:

语言模型越来越多地使用为任务执行提供可复用指令和过程的技能。在选择相关技能后,模型可能需要将其控制过程与检索到的任务上下文结合应用。当检索到的上下文有用但包含与技能冲突的线索时,模型必须保留兼容信息同时拒绝冲突线索。我们研究模型采用此类线索并产生检索支持但技能无效的答案的失败情况,将其称为过程幻觉。我们推出SourceClash,这是一个匹配基准,涵盖10个过程领域的1271个任务束和6355个提示。每个任务束固定任务、技能规范和答案空间,同时改变技能与检索的关系。在9个模型上,冲突检索下的有效答案率平均为25.7%,而在两种支持性检索设置下分别为78.2%和72.8%。对开放权重模型的机制分析显示,答案偏好差异通常在生成开始后不久达到最大值。残差替换使模型向有效答案方向移动,而注意力分解将大部分修复归因于值向量。对已识别的值路径进行干预也提高了最终答案的有效性。这些结果表征了部分冲突的检索如何改变技能引导的生成过程。

英文摘要:

Language models increasingly use skills that provide reusable instructions and procedures for task execution. After a relevant skill has been selected, the model may need to apply its governing procedure together with retrieved task context. When the retrieved context is useful but contains cues that violate the skill, the model must retain compatible information while rejecting the conflicting cues. We study failures in which the model adopts such cues and produces a retrieval-supported but skill-invalid answer, which we call procedural hallucination. We introduce SourceClash, a matched benchmark with 1,271 bundles and 6,355 prompts across ten procedural domains. Each bundle fixes the task, skill specification, and answer space while varying the relation between the skill and retrieval. Across nine models, valid-answer rates average 25.7% under conflicting retrieval, compared with 78.2% and 72.8% under two supportive retrieval settings. Mechanistic analysis of open-weight models shows that the answer-preference difference typically reaches its maximum shortly after generation begins. Residual replacement moves the model toward valid answers, while attention decomposition attributes most of the repair to value vectors. Intervention at the identified value pathway also improves final answer validity. These results characterize how partly conflicting retrieval changes skill-guided generation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑