Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

MindMap: Knowledge Graph Prompting Sparks Graph of Thoughts in Large Language Models

About

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.

Yilin Wen, Zifeng Wang, Jimeng Sun• 2023

Related benchmarks

TaskDatasetResultRank
Question AnsweringOpenBookQA (OBQA) (test)
OBQA Accuracy88.2
130
Knowledge Graph Question AnsweringWebQSP
Hit@164.9
122
Knowledge Graph Question AnsweringCWQ
Hit@148.8
105
Question AnsweringMedQA (test)
Accuracy75.1
61
Question AnsweringCommonsenseQA IH (test)
Accuracy78.4
57
Question AnsweringCommonsenseQA IH (dev)
Accuracy78.9
53
Medical ReasoningNEEMRs
Recall45.54
22
Medical ReasoningXMEMRs
Recall38.46
22
Question AnsweringOpenBookQA (dev)
Accuracy85.1
22
Question AnsweringMedQA (dev)
Accuracy74.7
21
Showing 10 of 20 rows

Other info

Code

Follow for update