Abstract
Question Generation (QG) models often fail when applied to domains outside their training set due to domain shift. We present a two-stage unsupervised domain adaptation (UDA) framework that utilizes Answer-Aware Data Selection (AADS) and Confidence-Guided Self-training (ST). Our approach effectively bridges the gap between general-purpose datasets and specialized educational or scientific content without requiring target-domain labels, achieving significant performance gains across multiple benchmarks.
Introduction
The ability to automatically generate high-quality questions from text is essential for educational tools and conversational agents. However, state-of-the-art models are typically trained on large-scale datasets like Natural Questions (NQ), which are based on general web content. When these models are applied to specialized domains such as high school science (SciQ) or English exams (RACE), performance drops significantly. This phenomenon, known as domain shift, necessitates expensive manual data labeling. Unsupervised Domain Adaptation (UDA) aims to solve this by using labeled source data and unlabeled target text.
Visualizing the Domain Gap
The challenge of domain adaptation is rooted in the distinct characteristics of different text corpora. Using t-SNE visualizations of BERT hidden states, we can observe that data points naturally cluster by domain. This spatial separation in the embedding space provides a mathematical justification for why models trained on one domain struggle with another.
Methodology
The proposed framework consists of two primary stages: Domain Data Selection and Confidence-Guided Self-training.
Domain Data Selection (DDS)
Rather than using the entire source dataset, the DDS stage selects a subset that is most similar to the target domain. The authors introduce Answer-Aware Data Selection (AADS), which prioritizes matching the distribution of answer types (e.g., "Who", "What", "Where") between domains. By grouping source data by answer type and using Gaussian Mixture Models (GMM) to cluster embeddings, the model identifies the most relevant training samples.
Confidence-Guided Self-training (ST)
The second stage involves generating "pseudo-questions" on the unlabeled target text. To prevent the model from learning its own errors, these generations are filtered based on Sentence Perplexity and a BERT-based Fluency Score. This ensures that only high-quality, natural-sounding questions are used for further fine-tuning.
Results and Discussion
The DDS+ST approach consistently outperforms standard baselines. On the RACE dataset, the METEOR score improved from 13.68 to 14.87, while on SciQ, it rose from 15.53 to 17.17. Human evaluations further validated these results, with adapted models producing questions that were significantly more syntactically correct, relevant, and answerable.
Conclusion
This research provides a robust framework for adapting QG models to new domains without the need for new human-labeled data. By focusing on answer-type distributions and filtering self-generated labels, we can create more versatile and accurate AI-driven educational tools.
Summary updated