arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.09210cs.CLcs.AI
收藏

Chain-of-Note:增强检索增强语言模型的鲁棒性

Chain-of-Note: Enhancing Robustness in Retrieval-Augmented Language Models

Tecent AI Lab(腾讯人工智能实验室)

Wenhao Yu, Hongming Zhang, Xiaoman Pan, Kaixin Ma, Hongwei Wang, Dong Yu

AI总结:

本文提出Chain-of-Noting方法,通过为检索文档生成顺序阅读笔记来评估相关性并整合信息,从而提升检索增强语言模型在噪声文档和未知场景下的鲁棒性,实验显示其在多个开放域问答基准上显著优于标准RALMs。

摘要:

检索增强语言模型(RALMs)代表了大语言模型能力上的重大进步,尤其是在利用外部知识源减少事实性幻觉方面。然而,检索到的信息的可靠性并不总是有保证的。检索到不相关数据可能导致误导性回答,并且可能使模型忽视其自身知识,即使它拥有足够信息来回答查询。此外,标准RALMs通常难以评估它们是否拥有足够的内在知识和检索知识来提供准确答案。在缺乏知识的情况下,这些系统在答案无法获得时理想上应回答“unknown”。针对这些挑战,我们提出了Chain-of-Noting(CoN),这是一种旨在提高RALMs在面对噪声、不相关文档以及处理未知场景时鲁棒性的新方法。CoN的核心思想是为检索到的文档生成顺序阅读笔记,从而能够全面评估它们与给定问题的相关性,并整合这些信息来形成最终答案。我们使用ChatGPT为CoN创建训练数据,随后在LLaMa-2 7B模型上进行训练。我们在四个开放域问答基准上的实验表明,配备CoN的RALMs显著优于标准RALMs。值得注意的是,在完全噪声的检索文档条件下,CoN在EM分数上平均提高了+7.9;对于超出预训练知识范围的实时问题,拒绝率提高了+10.5。

英文摘要:

Retrieval-augmented language models (RALMs) represent a substantial advancement in the capabilities of large language models, notably in reducing factual hallucination by leveraging external knowledge sources. However, the reliability of the retrieved information is not always guaranteed. The retrieval of irrelevant data can lead to misguided responses, and potentially causing the model to overlook its inherent knowledge, even when it possesses adequate information to address the query. Moreover, standard RALMs often struggle to assess whether they possess adequate knowledge, both intrinsic and retrieved, to provide an accurate answer. In situations where knowledge is lacking, these systems should ideally respond with "unknown" when the answer is unattainable. In response to these challenges, we introduces Chain-of-Noting (CoN), a novel approach aimed at improving the robustness of RALMs in facing noisy, irrelevant documents and in handling unknown scenarios. The core idea of CoN is to generate sequential reading notes for retrieved documents, enabling a thorough evaluation of their relevance to the given question and integrating this information to formulate the final answer. We employed ChatGPT to create training data for CoN, which was subsequently trained on an LLaMa-2 7B model. Our experiments across four open-domain QA benchmarks show that RALMs equipped with CoN significantly outperform standard RALMs. Notably, CoN achieves an average improvement of +7.9 in EM score given entirely noisy retrieved documents and +10.5 in rejection rates for real-time questions that fall outside the pre-training knowledge scope.

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

↑