arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2304.14732cs.CL
收藏

链中搜索:通过搜索交互式增强大语言模型以应对知识密集型任务

Search-in-the-Chain: Interactively Enhancing Large Language Models with Search for Knowledge-intensive Tasks

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);National University of Singapore(新加坡国立大学)

Shicheng Xu, Liang Pang, Huawei Shen, Xueqi Cheng, Tat-Seng Chua

AI总结:

本文提出SearChain框架,通过LLM生成查询链、IR验证与补全知识、标注参考文献,在保持推理链的同时提升知识密集型任务中的准确性、可信度与可追溯性。

摘要:

使大语言模型(LLM)生成的内容准确、可信且可追溯至关重要,尤其是在需要多步推理且每一步都需要知识来解决的复杂知识密集型任务中。检索增强生成(Retrieval-augmented generation)具有解决这一问题的良好潜力。然而,在何处以及如何将信息检索(IR)引入LLM是一个重大挑战。以往的工作存在以下问题:IR检索到的错误知识会误导LLM,并且IR与LLM之间的交互会破坏LLM的推理链。本文提出了一个名为Search-in-the-Chain(SearChain)的新框架,用于LLM与IR之间的交互以解决这些挑战。首先,LLM生成名为Chain-of-Query(CoQ)的推理链,其中每个节点由一个面向IR的查询-答案对组成。其次,IR验证CoQ中每个节点的答案。当IR给出高置信度时,它会纠正与检索到的信息不一致的答案,从而提高可信度。第三,LLM可以在CoQ中表明其缺失的知识,并依靠IR向LLM提供这些知识。这些操作在推理和知识方面提高了准确性。最后,SearChain生成推理过程,并为每个推理步骤标注支持文档的参考文献,从而提高了可追溯性。在SearChain中与IR的交互形成了一种基于树的新型推理路径,使LLM能够动态修改推理方向。实验表明,SearChain在复杂的知识密集型任务上优于最先进的基线方法,包括多跳问答、槽填充、事实核查和长文本问答。

英文摘要:

Making the content generated by Large Language Model (LLM), accurate, credible and traceable is crucial, especially in complex knowledge-intensive tasks that require multi-step reasoning and each step needs knowledge to solve. Retrieval-augmented generation is good potential to solve this problem. However, where and how to introduce Information Retrieval (IR) to LLM is a big challenge. Previous work has the problems that wrong knowledge retrieved by IR misleads the LLM and interaction between IR and LLM breaks the reasoning chain of LLM. This paper proposes a novel framework named \textbf{Search-in-the-Chain} (SearChain) for the interaction between LLM and IR to solve the challenges. First, LLM generates the reasoning chain named Chain-of-Query (CoQ) where each node consists of an IR-oriented query-answer pair. Second, IR verifies the answer of each node of CoQ. It corrects the answer that is not consistent with the retrieved information when IR gives high confidence, which improves the credibility. Third, LLM can indicate its missing knowledge in CoQ and rely on IR to provide this knowledge to LLM. These operations improve the accuracy in terms of reasoning and knowledge. Finally, SearChain generates the reasoning process and marks references to supporting documents for each reasoning step, which improves traceability. Interaction with IR in SearChain forms a novel reasoning path based on a tree, which enables LLM to dynamically modify the direction of reasoning. Experiments show that SearChain outperforms state-of-the-art baselines on complex knowledge-intensive tasks including multi-hop Q\&A, slot filling, fact checking, and long-form Q\&A.

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

↑