SGSH: Stimulate Large Language Models with Skeleton Heuristics for Knowledge Base Question Generation

Shasha Guo, Lizi Liao, Jing Zhang, Yanling Wang, Cuiping Li +1 more
4/2/2024
cs.CLcs.AI

No official code found. Best implementation: RUCKBReasoning/SGSH (6 stars, last commit 2024-03-29).

Abstract

Knowledge base question generation (KBQG) aims to generate natural language questions from a set of triplet facts extracted from KB. Existing methods have significantly boosted the performance of KBQG via pre-trained language models (PLMs) thanks to the richly endowed semantic knowledge. With the advance of pre-training techniques, large language models (LLMs) (e.g., GPT-3.5) undoubtedly possess much more semantic knowledge. Therefore, how to effectively organize and exploit the abundant knowledge for KBQG becomes the focus of our study. In this work, we propose SGSH--a simple and effective framework to Stimulate GPT-3.5 with Skeleton Heuristics to enhance KBQG. The framework incorporates "skeleton heuristics", which provides more fine-grained guidance associated with each input to stimulate LLMs to generate optimal questions, encompassing essential elements like the question phrase and the auxiliary verb.More specifically, we devise an automatic data construction strategy leveraging ChatGPT to construct a skeleton training dataset, based on which we employ a soft prompting approach to train a BART model dedicated to generating the skeleton associated with each input. Subsequently, skeleton heuristics are encoded into the prompt to incentivize GPT-3.5 to generate desired questions. Extensive experiments demonstrate that SGSH derives the new state-of-the-art performance on the KBQG tasks.

View on arXivView PDF

Code Implementations(1)

RUCKBReasoning/SGSHCommunity100%

The PyTorch implementation of SGSH (NAACL 2024 Findings)

60PythonMar 29, 20242 years ago

Cite this paper

@article{guo2024sgsh,
  title  = {SGSH: Stimulate Large Language Models with Skeleton Heuristics for Knowledge Base Question Generation},
  author = {Shasha Guo and Lizi Liao and Jing Zhang and Yanling Wang and Cuiping Li and Hong Chen},
  year   = {2024},
  eprint = {2404.01923},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.01923v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.01923.svg)](https://codeofpaper.com/paper/2404.01923)

Discussion