Abstract
Natural Question Generation (NQG) aims to generate fluent and relevant questions from a given passage and target answer. Traditional sequence-to-sequence models often rely on simple position tagging to identify answers, failing to capture the intricate semantic relationships between the answer and its context. This paper introduces the M2S+cp (Multi-perspective Matching to Sequence with Copy mechanism) model, which utilizes a multi-perspective matching encoder to explicitly model these interactions. Our approach achieves state-of-the-art performance on the SQuAD dataset and demonstrates significant utility for data augmentation in question-answering systems.
Introduction
The ability to automatically generate questions is a cornerstone for developing advanced Question Answering (QA) systems. NQG serves as a powerful tool for data augmentation, allowing researchers to expand training sets without the high cost of manual labeling. However, existing models often treat the passage as a flat sequence, marking the answer with a single bit. This "tagging" approach overlooks how the surrounding context defines the nature of the question—for instance, distinguishing whether to ask "When" or "Why" based on nearby temporal or causal cues.
Methodology: The M2S+cp Model
The proposed M2S+cp model moves beyond simple tagging by employing a Multi-perspective Encoder. The architecture consists of four primary stages:
- Dual Encoding: The passage and target answer are encoded independently using separate Bi-directional Long Short-Term Memory (Bi-LSTM) networks.
- Multi-Perspective Context Matching (MPCM): This layer compares passage hidden states against answer hidden states using three distinct strategies to capture different semantic nuances:
- Full-matching: Compares each passage word representation with the final state of the answer encoding.
- Attentive-matching: Uses an attention mechanism to compute a weighted sum of answer states based on similarity to a passage word.
- Max-attentive-matching: Identifies and compares only the most similar answer state for each passage word.
- Aggregation: The matching vectors are concatenated and processed by another Bi-LSTM to form a context-aware representation.
- Decoder with Copy Mechanism: An attentional LSTM generates the question, utilizing a copy mechanism to handle out-of-vocabulary words or specific entities from the passage.
Experimental Results
The model was evaluated on the SQuAD dataset. M2S+cp achieved a BLEU-4 score of 13.98, outperforming both standard seq2seq baselines (12.22) and previous models relying on manual feature engineering (13.29).
The Impact of Perspectives
A key finding is the positive correlation between the number of matching perspectives and model performance. As shown in the figure below, increasing the number of perspectives ($l$) leads to a steady improvement in BLEU scores, confirming that multi-perspective matching effectively captures richer semantic dependencies than single-perspective approaches.
Data Augmentation Utility
To test the practical value of NQG, the authors used generated questions to train a separate QA system. Remarkably, a QA system trained on only 10% human-labeled data plus synthetic questions from M2S+cp outperformed a system trained on 20% human-labeled data alone. This highlights the model's potential for reducing the data bottleneck in QA research.
Conclusion
By explicitly modeling the relationship between answers and their context through multi-perspective matching, the M2S+cp model sets a new standard for Natural Question Generation. The model's ability to operate on raw text without external linguistic features like POS tags makes it both efficient and highly adaptable to various domains. Future work will explore more advanced decoding strategies and autonomous answer extraction to further enhance the generation pipeline.
Summary updated