KnowGPT: Knowledge Graph based Prompting for Large Language Models
Qinggang Zhang, Junnan Dong, Hao Chen, Daochen Zha, Zailiang Yu, Xiao Huang
Abstract
Large Language Models (LLMs) have demonstrated remarkable capabilities in many real-world applications. Nonetheless, LLMs are often criticized for their tendency to produce hallucinations, wherein the models fabricate incorrect statements on tasks beyond their knowledge and perception. To alleviate this issue, researchers have explored leveraging the factual knowledge in knowledge graphs (KGs) to ground the LLM's responses in established facts and principles. However, most state-of-the-art LLMs are closed-source, making it challenging to develop a prompting framework that can efficiently and effectively integrate KGs into LLMs with hard prompts only. Generally, existing KG-enhanced LLMs usually suffer from three critical issues, including huge search space, high API costs, and laborious prompt engineering, that impede their widespread application in practice. To this end, we introduce a novel Knowledge Graph based PrompTing framework, namely KnowGPT, to enhance LLMs with domain knowledge. KnowGPT contains a knowledge extraction module to extract the most informative knowledge from KGs, and a context-aware prompt construction module to automatically convert extracted knowledge into effective prompts. Experiments on three benchmarks demonstrate that KnowGPT significantly outperforms all competitors. Notably, KnowGPT achieves a 92.6% accuracy on OpenbookQA leaderboard, comparable to human-level performance.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
20 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- FaithfulRAG: Fact-Level Conflict Modeling for Context-Faithful Retrieval-Augmented Generation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Youtu-GraphRAG: Vertically Unified Agents for Graph Retrieval-Augmented Complex Reasoning cites Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning
- LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora cites FaithfulRAG: Fact-Level Conflict Modeling for Context-Faithful Retrieval-Augmented Generation
- LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora cites Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning
- LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora cites When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation
- LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale Corpora cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning cites Language Models are Few-Shot Learners
- Language Models are Few-Shot Learners cites UnifiedQA: Crossing Format Boundaries With a Single QA System
- Language Models are Few-Shot Learners cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Training language models to follow instructions with human feedback cites Language Models are Few-Shot Learners
- Training language models to follow instructions with human feedback cites UnifiedQA: Crossing Format Boundaries With a Single QA System
- When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation cites FaithfulRAG: Fact-Level Conflict Modeling for Context-Faithful Retrieval-Augmented Generation
- When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation cites Language Models are Few-Shot Learners
- When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation cites UnifiedQA: Crossing Format Boundaries With a Single QA System
- When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented Generation cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Can Knowledge-Graph-based Retrieval Augmented Generation Really Retrieve What You Need? cites Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning
- Can Knowledge-Graph-based Retrieval Augmented Generation Really Retrieve What You Need? cites Training language models to follow instructions with human feedback
- Can Knowledge-Graph-based Retrieval Augmented Generation Really Retrieve What You Need? cites Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Cited by top-tier papers20
- When to use Graphs in RAG: A Comprehensive Analysis for Graph Retrieval-Augmented GenerationZhishang Xiang, Chuanjie Wu, Qinggang Zhang, Shengyuan Chen et al.ICLR 2026 · 56 citations
- LinearRAG: Linear Graph Retrieval Augmented Generation on Large-scale CorporaLuyao Zhuang, Shengyuan Chen, Yilin Xiao, Huachi Zhou et al.ICLR 2026 · 54 citations
- Youtu-GraphRAG: Vertically Unified Agents for Graph Retrieval-Augmented Complex ReasoningJunnan Dong, Siyu An, Yifei Yu, Qian-Wen Zhang et al.ICLR 2026 · 29 citations
- FaithfulRAG: Fact-Level Conflict Modeling for Context-Faithful Retrieval-Augmented GenerationQinggang Zhang, Zhishang Xiang, Yilin Xiao, Le Wang et al.ACL 2025 · 18 citations
- Can Knowledge-Graph-based Retrieval Augmented Generation Really Retrieve What You Need?Junchi Yu, Yujie Liu, Jindong Gu, Philip H. S. Torr et al.NeurIPS 2025 · 8 citations
Builds on21
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Training language models to follow instructions with human feedbackLong Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida et al.NeurIPS 2022 · 24,707 citations
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- UnifiedQA: Crossing Format Boundaries With a Single QA SystemDaniel Khashabi, Sewon Min, Tushar Khot, Ashish Sabharwal et al.EMNLP Findings 2020 · 514 citations
- Reasoning on Graphs: Faithful and Interpretable Large Language Model ReasoningLinhao Luo, Yuan-Fang Li, Gholamreza Haffari, Shirui PanICLR 2024 · 499 citations
Related papers
- MindMap: Knowledge Graph Prompting Sparks Graph of Thoughts in Large Language ModelsYilin Wen, Zifeng Wang, Jimeng SunACL 2024 · 74 citations
- Can Knowledge Graphs Make Large Language Models More Trustworthy? An Empirical Study Over Open-ended Question AnsweringYuan Sui, Yufei He, Zifeng Ding, Bryan HooiACL 2025 · 29 citations
- Mitigating Large Language Model Hallucinations via Autonomous Knowledge Graph-Based RetrofittingXinyan Guan, Yanjiang Liu, Hongyu Lin, Yaojie Lu et al.AAAI 2024 · 127 citations
- Digest the Knowledge: Large Language Models empowered Message Passing for Knowledge Graph Question AnsweringJunhong Wan, Tao Yu, Kunyu Jiang, Yao Fu et al.ACL 2025 · 4 citations
- Systematic Assessment of Factual Knowledge in Large Language ModelsLinhao Luo, Thuy-Trang Vu, Dinh Q. Phung, Gholamreza HaffariEMNLP Findings 2023 · 18 citations
