Skip to main content
QUICK REVIEW

[Paper Review] Improving Neural Question Generation using Answer Separation

Yanghoon Kim, Hwanhee Lee|arXiv (Cornell University)|Sep 7, 2018
Topic ModelingComputer Science22 references10 citations
TL;DR

This paper proposes answer-separated seq2seq, a novel neural question generation model that improves question quality by replacing the target answer with a special token <a> in the passage, enabling the model to generate questions without including answer words. By separating answer information and introducing a keyword-net module, the model significantly reduces improper questions and outperforms prior SOTA models on SQuAD, achieving 49.09 EM and 56.57 F1 on a subset with single-named-entity answers when used to train a machine comprehension system.

ABSTRACT

Neural question generation (NQG) is the task of generating a question from a given passage with deep neural networks. Previous NQG models suffer from a problem that a significant proportion of the generated questions include words in the question target, resulting in the generation of unintended questions. In this paper, we propose answer-separated seq2seq, which better utilizes the information from both the passage and the target answer. By replacing the target answer in the original passage with a special token, our model learns to identify which interrogative word should be used. We also propose a new module termed keyword-net, which helps the model better capture the key information in the target answer and generate an appropriate question. Experimental results demonstrate that our answer separation method significantly reduces the number of improper questions which include answers. Consequently, our model significantly outperforms previous state-of-the-art NQG models.

Motivation & Objective

  • To address the problem of neural question generation (NQG) models producing questions that improperly include words from the target answer.
  • To improve the model's ability to generate appropriate interrogative words by leveraging contextual cues from the masked passage.
  • To enhance awareness of the target answer despite its removal from the passage by introducing a keyword-net module.
  • To evaluate the effectiveness of answer separation in reducing answer leakage and improving question relevance and fluency.
  • To demonstrate that questions generated by the model can effectively train a downstream machine comprehension system.

Proposed method

  • Replace the target answer in the input passage with a special token <a> to prevent direct word leakage into generated questions.
  • Use an RNN encoder to process the masked passage, enabling the model to learn contextual dependencies around the <a> token.
  • Introduce a keyword-net module that extracts key information from the isolated target answer to maintain awareness of the answer content.
  • Employ a retrieval-style word generator to better capture semantic relationships during question generation.
  • Train the model end-to-end on (passage, question, answer) triplets using the SQuAD dataset with answer-separated inputs.
  • Evaluate performance using automatic metrics (EM, F1) and downstream transfer to a machine comprehension system.

Experimental results

Research questions

  • RQ1Does answer separation reduce the inclusion of target answer words in generated questions?
  • RQ2Can the model accurately predict interrogative words (e.g., who, when) using only the masked passage and <a> token?
  • RQ3How does the keyword-net module improve question generation quality compared to models relying solely on answer position features?
  • RQ4To what extent can questions generated by the proposed model be used to pre-train a machine comprehension system?
  • RQ5Does answer separation lead to better attention alignment between the <a> token and interrogative words?

Key findings

  • The proposed answer-separated seq2seq model significantly reduces the occurrence of answer words in generated questions, minimizing improper question generation.
  • The model achieves a 49.09 EM and 56.57 F1 score on a subset of the SQuAD dev set containing only single-named-entity answers when trained on synthetic data from the model.
  • Attention visualization shows that the <a> token receives high attention weights from interrogative words like 'who', confirming the model learns to associate <a> with question type.
  • The keyword-net module enhances model performance by maintaining awareness of the target answer despite its removal from the passage.
  • The model outperforms previous state-of-the-art NQG models on the SQuAD dataset, demonstrating superior question quality and generalization.
  • The model's generated questions are sufficiently natural and fluent to train a downstream machine comprehension system to acceptable performance levels.

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.