Skip to main content
QUICK REVIEW

[Paper Review] A Joint Model for Question Answering and Question Generation

Tong Wang, Xingdi Yuan|arXiv (Cornell University)|Jun 5, 2017
Topic ModelingComputer Science31 references82 citations
TL;DR

The paper presents a joint sequence-to-sequence model that learns to both ask questions and answer questions from documents, improving QA performance on SQuAD and enabling abstractive answers.

ABSTRACT

We propose a generative machine comprehension model that learns jointly to ask and answer questions based on documents. The proposed model uses a sequence-to-sequence framework that encodes the document and generates a question (answer) given an answer (question). Significant improvement in model performance is observed empirically on the SQuAD corpus, confirming our hypothesis that the model benefits from jointly learning to perform both tasks. We believe the joint model's novelty offers a new perspective on machine comprehension beyond architectural engineering, and serves as a first step towards autonomous information seeking.

Motivation & Objective

  • Motivate and analyze a multitask setup where QA and question generation inform each other.
  • Develop a unified attention-based seq2seq model that can generate questions and answers conditioned on each other.
  • Evaluate whether joint training improves QA accuracy and question generation quality on SQuAD.

Proposed method

  • Use an attention-based sequence-to-sequence model with a pointer-softmax decoder to switch between copying from the document and generating from a vocabulary.
  • Encode document and condition sequence (question for answer generation; answer for question generation) with BiLSTMs and extractive conditioning vectors.
  • Implement a joint training regime by alternating QA and QG data for the same model.
  • Represent the answer and question generation targets as sequences and apply teacher forcing during training.
  • Evaluate with F1 and Exact Match for QA, BLEU-4 for questions, and additional metrics like perplexity and QA F1 on generated questions.

Experimental results

Research questions

  • RQ1Does joint training for QA and question generation improve QA performance on SQuAD?
  • RQ2Can the model generate high-quality questions and, conversely, produce abstractive answers that still support QA accuracy?
  • RQ3What is the impact of shared representations on extraction versus abstraction in QA and QG tasks?

Key findings

  • Joint training improves QA performance over a QA-only model by about 10 percentage points in F1 and EM on SQuAD.
  • The joint model enables partly abstractive answer generation and maintains competitive question generation quality.
  • QA performance gains are especially pronounced for answer types where the single-task model performs弱est.
  • The model’s question generation BLEU-4 and answer-generation BLEU-4 metrics show competitive results, with automatic metrics not fully capturing human judgments.
  • The joint model’s QA performance lags behind specialized mLSTM QA models but offers the unique ability to generate questions.

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.