On Few-Shot Prompting for Controllable Question-Answer Generation in Narrative Comprehension

Bernardo Leite, Henrique Lopes Cardoso
4/3/2024
cs.CLcs.AI

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Question Generation aims to automatically generate questions based on a given input provided as context. A controllable question generation scheme focuses on generating questions with specific attributes, allowing better control. In this study, we propose a few-shot prompting strategy for controlling the generation of question-answer pairs from children's narrative texts. We aim to control two attributes: the question's explicitness and underlying narrative elements. With empirical evaluation, we show the effectiveness of controlling the generation process by employing few-shot prompting side by side with a reference model. Our experiments highlight instances where the few-shot strategy surpasses the reference model, particularly in scenarios such as semantic closeness evaluation and the diversity and coherency of question-answer pairs. However, these improvements are not always statistically significant. The code is publicly available at github.com/bernardoleite/few-shot-prompting-qg-control.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{leite2024fewshot,
  title  = {On Few-Shot Prompting for Controllable Question-Answer Generation in Narrative Comprehension},
  author = {Bernardo Leite and Henrique Lopes Cardoso},
  year   = {2024},
  eprint = {2404.02800},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.02800v1}
}

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.02800.svg)](https://codeofpaper.com/paper/2404.02800)

Discussion