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

知识驱动的思维链:探索大语言模型在知识密集型问答中的忠实推理

Knowledge-Driven CoT: Exploring Faithful Reasoning in LLMs for Knowledge-intensive Question Answering

Sino-French Engineering School, Beihang University(北京航空航天大学中法工程师学院);School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);Meituan Inc.(美团公司)

Keheng Wang, Feiyu Duan, Sirui Wang, Peiguang Li, Yunsen Xian, Chuantao Yin, Wenge Rong, Zhang Xiong

AI总结:

针对大语言模型在知识密集型问答中推理不忠实的问题,本文提出知识驱动思维链框架 KD-CoT,通过多轮外部知识交互验证修正推理轨迹,并利用反馈增强检索器,在 KBQA 任务上显著提升了推理成功率和知识检索性能。

摘要:

配备思维链(CoT)后,大语言模型(LLMs)在各种下游任务中展现出令人印象深刻的推理能力。即便如此,由于受到幻觉问题和无法访问外部知识的困扰,LLMs 常常产生不正确或不忠实的中间推理步骤,尤其是在回答知识密集型任务(如基于知识库的问答,KBQA)时。为了缓解这一问题,我们提出了一个名为知识驱动思维链(KD-CoT)的框架,通过与外部知识交互来验证和修正 CoT 中的推理轨迹,从而克服幻觉和错误传播。具体而言,我们将 LLMs 的 CoT 推理过程形式化为结构化的多轮问答格式。在每一轮中,LLMs 与一个检索外部知识的问答系统交互,并基于检索到的精确答案生成忠实的推理轨迹。LLMs 的结构化 CoT 推理由我们开发的 KBQA CoT 数据集所促进,该数据集既可作为上下文学习(in-context learning)的演示,也可作为反馈增强来训练一个鲁棒的检索器。在 WebQSP 和 ComplexWebQuestion 数据集上的大量实验证明了所提出的 KD-CoT 在任务求解推理生成中的有效性,其绝对成功率分别比普通 CoT 上下文学习高出 8.0% 和 5.1%。此外,我们提出的反馈增强检索器在知识检索方面优于最先进的基线方法,在 Hit 和召回率性能上取得了显著提升。我们的代码和数据已在 https://github.com/AdelWang/KD-CoT/tree/main 上发布。

英文摘要:

Equipped with Chain-of-Thought (CoT), Large language models (LLMs) have shown impressive reasoning ability in various downstream tasks. Even so, suffering from hallucinations and the inability to access external knowledge, LLMs often come with incorrect or unfaithful intermediate reasoning steps, especially in the context of answering knowledge-intensive tasks such as KBQA. To alleviate this issue, we propose a framework called Knowledge-Driven Chain-of-Thought (KD-CoT) to verify and modify reasoning traces in CoT via interaction with external knowledge, and thus overcome the hallucinations and error propagation. Concretely, we formulate the CoT rationale process of LLMs into a structured multi-round QA format. In each round, LLMs interact with a QA system that retrieves external knowledge and produce faithful reasoning traces based on retrieved precise answers. The structured CoT reasoning of LLMs is facilitated by our developed KBQA CoT collection, which serves as in-context learning demonstrations and can also be utilized as feedback augmentation to train a robust retriever. Extensive experiments on WebQSP and ComplexWebQuestion datasets demonstrate the effectiveness of proposed KD-CoT in task-solving reasoning generation, which outperforms the vanilla CoT ICL with an absolute success rate of 8.0% and 5.1%. Furthermore, our proposed feedback-augmented retriever outperforms the state-of-the-art baselines for retrieving knowledge, achieving significant improvement in Hit and recall performance. Our code and data are released on https://github.com/AdelWang/KD-CoT/tree/main.

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

↑