Simple and Effective Semi-Supervised Question Answering

Bhuwan Dhingra, Danish Pruthi, Dheeraj Rajagopal

Abstract

Extractive Question Answering (QA) models typically require vast amounts of labeled data to achieve state-of-the-art performance. This paper explores a simple yet effective semi-supervised approach that leverages document structure to generate millions of synthetic "cloze-style" questions. By pre-training on this automatically generated data, models can achieve high performance on major benchmarks like SQuAD and TriviaQA using as little as 1% of the available human-labeled training data.

Introduction

Modern extractive QA systems, which identify answer spans within a given context, are highly dependent on large-scale datasets like SQuAD. However, creating such datasets is labor-intensive and often impractical for specialized domains such as law or medicine. While semi-supervised learning offers a potential solution, existing methods often rely on complex generative models or reinforcement learning. This research investigates whether a straightforward heuristic for synthetic data generation can provide a more efficient path to high-performing QA models.

Methodology: Cloze-Style Pre-training

The proposed method utilizes a three-stage pipeline designed to minimize the need for human annotation.

1. Cloze Generation

The core innovation lies in a simple heuristic that exploits the natural structure of documents. In many informational texts, an introductory summary contains entities or phrases that are elaborated upon in the main body. The system identifies exact string matches between an introductory sentence and a passage in the document body. By masking the matching phrase in the introduction, a "cloze" (fill-in-the-blank) question is created, with the body passage serving as the context.

Example of a generated cloze-style question where a phrase from the passage is masked in the question sentence.

2. Pre-training and Fine-tuning

Models such as the Gated-Attention (GA) Reader and BiDAF+SA are first pre-trained on millions of these synthetic cloze questions. This phase allows the model to learn the fundamental mechanics of evidence retrieval and pattern matching. Subsequently, the model is fine-tuned on a small fraction of real, human-labeled question-answer pairs to adapt to the specific nuances of the target QA task.

Experimental Results

The researchers evaluated the approach across SQuAD, TriviaQA-Web, and BioASQ. A key contribution of this work is the release of a dataset containing 3.2 million automatically generated cloze questions.

Performance with Minimal Data

The most striking result is the model's efficiency in low-resource settings. On both SQuAD and TriviaQA, the system achieved over 50% F1 scores using only 1% of the available training data (approximately 1,000 examples). Furthermore, with just 10% of the labeled data, the model reached nearly 90% of the performance of a model trained on the full dataset.

Performance comparison of models (GA and BiDAF+SA) across different fractions of training data on SQuAD and TRIVIA-QA benchmarks.

Domain Adaptation and Task Proxy

The study found that pre-training on domain-specific clozes (e.g., using PubMed for the BioASQ challenge) was more effective than transferring knowledge from a larger, general-domain dataset like SQuAD. Additionally, the cloze-style pre-training task proved to be a significantly better proxy for extractive QA than standard language modeling objectives.

Discussion and Limitations

Regression analysis indicated that the pre-training benefit is most pronounced when there is high lexical overlap between the question and the context. This suggests the model excels at sophisticated pattern matching. However, the method showed less improvement for "Why" questions, which typically require deeper logical reasoning or external world knowledge.

The effectiveness of the cloze generation heuristic is also tied to document structure; it is most successful on well-organized texts like Wikipedia or scientific papers. Future work may involve active learning strategies to identify and annotate the specific question types that remain challenging for the model, further optimizing the balance between performance and annotation cost.

Summary updated

BibTeX
@inproceedings{dhingra2018simple,
  author = {Bhuwan Dhingra and Danish Pruthi and Dheeraj Rajagopal},
  title = {{Simple and Effective Semi-Supervised Question Answering}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  url = {https://openreview.net/forum?id=ByWhKm-_WB},
}
Figure