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

“合并冲突!”探索外部干扰因素对参数化知识图谱的影响

"Merge Conflicts!" Exploring the Impacts of External Distractors to Parametric Knowledge Graphs

Tsinghua University(清华大学);Carnegie Mellon University(卡内基梅隆大学)

Cheng Qian, Xinran Zhao, Sherry Tongshuang Wu

AI总结:

本文通过构建参数化知识图谱并引入多种外部干扰因素,系统研究LLMs在外部知识与参数化知识冲突时的响应行为,发现模型易受干扰并产生偏离甚至幻觉,揭示了整合外部知识的潜在风险。

摘要:

大型语言模型(LLMs)在预训练期间获取了大量知识,这些知识被称为其参数化知识。然而,为了保持最新状态并与人类指令对齐,LLMs在与用户交互过程中不可避免地需要外部知识。这引出了一个关键问题:当外部知识干扰其参数化知识时,LLMs将如何响应?为探究这一问题,我们提出了一个框架,系统性地引出LLM的参数化知识并引入外部知识。具体而言,我们通过构建参数化知识图谱来揭示LLMs的不同知识结构,从而发现这些影响,并通过不同程度、方法、位置和格式的干扰因素引入外部知识。我们在黑盒模型和开源模型上的实验表明,LLMs倾向于产生偏离其参数化知识的响应,尤其是在详细上下文中遇到直接冲突或信息的混淆性变化时。我们还发现,尽管LLMs对外部知识的真实性敏感,但它们仍可能被无关信息分散注意力。这些发现突显了在当前LLMs的交互过程中,即使以间接方式整合外部知识,也存在产生幻觉的风险。所有数据和结果均已公开。

英文摘要:

Large language models (LLMs) acquire extensive knowledge during pre-training, known as their parametric knowledge. However, in order to remain up-to-date and align with human instructions, LLMs inevitably require external knowledge during their interactions with users. This raises a crucial question: How will LLMs respond when external knowledge interferes with their parametric knowledge? To investigate this question, we propose a framework that systematically elicits LLM parametric knowledge and introduces external knowledge. Specifically, we uncover the impacts by constructing a parametric knowledge graph to reveal the different knowledge structures of LLMs, and introduce external knowledge through distractors of varying degrees, methods, positions, and formats. Our experiments on both black-box and open-source models demonstrate that LLMs tend to produce responses that deviate from their parametric knowledge, particularly when they encounter direct conflicts or confounding changes of information within detailed contexts. We also find that while LLMs are sensitive to the veracity of external knowledge, they can still be distracted by unrelated information. These findings highlight the risk of hallucination when integrating external knowledge, even indirectly, during interactions with current LLMs. All the data and results are publicly available.

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

↑