atlas

Research map / Large language models / Retrieval and knowledge

KnowGPT: Knowledge Graph based Prompting for Large Language Models

NeurIPS 2024 · Large language models › Retrieval and knowledge · approach: Knowledge-augmented question answering · 23 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes KnowGPT, a black-box KG prompting framework that uses deep RL to extract reasoning paths from knowledge graphs and a multi-armed bandit to pick the knowledge extraction strategy and prompt template per question, applied to GPT-3.5.

Problem

LLMs hallucinate on domain-specific questions, and existing KG prompting methods for closed-source LLMs suffer from huge KG search space, high API cost, and manually engineered hard prompts.

Approach

Uses an RL policy over KG paths with reachability, context-relatedness, and conciseness rewards to extract concise knowledge, then an OLS/UCB-style multi-armed bandit that selects among extraction strategies and prompt formats (triples, sentences, graph description) per question, using only LLM API access.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add KG-based prompting with KnowGPT to GPT-3.5GPT-3.5 · CommonsenseQAaccuracy: + 10.8%Helped
add KG-based prompting with KnowGPT to GPT-3.5GPT-3.5 · OpenBookQAaccuracy: + 32.4%Helped
add KG-based prompting with KnowGPT to GPT-3.5GPT-3.5 · MedQAaccuracy: + 29.4%Helped
add RL-based knowledge extraction instead of heuristic subgraph extraction (ablation)GPT-3.5 with Sentence prompt · CommonsenseQA IHtestaccuracy: 0.739 -> 0.800Helped
add RL-based knowledge extraction instead of heuristic subgraph extraction (ablation)GPT-3.5 with Sentence prompt · OpenBookQA Testaccuracy: 0.865 -> 0.889Helped
add RL-based knowledge extraction instead of heuristic subgraph extraction (ablation)GPT-3.5 with Sentence prompt · MedQA Testaccuracy: 0.695 -> 0.755Helped
use Sentence prompt instead of Triples with P_sub (ablation)GPT-3.5 with P_sub extraction · MedQA Testaccuracy: 0.589 -> 0.695Helped
use Graph Description instead of Sentence prompt with P_sub (ablation)GPT-3.5 with P_sub extraction · OpenBookQA Testaccuracy: 0.865 -> 0.871Helped
use Graph Description instead of Sentence prompt with P_RL (ablation)GPT-3.5 with P_RL extraction · OpenBookQA Testaccuracy: 0.889 -> 0.906Helped
use Sentence prompt instead of Triples with P_RL (ablation)GPT-3.5 with P_RL extraction · CommonsenseQA IHtestaccuracy: 0.769 -> 0.800Helped
use Graph Description instead of Sentence prompt with P_RL (ablation)GPT-3.5 with P_RL extraction · MedQA Testaccuracy: 0.755 -> 0.762Helped
select prompt format by question type rather than use one format for all (ablation)KnowGPT on CommonsenseQA · CommonsenseQA simple questionsaccuracy: 94.12%Mixed

Surprising findings

Limitations

Experimental setup

Datasets: CommonsenseQA OpenBookQA MedQA-USMLE ConceptNet USMLE knowledge graph

Benchmarks: CommonsenseQA OpenBookQA MedQA-USMLE

Metrics: accuracy

Baselines: Bert-base Bert-large RoBERTa-large MHGRN QA-GNN HamQA JointLK GreaseLM GrapeQA ChatGLM ChatGLM2 Baichuan-7B

Builds on: policy gradient upper confidence bound MINERVA-style KG path reasoning

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy