MixQG: Neural Question Generation with Mixed Answer Types

Lidiya Murakhovs'ka, Chien-Sheng Wu, Philippe Laban, Tong Niu, Wenhao Liu +1 more
10/15/2021
cs.CL

Official code: salesforce/QGen (33 stars, Python, BSD-3-Clause, last commit 2026-06-02).

Abstract

Asking good questions is an essential ability for both human and machine intelligence. However, existing neural question generation approaches mainly focus on the short factoid type of answers.

Show full abstract

In this paper, we propose a neural question generator, MixQG, to bridge this gap. We combine 9 question answering datasets with diverse answer types, including yes/no, multiple-choice, extractive, and abstractive answers, to train a single generative model. We show with empirical results that our model outperforms existing work in both seen and unseen domains and can generate questions with different cognitive levels when conditioned on different answer types. Our code is released and well-integrated with the Huggingface library to facilitate various downstream applications.

View on arXivView PDF

Code Implementations(1)

salesforce/QGenOfficial100%
BSD-3-Clause
337Python, HTMLOct 9, 20216 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{murakhovska2021mixqg,
  title  = {MixQG: Neural Question Generation with Mixed Answer Types},
  author = {Lidiya Murakhovs'ka and Chien-Sheng Wu and Philippe Laban and Tong Niu and Wenhao Liu and Caiming Xiong},
  year   = {2021},
  eprint = {2110.08175},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.08175}
}

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

Discussion