Paragraph-level Neural Question Generation with Maxout Pointer and Gated Self-attention Networks

Yao Zhao, Xiaochuan Ni, Yuanyuan Ding, Qifa KeEMNLP 2018

Introduction

Question Generation (QG) is the inverse task of Question Answering: given a passage and a target answer, the system must generate a relevant question. While vital for digital assistants and educational tools, QG has historically struggled with long-form context. Most models are restricted to single-sentence inputs because longer sequences introduce significant "noise" and lead to repetitive outputs. Researchers at Microsoft AI have addressed these issues with a new neural architecture that effectively utilizes paragraph-level context.

Methodology

The proposed model is built on a sequence-to-sequence (Seq2Seq) framework with three primary enhancements designed to handle long-range dependencies and reduce output redundancy.

Answer Tagging and Gated Self-attention

To focus the model, the authors utilize Answer Tagging, which adds meta-word features to input embeddings to explicitly mark the target answer within the passage. To manage the complexity of full paragraphs, a Gated Self-attention Encoder is employed. Unlike standard RNNs, this layer allows every word to interact with every other word in the sequence. A "fusion gate" then determines how much of this global context to integrate, effectively filtering out irrelevant noise that often plagues long-sequence processing.

The proposed neural architecture featuring Gated Self-attention and Maxout Pointer mechanisms.

The Maxout Pointer Mechanism

The most significant innovation is the Maxout Pointer. Traditional pointer-generator networks decide which word to "copy" from the input by summing the attention scores of identical words. In long paragraphs, frequent words accumulate high scores, causing the model to get stuck in repetitive loops. The Maxout Pointer instead selects only the maximum attention score among identical words, preventing the model from over-focusing on word frequency and ensuring more diverse, human-like output.

Experimental Results

The model was evaluated on the SQuAD and MS MARCO datasets. For the first time in neural QG research, this model demonstrated that providing a full paragraph as context actually improves performance compared to using only the sentence containing the answer.

Performance and Repetition Reduction

On the SQuAD benchmark, the model achieved a state-of-the-art BLEU-4 score of 16.38, a significant jump from the previous best of 13.9. Beyond overlap metrics, the Maxout Pointer proved highly effective at solving the repetition problem. As shown in the ablation studies, the word duplication rate for paragraph-level inputs dropped from approximately 12% to 6%, nearing the human baseline of 3.53%.

Comparison of word duplication rates across different model configurations, highlighting the impact of the Maxout Pointer (mp) in reducing repetition.

Conclusion and Future Work

By combining gated self-attention with a novel maxout pointer mechanism, this research successfully scales neural question generation to the paragraph level. While the current model is limited to extractive answers (spans within the text), future work aims to incorporate richer linguistic features and explore reinforcement learning to further align generated questions with human preferences.

Summary updated

BibTeX
@inproceedings{zhao2018paragraph,
  author = {Yao Zhao and Xiaochuan Ni and Yuanyuan Ding and Qifa Ke},
  title = {{Paragraph-level Neural Question Generation with Maxout Pointer and Gated Self-attention Networks}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
  doi = {10.18653/v1/d18-1424},
}
Figure