Skip to main content
QUICK REVIEW

[论文解读] MindMap: Knowledge Graph Prompting Sparks Graph of Thoughts in Large Language Models

Yilin Wen, Zifeng Wang|arXiv (Cornell University)|Aug 17, 2023
Topic ModelingComputer Science被引用 11
一句话总结

MindMap 通过知识图谱提示LLMs进行图形化思维推理,将隐含的LLMs知识与检索到的KG事实融合,从而提升问答性能并提供可解释的推理路径。

ABSTRACT

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.

研究动机与目标

  • 解决LLMs的局限性:过时的知识、幻觉和不透明的推理。
  • 提出一个即插即用的提示管线,将知识图谱融入LLM推理。
  • 使LLMs生成一个将推理以KG衍生证据为依据的思维导图。
  • 证明基于KG的提示可在医学与知识领域实现强劲的问答性能。

提出的方法

  • 证据图挖掘:从查询中提取实体集合并构建基于KG的子图。
  • 构建证据子图的两种探索策略:基于路径的探索与基于邻居的探索。
  • 证据图聚合:LLM描述子图结构并生成映射到思维导图的全局推理图。
  • 图形化思维提示:指示LLM逐步推理,以证据图为基础支撑其思维导图,并给出最终答案。
  • 协同推理:在生成答案时,LLM将显性KG知识与自身隐性知识相结合。

实验结果

研究问题

  • RQ1如何有效提取并组装与给定查询相关的KG基证据子图?
  • RQ2LLM如何将多个KG子图聚合成一个统一的推理图(思维导图),并确保以证据为基础?
  • RQ3与隐性LLM推理和基于检索的提示相比,MindMap 在医学及知识密集型问答数据集上在提升答案质量和减少幻觉方面有多大程度的改进?

主要发现

  • MindMap 相较于基线,在 GenMedGPT-5k 及其他数据集上提供更优的 GPT-4 排名和更高的端到端任务性能。
  • 在 GenMedGPT-5k 上,MindMap 的基于 BERTScore 的精确度/召回率/F1 約为 0.79–0.80,GPT-4 平均排名约为 1.87,超越了普通的 GPT-3.5、GPT-4 与检索基线。
  • MindMap 由于将KG证据与LLM知识进行协同推理,始终优于依赖KG或文档的基于检索的方法。
  • 该方法在KG覆盖部分时表现出鲁棒性,并通过可视化的思维导图提供证据基础的解释。
  • 消融研究表明,明确要求与LLM现有知识结合的指令提示会影响性能,MindMap 强调推理过程的生成。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。