keqing:基于知识的问答是大型语言模型的自然思维链导师
keqing: knowledge-based question answering is a nature chain-of-thought mentor of LLM
AI总结:
本文提出Keqing框架,通过知识图谱检索和思维链引导,将复杂问题分解为子问题并推理答案,显著提升了LLM回答的可靠性和可解释性。
摘要:
大型语言模型(LLMs)在各种自然语言处理(NLP)任务中表现出色,尤其是在问答方面。然而,面对超出知识范围的问题,这些LLM往往会一本正经地胡说八道,潜在的解决方案是引入信息检索(IR)模块并基于检索到的知识生成响应。在本文中,我们提出了一个新颖的框架来辅助LLM(如ChatGPT),在知识图谱上检索与问题相关的结构化信息,并证明基于知识的问答(Keqing)可以作为一个自然的思维链(CoT)导师,引导LLM通过可解释的逻辑链顺序找到复杂问题的答案实体。具体而言,Keqing的工作流程将执行:根据预定义模板分解复杂问题,在知识图谱上检索候选实体,推理子问题的答案,最后生成带有推理路径的响应,这极大地提高了LLM响应的可靠性。在KBQA数据集上的实验结果表明,Keqing能够取得有竞争力的性能,并展示回答每个问题的逻辑。
英文摘要:
Large language models (LLMs) have exhibited remarkable performance on various natural language processing (NLP) tasks, especially for question answering. However, in the face of problems beyond the scope of knowledge, these LLMs tend to talk nonsense with a straight face, where the potential solution could be incorporating an Information Retrieval (IR) module and generating response based on these retrieved knowledge. In this paper, we present a novel framework to assist LLMs, such as ChatGPT, to retrieve question-related structured information on the knowledge graph, and demonstrate that Knowledge-based question answering (Keqing) could be a nature Chain-of-Thought (CoT) mentor to guide the LLM to sequentially find the answer entities of a complex question through interpretable logical chains. Specifically, the workflow of Keqing will execute decomposing a complex question according to predefined templates, retrieving candidate entities on knowledge graph, reasoning answers of sub-questions, and finally generating response with reasoning paths, which greatly improves the reliability of LLM's response. The experimental results on KBQA datasets show that Keqing can achieve competitive performance and illustrate the logic of answering each question.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。