MindMap:知识图谱提示激发大型语言模型中的思维图
MindMap: Knowledge Graph Prompting Sparks Graph of Thoughts in Large Language Models
AI总结:
本文提出 MindMap 提示流程,利用知识图谱增强 LLM 的外部知识推理与过程可解释性,并在医疗等问答任务及新幻觉基准上验证其效果。
摘要:
大型语言模型(LLM)在自然语言理解与生成任务上取得了显著性能。然而,它们常受到难以融入新知识、产生幻觉以及难以解释推理过程等局限。为应对这些挑战,我们提出一种名为 MindMap 的新型提示流程,利用知识图谱(KG)增强 LLM 的推理与透明度。该方法使 LLM 能够理解 KG 输入,并结合隐式知识与外部知识进行推理。此外,该方法还能引出 LLM 的思维导图,基于知识本体揭示其推理路径。我们在多种问答任务(尤其是医疗领域)上评估了该方法,结果显示其相较基线取得显著提升。我们还引入了一个新的幻觉评估基准,并分析了方法各组成部分的影响。结果证明,该方法在融合 LLM 与 KG 知识以进行联合推理方面具有有效性和鲁棒性。为复现结果并进一步扩展该框架,我们在 https://github.com/wyl-willing/MindMap 公开了代码库。
英文摘要:
Large language models (LLMs) have achieved remarkable performance in natural language understanding and generation tasks. However, they often suffer from limitations such as difficulty in incorporating new knowledge, generating hallucinations, and explaining their reasoning process. To address these challenges, we propose a novel prompting pipeline, named \method, that leverages knowledge graphs (KGs) to enhance LLMs' inference and transparency. Our method enables LLMs to comprehend KG inputs and infer with a combination of implicit and external knowledge. Moreover, our method elicits the mind map of LLMs, which reveals their reasoning pathways based on the ontology of knowledge. We evaluate our method on diverse question \& answering tasks, especially in medical domains, and show significant improvements over baselines. We also introduce a new hallucination evaluation benchmark and analyze the effects of different components of our method. Our results demonstrate the effectiveness and robustness of our method in merging knowledge from LLMs and KGs for combined inference. To reproduce our results and extend the framework further, we make our codebase available at https://github.com/wyl-willing/MindMap.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。