[Paper Review] MindMap: Knowledge Graph Prompting Sparks Graph of Thoughts in Large Language Models
MindMap prompts LLMs with knowledge graphs to build a graph-of-thought reasoning, blending implicit LLM knowledge with retrieved KG facts to improve QA performance and provide interpretable reasoning paths.
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.
Motivation & Objective
- Address limitations of LLMs: outdated knowledge, hallucinations, and opaque reasoning.
- Propose a plug-and-play prompting pipeline that incorporates knowledge graphs into LLM inference.
- Enable LLMs to generate a mind map that grounds reasoning in KG-derived evidence.
- Demonstrate that KG-assisted prompting yields strong QA performance across medical and knowledge domains.
Proposed method
- Evidence graph mining to extract entity sets from queries and build KG-based sub-graphs.
- Two exploration strategies to construct evidence sub-graphs: path-based and neighbor-based exploration.
- Evidence graph aggregation where the LLM describes structures of sub-graphs and produces a global reasoning graph mapping to a mind map.
- Graph-of-thought prompting that instructs the LLM to reason step-by-step, ground its mind map in the evidence graph, and generate final answers.
- Synergistic inference where the LLM combines explicit KG knowledge with its own implicit knowledge during answer generation.
Experimental results
Research questions
- RQ1How can we effectively extract and assemble KG-based evidence sub-graphs that are relevant to a given query?
- RQ2How can an LLM aggregate multiple KG sub-graphs into a unified reasoning graph (mind map) and ensure grounding in evidence?
- RQ3To what extent does MindMap improve answer quality and reduce hallucinations compared to implicit LLM reasoning and retrieval-based prompts across medical and knowledge-intensive QA datasets?
Key findings
- MindMap delivers superior GPT-4 rankings and higher end-task performance compared with baselines on GenMedGPT-5k and other datasets.
- On GenMedGPT-5k, MindMap attains a BERTScore-based precision/recall/F1 around 0.79–0.80 and GPT-4 ranking near 1.87 on average, outperforming vanilla GPT-3.5, GPT-4, and retrieval baselines.
- MindMap consistently outperforms retrieval-based methods that rely on KG or documents, due to synergistic inference combining KG evidence with LLM knowledge.
- The approach shows robustness when KG coverage is partial and provides evidence-grounded explanations via a visualizable mind map.
- Ablation indicates the instruction prompting that explicitly requests combining with the LLM’s existing knowledge influences performance, and MindMap emphasizes rationale generation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.