arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.11900cs.CL
收藏

探究大型语言模型知识编辑中的多跳事实捷径

Investigating Multi-Hop Factual Shortcuts in Knowledge Editing of Large Language Models

School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院);School of Cyberspace Security, Southeast University(东南大学网络空间安全学院)

Tianjie Ju, Yijin Chen, Xinwei Yuan, Zhuosheng Zhang, Wei Du, Yubin Zheng, Gongshen Liu

AI总结:

本文探究了LLMs在多跳知识推理中利用初始与终端实体间事实捷径的现象,发现捷径强度与实体共现频率相关,并提出擦除捷径神经元的方法显著降低了多跳知识编辑的失败率。

摘要:

近期的研究展示了大型语言模型(LLMs)在回忆知识和推理方面的强大能力。然而,LLMs将这两种能力结合以通过多跳事实进行推理的可靠性尚未得到广泛探索。本文系统地研究了LLMs利用基于多跳知识初始实体和终端实体之间直接连接的捷径的可能性。我们首先通过知识神经元探究事实捷径的存在性,揭示出:(i) 事实捷径的强度与初始实体和终端实体在预训练语料库中的共现频率高度相关;(ii) 与思维链提示相比,少样本提示在回答多跳问题时利用了更多的捷径。然后,我们从多跳知识编辑的角度分析了事实捷径带来的风险。分析表明,大约20%的失败归因于捷径,且这些失败实例中的初始实体和终端实体通常在预训练语料库中具有更高的共现次数。最后,我们提出擦除捷径神经元以减轻相关风险,并发现该方法显著减少了由捷径导致的多跳知识编辑失败。

英文摘要:

Recent work has showcased the powerful capability of large language models (LLMs) in recalling knowledge and reasoning. However, the reliability of LLMs in combining these two capabilities into reasoning through multi-hop facts has not been widely explored. This paper systematically investigates the possibilities for LLMs to utilize shortcuts based on direct connections between the initial and terminal entities of multi-hop knowledge. We first explore the existence of factual shortcuts through Knowledge Neurons, revealing that: (i) the strength of factual shortcuts is highly correlated with the frequency of co-occurrence of initial and terminal entities in the pre-training corpora; (ii) few-shot prompting leverage more shortcuts in answering multi-hop questions compared to chain-of-thought prompting. Then, we analyze the risks posed by factual shortcuts from the perspective of multi-hop knowledge editing. Analysis shows that approximately 20% of the failures are attributed to shortcuts, and the initial and terminal entities in these failure instances usually have higher co-occurrences in the pre-training corpus. Finally, we propose erasing shortcut neurons to mitigate the associated risks and find that this approach significantly reduces failures in multiple-hop knowledge editing caused by shortcuts.

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

↑