Knowledge-Augmented Language Model Prompting for Zero-Shot Knowledge Graph Question Answering
Baek, Jinheon, Aji, Alham Fikri, Saffari, Amir
–arXiv.org Artificial Intelligence
Large Language Models (LLMs) are capable of performing zero-shot closed-book question answering tasks, based on their internal knowledge stored in parameters during pre-training. However, such internalized knowledge might be insufficient and incorrect, which could lead LLMs to generate factually wrong answers. Furthermore, fine-tuning LLMs to update their knowledge is expensive. To this end, we propose to augment the knowledge directly in the input of LLMs. Specifically, we first retrieve the relevant facts to the input question from the knowledge graph based on semantic similarities between the question and its associated facts. After that, we prepend the retrieved facts to the input question in the form of the prompt, which is then forwarded to LLMs to generate the answer. Our framework, Knowledge-Augmented language model PromptING (KAPING), requires no model training, thus completely zero-shot. We validate the performance of our KAPING framework on the knowledge graph question answering task, that aims to answer the user's question based on facts over a knowledge graph, on which ours outperforms relevant zero-shot baselines by up to 48% in average, across multiple LLMs of various sizes.
arXiv.org Artificial Intelligence
Jun-7-2023
- Country:
- South America > Chile (0.04)
- Oceania
- Australia (0.04)
- New Zealand (0.04)
- North America
- Jamaica (0.04)
- Dominican Republic (0.04)
- The Bahamas (0.04)
- Mexico (0.04)
- United States
- Maine (0.04)
- Michigan (0.04)
- Arkansas (0.04)
- Alabama (0.04)
- Texas (0.04)
- Ohio > Lucas County
- Oregon (0.04)
- Nevada > Clark County
- Las Vegas (0.04)
- Kentucky > McCracken County
- Paducah (0.04)
- Florida > Hillsborough County
- Tampa (0.04)
- Oregon
- Washington County > Beaverton (0.04)
- Multnomah County > Portland (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Georgia
- Cobb County > Marietta (0.04)
- Walton County (0.04)
- Washington > King County
- Seattle (0.14)
- California
- San Francisco County > San Francisco (0.14)
- Los Angeles County > Los Angeles (0.14)
- Santa Clara County > Palo Alto (0.04)
- New York > New York County
- New York City (0.04)
- Canada > British Columbia
- Europe
- Austria > Vienna (0.14)
- Czechia (0.04)
- United Kingdom > England (0.04)
- Germany > Berlin (0.04)
- Spain (0.04)
- Monaco (0.04)
- France > Provence-Alpes-Côte d'Azur
- Bouches-du-Rhône > Marseille (0.04)
- Romania > Sud - Muntenia Development Region
- Giurgiu County > Giurgiu (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- Vietnam (0.05)
- Laos (0.04)
- Cambodia (0.04)
- Southeast Asia (0.04)
- Bangladesh (0.04)
- China > Hong Kong (0.04)
- Africa
- Middle East > Egypt (0.04)
- Southern Africa (0.04)
- South Africa > Gauteng
- Pretoria (0.04)
- Genre:
- Research Report (1.00)
- Industry:
- Media > Music (1.00)
- Government (1.00)
- Education (1.00)
- Leisure & Entertainment > Sports
- Football (1.00)
- Technology: