Abstract
We study the problem of semi-supervised question answering—utilizing unlabeled text to boost the performance of question answering models. We propose a novel training framework, the Generative Domain-Adaptive Nets (GDANs). In this framework, we train a generative model to generate questions based on the unlabeled text, and combine model-generated questions with human-generated questions for training question answering models. We develop novel domain adaptation algorithms, based on reinforcement learning, to alleviate the discrepancy between the model-generated data distribution and the human-generated data distribution. Experiments show that our proposed framework obtains substantial improvement from unlabeled text.
Introduction
Deep learning has significantly advanced Reading Comprehension and Question Answering (QA). However, state-of-the-art models are notoriously data-hungry. Datasets like SQuAD require tens of thousands of human-annotated question-answer pairs, which are expensive and time-consuming to produce. Conversely, vast amounts of unlabeled text, such as Wikipedia, remain untapped. Standard semi-supervised techniques often struggle with the extractive nature of QA due to "distributional discrepancy"—the gap between synthetic, AI-generated questions and natural human questions.
Methodology: Generative Domain-Adaptive Nets
To address these challenges, we introduce Generative Domain-Adaptive Nets (GDANs). The framework consists of two primary components:
- The Generative Model (G): A sequence-to-sequence model with a copy mechanism that takes a paragraph and a potential answer (extracted via linguistic heuristics) to generate a question.
- The Discriminative Model (D): The target QA model, typically a Gated-Attention (GA) reader, trained to find answer spans in text.
Domain Adaptation and RL
To bridge the gap between synthetic and human data, we employ two key strategies:
- Domain Tags: We append tags (
d_truefor human data,d_genfor synthetic) to inputs. This allows the discriminative model to learn domain-specific nuances while extracting invariant features useful for both. - Reinforcement Learning (RL): Rather than relying solely on Maximum Likelihood Estimation (MLE) to mimic human language, we use RL to reward the generator when it produces questions that the discriminative model can answer correctly. This ensures the generated data is optimized for training utility rather than just surface-level realism.
Experimental Setup
We evaluated GDANs using the SQuAD dataset for labeled data and a massive corpus of Wikipedia articles (approx. 4.7 million potential answer-paragraph pairs) for unlabeled data. Answer candidates were extracted using Part-of-Speech (POS) tagging and Named Entity Recognition (NER).
Results and Discussion
The GDAN framework shows significant promise, particularly in low-resource settings. When trained on only 10% of SQuAD (8,000 labels), GDAN improved the F1 score by 9.87 points over a supervised baseline. Remarkably, a model trained with 10% labeled data plus unlabeled text outperformed a model trained on 20% labeled data alone, effectively halving the human labeling requirement.
Our findings suggest that the utility of generated data for the downstream task is more important than its surface-level realism. By treating synthetic data as a distinct domain and using RL to align the generator with the discriminator's needs, we can leverage massive unlabeled corpora to build more robust QA systems.
Conclusion
GDANs provide a powerful framework for semi-supervised QA. While the current implementation relies on linguistic heuristics for answer extraction, the results demonstrate that domain-adaptive generative models can significantly reduce the dependency on human-labeled data. Future work could explore more sophisticated selection methods and generalize the framework to non-extractive QA tasks.
Summary updated