Abstract
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, 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.
Introduction
Most automated Question Generation (QG) systems suffer from "tunnel vision," typically focusing on a single sentence at a time. While effective for simple factoid retrieval, this approach fails to capture the complexity of human language. Analysis of the SQuAD dataset reveals that nearly 30% of human-generated questions require information from multiple sentences to answer. For instance, in a passage stating, "Nikola Tesla was a scientist. He invented many things," a sentence-level model might struggle to generate "What did Tesla invent?" because the relevant sentence contains only the pronoun "He."
To bridge this gap, systems must understand coreference—the linguistic link between different words (like "Tesla" and "He") that refer to the same entity. This paper introduces a framework to move QG beyond the single sentence by leveraging paragraph-level context and coreference resolution.
Methods: The CorefNQG Model
The researchers propose a two-stage framework: candidate answer extraction followed by answer-specific question generation. The core of this system is the CorefNQG (Coreference-knowledge for Neural Question Generation) model.
As shown in the architecture above, the model incorporates several key innovations:
- Coreference Transformation: The model identifies pronouns and appends their most representative antecedent directly into the text.
- Feature-Rich Embeddings: The system utilizes embeddings for word meaning, answer position, and coreference position.
- The Gating Mechanism: Recognizing that automated coreference systems are often noisy, the authors implemented a "gate" that weights the importance of coreferent phrases based on a "mention-pair score." This allows the neural network to dynamically decide how much to trust identified linguistic links.
- Encoder-Decoder with Copy: An LSTM-based encoder-decoder is enhanced with a "copy mechanism," allowing the model to point back to specific entities in the source text, which is critical for handling technical terms or rare names.
Datasets and Large-Scale Harvesting
The model was primarily benchmarked using the SQuAD (Stanford Question Answering Dataset) to evaluate its ability to generate human-like questions. Following validation, the authors applied the system to the top 10,000 Wikipedia articles. This effort resulted in the creation of a massive new corpus containing 1.26 million QA pairs, providing a significant resource for training future reading comprehension models.
Key Results
CorefNQG demonstrated superior performance over existing baselines. By explicitly modeling coreference, the system achieved a BLEU-4 score of 15.16 and a METEOR score of 19.12 on the SQuAD dataset, outperforming models that ignore paragraph-level context.
Beyond automated metrics, the study found that:
- Gating Filters Noise: The gating mechanism effectively managed the inherent noise in coreference resolution, leading to more stable training compared to hard-coded links.
- Linguistic Knowledge is Essential: Simply providing more context (as seen in the "ContextNQG" baseline) is insufficient; explicit structural hints like coreference are necessary for the model to relate context to the target sentence.
- Human-Level Grammaticality: In blind evaluations, human raters scored the model's questions at 3.80 on a 5-point scale for grammar, nearly matching the 3.81 score of human-written questions.
Conclusion
While CorefNQG excels at generating grammatical and context-aware questions, challenges remain regarding question diversity. The system currently favors "What is/was" questions over more complex "Why" or "How" queries. Future work may involve building end-to-end models that learn coreference and question generation simultaneously, potentially extending this coreference-aware approach to other tasks like text summarization.
Summary updated