Skip to main content
QUICK REVIEW

[Paper Review] A framework for automatic question generation from text using deep reinforcement learning.

Vishwajeet Kumar, Ganesh Ramakrishnan|arXiv (Cornell University)|Aug 15, 2018
Topic ModelingComputer Science3 references37 citations
TL;DR

This paper proposes a novel deep reinforcement learning framework for automatic question generation that jointly optimizes a generator and evaluator to improve semantic and structural quality. By using structure- and semantics-aware sequence-to-sequence generation with copy and coverage mechanisms, and training via QG-specific reward functions based on BLEU, GLEU, and ROUGE-L, the approach achieves state-of-the-art performance on the SQuAD benchmark in both automatic and human evaluations.

ABSTRACT

Automatic question generation (QG) is a useful yet challenging task in NLP. Recent neural network-based approaches represent the state-of-the-art in this task. In this work, we attempt to strengthen them significantly by adopting a holistic and novel generator-evaluator framework that directly optimizes objectives that reward semantics and structure. The {\it generator} is a sequence-to-sequence model that incorporates the {\it structure} and {\it semantics} of the question being generated. The generator predicts an answer in the passage that the question can pivot on. Employing the copy and coverage mechanisms, it also acknowledges other contextually important (and possibly rare) keywords in the passage that the question needs to conform to, while not redundantly repeating words. The {\it evaluator} model evaluates and assigns a reward to each predicted question based on its conformity to the {\it structure} of ground-truth questions. We propose two novel QG-specific reward functions for text conformity and answer conformity of the generated question. The evaluator also employs structure-sensitive rewards based on evaluation measures such as BLEU, GLEU, and ROUGE-L, which are suitable for QG. In contrast, most of the previous works only optimize the cross-entropy loss, which can induce inconsistencies between training (objective) and testing (evaluation) measures. Our evaluation shows that our approach significantly outperforms state-of-the-art systems on the widely-used SQuAD benchmark as per both automatic and human evaluation.

Motivation & Objective

  • To address the gap between training objectives and evaluation metrics in automatic question generation (QG), which often leads to inconsistent model behavior.
  • To improve the semantic and structural fidelity of generated questions by directly optimizing for conformity to ground-truth question patterns.
  • To develop a holistic generator-evaluator framework that aligns training with evaluation through reinforcement learning.
  • To introduce QG-specific reward functions that assess both text conformity and answer conformity in generated questions.
  • To reduce redundancy and improve coverage of key passage terms through copy and coverage mechanisms in the generator.

Proposed method

  • The generator uses a sequence-to-sequence model enhanced with copy and coverage mechanisms to preserve rare and contextually important keywords from the passage.
  • The generator is trained to predict an answer span in the passage that the question can pivot on, ensuring answer relevance.
  • The evaluator assigns rewards based on structural similarity to ground-truth questions using metrics like BLEU, GLEU, and ROUGE-L.
  • Two novel reward functions are introduced: one for text conformity (how well the question matches the style and form of real questions), and one for answer conformity (how well the question aligns with the predicted answer).
  • The framework employs deep reinforcement learning to optimize the generator using rewards from the evaluator, aligning training objectives with downstream evaluation measures.
  • The training process directly optimizes for evaluation metrics rather than relying solely on cross-entropy loss, reducing the discrepancy between training and inference performance.

Experimental results

Research questions

  • RQ1Can a reinforcement learning-based framework improve the semantic and structural quality of automatically generated questions compared to standard sequence-to-sequence models?
  • RQ2How effective are QG-specific reward functions—particularly those measuring text and answer conformity—in guiding the generation process?
  • RQ3To what extent does incorporating copy and coverage mechanisms improve the retention of key passage terms without redundancy?
  • RQ4Does aligning the training objective with evaluation metrics (e.g., BLEU, ROUGE-L) lead to better performance on standard benchmarks like SQuAD?
  • RQ5How does the proposed generator-evaluator framework compare to state-of-the-art QG systems in both automatic and human evaluations?

Key findings

  • The proposed framework significantly outperforms state-of-the-art systems on the SQuAD benchmark in automatic evaluation, demonstrating superior performance on standard metrics.
  • Human evaluations confirm that questions generated by the framework are more fluent, relevant, and structurally accurate than those from existing methods.
  • The use of QG-specific reward functions leads to improved answer conformity and text conformity, reducing hallucination and irrelevance.
  • The integration of copy and coverage mechanisms results in better preservation of key terms from the passage, minimizing redundant or irrelevant word usage.
  • The framework effectively closes the gap between training objectives and evaluation metrics by aligning reinforcement learning rewards with standard NLP evaluation measures.
  • The model achieves state-of-the-art results on SQuAD without relying on cross-entropy loss alone, highlighting the benefit of reward-based training in question generation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.