[Paper Review] Harvesting Paragraph-Level Question-Answer Pairs from Wikipedia
This paper proposes CorefNQG, a neural question generation model that enhances paragraph-level QA pair generation by integrating coreference knowledge through a novel gating mechanism. The model outperforms strong baselines on SQuAD, generating over 1.26 million high-quality question-answer pairs from Wikipedia, which are publicly released for research use.
We study the task of generating from Wikipedia articles question-answer pairs that cover content beyond a single sentence. We propose a neural network approach that incorporates coreference knowledge via a novel gating mechanism. Compared to models that only take into account sentence-level information (Heilman and Smith, 2010; Du et al., 2017; Zhou et al., 2017), we find that the linguistic knowledge introduced by the coreference representation aids question generation significantly, producing models that outperform the current state-of-the-art. We apply our system (composed of an answer span extraction system and the passage-level QG system) to the 10,000 top-ranking Wikipedia articles and create a corpus of over one million question-answer pairs. We also provide a qualitative analysis for this large-scale generated corpus from Wikipedia.
Motivation & Objective
- To address the limitation of existing neural question generation models that rely only on single-sentence context, which fails to capture coreference dependencies across sentences.
- To improve question generation for reading comprehension by incorporating linguistic knowledge from coreference clusters in longer text passages.
- To automatically harvest high-quality, diverse, and contextually rich question-answer pairs from unstructured Wikipedia articles at scale.
- To create a large-scale, publicly available QA corpus suitable for training and evaluating machine reading comprehension systems.
Proposed method
- The proposed CorefNQG model uses a gated attention mechanism that integrates continuous representations of coreference clusters—clusters of mentions referring to the same entity—into the context encoding process.
- Coreference clusters are represented as dense vector embeddings, which are used to gate the attention over preceding context, allowing the model to selectively focus on relevant antecedents.
- The model is trained end-to-end on the SQuAD dataset using an encoder-decoder architecture with pointer-generator networks for answer span prediction and question generation.
- The system consists of two components: an answer span extraction module and a passage-level question generation module, both trained jointly to improve QA pair quality.
- CorefNQG is compared against baselines that use only single-sentence context or full preceding context, demonstrating the benefit of targeted coreference-aware encoding.
- The framework is applied to the 10,000 top-ranking Wikipedia articles to generate a corpus of over 1.26 million question-answer pairs.
Experimental results
Research questions
- RQ1Can coreference-aware neural modeling improve paragraph-level question generation beyond single-sentence context?
- RQ2How does integrating coreference cluster representations affect the quality and diversity of generated questions compared to models using only local or full context?
- RQ3To what extent does the generated corpus from Wikipedia match the linguistic and factual characteristics of human-annotated QA datasets like SQuAD?
- RQ4Can a neural question generation system trained on synthetic data from Wikipedia produce a corpus that supports effective training of downstream reading comprehension models?
Key findings
- CorefNQG significantly outperforms both the single-sentence baseline and the full-context baseline on all automatic evaluation metrics (exact match and F1) on the SQuAD dataset.
- The performance gap between CorefNQG and baseline models is especially large on questions requiring coreference resolution, indicating the method's effectiveness in handling cross-sentence dependencies.
- The model achieves human evaluation scores that are statistically significantly better than the baseline model across all metrics, including grammaticality and relevance to answers.
- The generated corpus contains 1,259,691 question-answer pairs, with a distribution of question types that closely mirrors SQuAD, though with higher proportions of 'What is' and 'What was' questions.
- A state-of-the-art reading comprehension model (DocReader) fine-tuned on the generated corpus achieves 82.33% exact match and 88.20% F1 on the development set, indicating the corpus is suitable for training but slightly more challenging than SQuAD.
- The model trained on the synthetic corpus generalizes poorly to the original SQuAD dev set (45.2% EM), suggesting the generated data is less natural or more complex than crowd-sourced data, highlighting a trade-off between scale and quality.
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.