Abstract
Recent success of deep learning models for the task of extractive Question Answering (QA) is hinged on the availability of large annotated corpora. However, large domain specific annotated corpora are limited and expensive to construct. In this work, we envision a system where the end user specifies a set of base documents and only a few labelled examples. Our system exploits the document structure to create cloze-style questions from these base documents; pre-trains a powerful neural network on the cloze style questions; and further fine-tunes the model on the labeled examples. We evaluate our proposed system across three diverse datasets from different domains, and find it to be highly effective with very little labeled data. We attain more than 50% F1 score on SQuAD and TriviaQA with less than a thousand labelled examples. We are also releasing a set of 3.2M cloze-style questions for practitioners to use while building QA systems.
Introduction
Deep learning has revolutionized extractive Question Answering (QA), where models identify specific text spans in a document to answer queries. However, these models typically require tens of thousands of manually annotated examples, such as those in the SQuAD dataset, to achieve high performance. For specialized domains like medicine or law, acquiring such large-scale labeled data is often prohibitively expensive.
While semi-supervised methods have been proposed to leverage unlabeled text, they often rely on complex and unstable techniques like Reinforcement Learning for question generation. This paper introduces a simpler, structural approach to bridge the gap between massive unlabeled corpora and limited labeled datasets by automatically generating "cloze-style" (fill-in-the-blank) questions.
Methodology
The proposed system follows a three-stage pipeline:
- Cloze Generation: The core innovation exploits the natural redundancy in professional writing. In documents like Wikipedia or news articles, introductory summaries often mirror the main body. The system identifies sentences in the introduction that share an exact string match with a phrase in the body. It then replaces that phrase in the intro sentence with a placeholder to create a "cloze" question, using the body paragraph as the context.
- Pre-training: Neural network architectures (BiDAF+SA or GA Reader) are pre-trained on millions of these automatically generated questions. This stage teaches the model the fundamental mechanics of locating factual evidence within a context.
- Fine-tuning: The model is finally fine-tuned on a small set of human-labeled QA pairs to learn the nuances of natural language questions.
To ensure data quality, the authors used NLP tools to ensure answers were meaningful entities and pruned questions with low word overlap. The researchers evaluated this system on SQuAD, TriviaQA-Web, and BioASQ, releasing a dataset of 3.2 million cloze-style questions to the community.
Results and Analysis
The system demonstrates remarkable data efficiency, particularly in low-resource settings. On SQuAD and TriviaQA, the model achieved over 50% F1 score using only 1% of the available training data (approximately 450–750 examples).
Key insights from the experiments include:
- Task-Specific Pre-training: Pre-training on clozes significantly outperformed standard Language Modeling (LM) objectives because the cloze task more closely mirrors the final extractive QA task.
- Lexical Overlap: Regression analysis indicated that the model benefits most when the question and context share high lexical overlap, effectively making the model an expert at "fact-matching."
- Domain Success: In the biomedical domain (BioASQ), domain-specific cloze pre-training proved more effective than transfer learning from general-domain datasets like SQuAD.
Discussion and Limitations
While highly effective for factual questions, the method has limitations based on question type. Analysis of conditional performance shows that "Why" questions see the least improvement, as they often require complex reasoning or external world knowledge that simple cloze-matching fails to capture.
Furthermore, the method depends on documents having a clear summary-body structure. Future work may explore active learning to identify which specific annotations would most benefit the model, further reducing the human labeling burden.
Summary updated