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

利用检索增强探究大型语言模型的事实知识边界

Investigating the Factual Knowledge Boundary of Large Language Models with Retrieval Augmentation

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Baidu Inc.(百度公司);Beijing Key Laboratory of Big Data Management and Analysis Methods(北京市大数据管理与分析方法重点实验室)

Ruiyang Ren, Yuhao Wang, Yingqi Qu, Wayne Xin Zhao, Jing Liu, Hao Tian, Hua Wu, Ji-Rong Wen, Haifeng Wang

AI总结:

本文首次分析LLMs的事实知识边界,发现其对自身知识过度自信且难以处理内外知识冲突,并证明检索增强能提升知识边界意识,同时提出动态利用支持文档的判断策略。

摘要:

大型语言模型(LLMs)在利用世界知识解决广泛任务方面展现出令人瞩目的能力。然而,目前仍不清楚LLMs能在多大程度上感知自身的事实知识边界,尤其是在检索增强设置下。在本研究中,我们首次对LLMs的事实知识边界以及检索增强如何影响开放域问答(QA)中的LLMs进行了分析,并获得了一系列重要发现。具体而言,我们聚焦于三个研究问题,通过考察LLMs的问答能力、先验判断能力和后验判断能力来展开分析。我们给出的证据表明,LLMs对其知识抱有坚定不移的自信,无法很好地处理内部知识与外部知识之间的冲突。此外,检索增强被证明是增强LLMs知识边界意识的有效方法。我们进一步开展了充分的实验,以考察不同因素如何影响LLMs,并提出了一种利用我们的判断策略动态使用支持文档的简单方法。另外,我们发现支持文档与问题之间的相关性会显著影响LLMs的问答能力和判断能力。复现本工作的代码可在 https://github.com/RUCAIBox/LLM-Knowledge-Boundary 获取。

英文摘要:

Large language models (LLMs) have shown impressive prowess in solving a wide range of tasks with world knowledge. However, it remains unclear how well LLMs are able to perceive their factual knowledge boundaries, particularly under retrieval augmentation settings. In this study, we present the first analysis on the factual knowledge boundaries of LLMs and how retrieval augmentation affects LLMs on open-domain question answering (QA), with a bunch of important findings. Specifically, we focus on three research questions and analyze them by examining QA, priori judgement and posteriori judgement capabilities of LLMs. We show evidence that LLMs possess unwavering confidence in their knowledge and cannot handle the conflict between internal and external knowledge well. Furthermore, retrieval augmentation proves to be an effective approach in enhancing LLMs' awareness of knowledge boundaries. We further conduct thorough experiments to examine how different factors affect LLMs and propose a simple method to dynamically utilize supporting documents with our judgement strategy. Additionally, we find that the relevance between the supporting documents and the questions significantly impacts LLMs' QA and judgemental capabilities. The code to reproduce this work is available at https://github.com/RUCAIBox/LLM-Knowledge-Boundary.

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

↑