[Paper Review] A Unified Query-based Generative Model for Question Generation and Question Answering
The paper presents a unified encoder–decoder model that uses multi-perspective query–passage matching for both question generation and generative question answering, with policy-gradient fine-tuning to reduce exposure bias.
We propose a query-based generative model for solving both tasks of question generation (QG) and question an- swering (QA). The model follows the classic encoder- decoder framework. The encoder takes a passage and a query as input then performs query understanding by matching the query with the passage from multiple per- spectives. The decoder is an attention-based Long Short Term Memory (LSTM) model with copy and coverage mechanisms. In the QG task, a question is generated from the system given the passage and the target answer, whereas in the QA task, the answer is generated given the question and the passage. During the training stage, we leverage a policy-gradient reinforcement learning algorithm to overcome exposure bias, a major prob- lem resulted from sequence learning with cross-entropy loss. For the QG task, our experiments show higher per- formances than the state-of-the-art results. When used as additional training data, the automatically generated questions even improve the performance of a strong ex- tractive QA system. In addition, our model shows bet- ter performance than the state-of-the-art baselines of the generative QA task.
Motivation & Objective
- Motivate joint handling of question generation (QG) and question answering (QA) within a single framework.
- Model a query–passage understanding component that matches the query against the passage from multiple perspectives.
- Enable generation of questions from a given passage and target answer, and generation of answers from a passage and a question.
- Address exposure bias in sequence training via reinforcement learning and scheduled sampling.
- Demonstrate improved QG performance and show that generated questions can enhance QA systems.
Proposed method
- Encoder–decoder architecture with a Multi-Perspective Matching Encoder that matches passage and query from four strategies (Full-Matching, Maxpooling-Matching, Attentive-Matching, Max-Attentive-Matching) using a multi-perspective cosine function.
- Construction of a Multi-Perspective Memory by concatenating passage contextual vectors with matching vectors and applying a secondary BiLSTM."
- Attention-based LSTM decoder with copy (pointer) mechanism and coverage to generate output word-by-word.
- Copy mechanism to interpolate between generating from vocabulary and copying from the passage, controlled by a gating scalar g_t dependent on c_t, s_t, and x_{t-1}.
- Training with cross-entropy loss first, followed by policy-gradient reinforcement learning (REINFORCE with baseline) to optimize task-specific rewards (BLEU for QG, ROUGE for QA).
- Scheduled sampling-inspired sampling strategy during reinforcement learning to construct the sampled sequence from a mix of greedy and gold-standard outputs.
Experimental results
Research questions
- RQ1Can a unified encoder–decoder framework effectively handle both QG and generative QA tasks?
- RQ2Does using a multi-perspective matching encoder improve the quality of generated questions and answers compared to prior approaches?
- RQ3Can policy-gradient fine-tuning mitigate exposure bias and improve sequence-generation metrics for QG and QA?
- RQ4Do automatically generated questions improve the performance of an extractive QA system, particularly in low-resource data settings?
Key findings
- The proposed MPQG model outperforms prior QG methods on SQuAD splits, indicating benefits from multi-perspective query understanding.
- Fine-tuning with policy-gradient reinforcement learning (MPQG+R) further improves QG performance over MPQG alone.
- In generative QA on the MS-MARCO description subset, MPQG and MPQG+R outperform several baselines, with MPQG+R achieving the best ROUGE-L among compared generative models.
- Using MPQG+R-generated questions to augment training data improves extraction-based QA performance, especially at very low resource levels (e.g., 10% of gold questions).
- The model demonstrates the ability to generate answers word-by-word without requiring the answer to verbatim occur in the passage, addressing generative QA scenarios.
- Overall, results support the importance of query understanding for QG and the effectiveness of policy-gradient training for exposure bias.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.