paper-with-me

홈 › Papers

Knowledge-Augmented Language Model Prompting for Zero-Shot Knowledge Graph Question Answering

2023-06-07 · Jinheon Baek, Alham Fikri Aji, Amir Saffari

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.

📄 PDF Abstract BibTeX arXiv:2306.04136

Code (0)

등록된 구현이 없습니다.

Tasks

Graph Question AnsweringLanguage ModelingLanguage ModellingQuestion Answering

Similar Papers 제목 키워드 기반

Crossing New Frontiers: Knowledge-Augmented Large Language Model Prompting for Zero-Shot Text-Based De Novo Molecule Design

2024-08-18 · Sakhinana Sagar Srinivas, Venkataramana Runkana

Molecule design is a multifaceted approach that leverages computational methods and experiments to optimize molecular properties, fast-tracking new drug discoveries, innovative material development, and more efficient ch…

Language ModelingLanguage ModellingLarge Language Model

TAG-EQA: Text-And-Graph for Event Question Answering via Structured Prompting Strategies

2025-10-01 · Maithili Kadam, Francis Ferraro arxiv

Large language models (LLMs) excel at general language tasks but often struggle with event-based questions-especially those requiring causal or temporal reasoning. We introduce TAG-EQA (Text-And-Graph for Event Question …

Question Answering

Retrieval-Augmented Few-Shot Prompting Versus Fine-Tuning for Code Vulnerability Detection

2025-11-28 · Fouad Trad, Ali Chehab arxiv

Few-shot prompting has emerged as a practical alternative to fine-tuning for leveraging the capabilities of large language models (LLMs) in specialized tasks. However, its effectiveness depends heavily on the selection a…

Vulnerability Detection

MMSE-Calibrated Few-Shot Prompting for Alzheimer's Detection

2025-09-24 · Jana Sweidan, Mounim A. El-Yacoubi, Nasredine Semmar arxiv

Prompting large language models is a training-free method for detecting Alzheimer's disease from speech transcripts. Using the ADReSS dataset, we revisit zero-shot prompting and study few-shot prompting with a class-bala…

A Recipe For Arbitrary Text Style Transfer with Large Language Models

2021-09-08 · ACL 2022 5 · Emily Reif, Daphne Ippolito, Ann Yuan, Andy Coenen 외

In this paper, we leverage large language models (LMs) to perform zero-shot text style transfer. We present a prompting method that we call augmented zero-shot learning, which frames style transfer as a sentence rewritin…

SentenceSentence ReWritingStyle TransferText Style Transfer+1