On the Importance of Diversity in Question Generation for QA

Md. Arafat Sultan, Shubham Chandel, Ramón Fernandez Astudillo, Vittorio CastelliACL 2020

Introduction

Automatic Question Generation (QG) is a cornerstone for scaling Question Answering (QA) systems through synthetic data. Traditionally, QG research has prioritized "likelihood maximization"—the attempt to generate the single most probable question for a given text, often by mimicking human-written references. However, this approach often results in "boring," repetitive questions that fail to capture the breadth of natural language. This paper explores whether diversity-promoting sampling strategies, such as nucleus sampling, can produce superior training data for QA models compared to standard beam search.

Methods and Decoding Strategies

The researchers utilized a fine-tuned RoBERTa model as a prefix language model for question generation. The study contrasts two primary decoding strategies:

  1. Beam Search: A standard approach that optimizes for the most likely word sequences.
  2. Nucleus Sampling (top-$p$): A strategy that samples from the smallest set of tokens whose cumulative probability exceeds a threshold $p$. This encourages the model to explore the "long tail" of valid questions, introducing lexical and factual variety.

The Metric Misalignment

A critical finding of this research is the disconnect between intrinsic NLP metrics and extrinsic utility. Standard metrics like BLEU and ROUGE reward similarity to a single human-written "ground truth." However, because human references are just one of many valid ways to ask a question, these metrics often penalize diverse, high-quality questions.

Correlation of standard metrics vs. the proposed metric with downstream QA performance.

As shown in the figure above, standard metrics like ROUGE show poor or even negative correlation with downstream QA performance as the number of generators increases. In contrast, the authors' proposed metric—which balances accuracy (likelihood of the ground truth) with diversity (inclusion of the ground truth in the sampled nucleus)—maintains a Spearman’s correlation of over 90% with actual QA performance.

Key Results

The experimental results demonstrate that "boring" is indeed the enemy of effective training data. While beam search produces questions that look better to BLEU and ROUGE, nucleus-sampled questions provide a much richer training signal.

Comparison of decoding strategies (Beam Search vs. Nucleus Sampling) across different training set sizes for base and large models.

On the SQuAD dataset, the best nucleus-sampled model ([email protected]) achieved a QA $F_1$ of 86.1, significantly outperforming the best beam search model (84.5), despite the latter having much higher BLEU scores. This trend holds across various training set sizes (5%, 20%, 50%, and 100% of the data).

Furthermore, the benefits of diversity extend to out-of-domain generalization. In zero-shot tests on the NewsQA dataset, models trained on diverse synthetic data consistently outperformed those trained on likelihood-maximized data. By augmenting human-annotated data with 4 million diverse synthetic questions (SYNTH*), the researchers reached an $F_1$ of 88.6 on SQuAD, a substantial improvement over the baseline.

Conclusion

This research highlights a fundamental shift needed in QG evaluation: we must move beyond simple reference-matching. Diversity in synthetic data is not just a stylistic preference but a functional requirement for training robust QA models. By embracing the "long tail" of valid questions through nucleus sampling, researchers can build systems that generalize better and perform more effectively in real-world scenarios.

Summary updated

BibTeX
@inproceedings{sultan2020importance,
  author = {Md. Arafat Sultan and Shubham Chandel and Ramón Fernandez Astudillo and Vittorio Castelli},
  title = {{On the Importance of Diversity in Question Generation for QA}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
  doi = {10.18653/v1/2020.acl-main.500},
}
Figure