Research map / Large language models / Retrieval and knowledge
Graph Neural Prompting with Large Language Models
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 Graph Neural Prompting (GNP), a plug-and-play module that encodes retrieved ConceptNet/UMLS subgraphs into a soft graph prompt for frozen or LoRA-tuned FLAN-T5 models, evaluated on six commonsense and biomedical QA datasets.
Problem
Pre-trained LLMs struggle to capture and return grounded knowledge, and joint training with KGs is costly for large models; the paper asks how to inject beneficial KG knowledge into frozen or lightly tuned LLMs without noisy direct KG flattening.
Approach
Retrieve subgraphs for each question/option, encode them with a GAT, pool nodes with cross-modality attention against the text token embeddings, project to the LLM embedding space as a soft prompt, and add a DistMult-based self-supervised link prediction loss.
Key results
- With frozen FLAN-T5 xlarge (3B), GNP reaches 74.36 total accuracy vs 65.95 for Prompt Tuning, a +12.76% relative gain.
- With frozen FLAN-T5 xxlarge (11B), GNP reaches 77.84 total vs 68.55 for Prompt Tuning (+13.54%).
- LoRA + GNP improves over LoRA by +1.8% on average and matches or surpasses full fine-tuning in 10 of 12 evaluations.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Add Graph Neural Prompting to the frozen LLM, compared with Prompt Tuning | FLAN-T5 xlarge (3B) · Six datasets (overall) | accuracy: +12.76% | Helped |
| Add Graph Neural Prompting to the frozen LLM, compared with Prompt Tuning | FLAN-T5 xxlarge (11B) · Six datasets (overall) | accuracy: +13.54% | Helped |
| Add GNP to LoRA tuning | FLAN-T5 xlarge (3B) · Six datasets (overall) | accuracy: +1.58% | Helped |
| Add GNP to LoRA tuning | FLAN-T5 xxlarge (11B) · Six datasets (overall) | accuracy: +1.79% | Helped |
| Add cross-modality pooling (ablation) | GNP with FLAN-T5 xlarge (3B) · OBQA | accuracy: 78.00 -> 79.80 | Helped |
| Add cross-modality pooling (ablation) | GNP with FLAN-T5 xxlarge (11B) · BioASQ | accuracy: 87.80 -> 90.24 | Helped |
| Add self-supervised link prediction (ablation) | GNP with FLAN-T5 xlarge (3B) · BioASQ | accuracy: 88.62 -> 89.43 | Helped |
| Add self-supervised link prediction (ablation) | GNP with FLAN-T5 xxlarge (11B) · OBQA | accuracy: 83.60 -> 87.20 | Helped |
| Add domain projector (ablation) | GNP with FLAN-T5 xlarge (3B) · OBQA | accuracy: 73.00 -> 79.80 | Helped |
| Add domain projector (ablation) | GNP with FLAN-T5 xxlarge (11B) · PubMedQA | accuracy: 71.75 -> 76.25 | Helped |
| Add dataset-level prompts to GNP (ablation) | GNP with FLAN-T5 xlarge (3B) · ARC | accuracy: 71.85 -> 70.30 | Hurt |
| Add dataset-level prompts to GNP (ablation) | GNP with FLAN-T5 xxlarge (11B) · BioASQ | accuracy: 90.24 -> 88.62 | Hurt |
Surprising findings
- Direct KG injection methods (KG Flattening, KAPING) substantially hurt frozen-LLM performance relative to LLM-only.
- Explicitly modeling relations with a relational GNN decreased performance compared with a standard GNN.
Limitations
- Relies on entity linking and subgraph retrieval quality; noisy retrieved subgraphs can introduce irrelevant entities.
- Evaluated only on multiple-choice QA with FLAN-T5 models up to 11B parameters.
Experimental setup
Datasets: OpenBookQA ARC PIQA RiddleSense PubMedQA BioASQ ConceptNet UMLS
Benchmarks: OpenBookQA ARC PIQA RiddleSense PubMedQA BioASQ
Metrics: accuracy
Baselines: LLM-only Prompt Designs KG Flattening REL KG Flattening BFS KAPING Prompt Tuning LoRA Full Fine-tuning
Builds on: Prompt Tuning LoRA KAPING graph attention network DistMult
Closest papers by meaning
- KnowGPT: Knowledge Graph based Prompting for Large Language Models (NeurIPS 2024 · similarity 0.90)
- Large Language Model Meets Graph Neural Network in Knowledge Distillation (AAAI 2025 · similarity 0.88)
- LLM Enhancers for GNNs: An Analysis from the Perspective of Causal Mechanism Identification (ICML 2025 · similarity 0.88)
- GOFA: A Generative One-For-All Model for Joint Graph Language Modeling (ICLR 2025 · similarity 0.87)
- Can Graph Learning Improve Planning in LLM-based Agents? (NeurIPS 2024 · similarity 0.87)
- Simple is Effective: The Roles of Graphs and Large Language Models in Knowledge-Graph-Based Retrieval-Augmented Generation (ICLR 2025 · similarity 0.86)
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.
