An Empirical Comparison of LM-based Question and Answer Generation Methods

Asahi Ushio, Fernando Alva-Manchego, Jose Camacho-Collados
5/26/2023
cs.CL

No official code found. Best implementation: asahi417/lm-question-generation (366 stars, MIT, PyTorch, last commit 2024-08-20).

Abstract

Question and answer generation (QAG) consists of generating a set of question-answer pairs given a context (e.g. a paragraph). This task has a variety of applications, such as data augmentation for question answering (QA) models, information retrieval and education. In this paper, we establish baselines with three different QAG methodologies that leverage sequence-to-sequence language model (LM) fine-tuning. Experiments show that an end-to-end QAG model, which is computationally light at both training and inference times, is generally robust and outperforms other more convoluted approaches. However, there are differences depending on the underlying generative LM. Finally, our analysis shows that QA models fine-tuned solely on generated question-answer pairs can be competitive when compared to supervised QA models trained on human-labeled data.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Multilingual/multidomain question generation datasets, models, and python library for question generation.

36638Shell, PythonJul 3, 20212 years agoMIT
bartnlppytorchquestion-answeringquestion-generation+1 more

Similar Papers

Cite this paper

@article{ushio2023empirical,
  title  = {An Empirical Comparison of LM-based Question and Answer Generation Methods},
  author = {Asahi Ushio and Fernando Alva-Manchego and Jose Camacho-Collados},
  year   = {2023},
  eprint = {2305.17002},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.17002v1}
}

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

Discussion