Skip to main content
QUICK REVIEW

[Paper Review] Domain Adaptation for Question Answering via Question Classification

Zhenrui Yue, Huimin Zeng|arXiv (Cornell University)|Sep 12, 2022
Topic ModelingComputer Science5 citations
TL;DR

This paper proposes QC4QA, a novel self-supervised domain adaptation framework for question answering that leverages question classification to reduce inter-domain and intra-class discrepancies. By jointly training on source and target data using pseudo-labeled target questions and minimizing domain shift via MMD, QC4QA achieves state-of-the-art performance across multiple datasets without requiring labeled target data.

ABSTRACT

Question answering (QA) has demonstrated impressive progress in answering questions from customized domains. Nevertheless, domain adaptation remains one of the most elusive challenges for QA systems, especially when QA systems are trained in a source domain but deployed in a different target domain. In this work, we investigate the potential benefits of question classification for QA domain adaptation. We propose a novel framework: Question Classification for Question Answering (QC4QA). Specifically, a question classifier is adopted to assign question classes to both the source and target data. Then, we perform joint training in a self-supervised fashion via pseudo-labeling. For optimization, inter-domain discrepancy between the source and target domain is reduced via maximum mean discrepancy (MMD) distance. We additionally minimize intra-class discrepancy among QA samples of the same question class for fine-grained adaptation performance. To the best of our knowledge, this is the first work in QA domain adaptation to leverage question classification with self-supervised adaptation. We demonstrate the effectiveness of the proposed QC4QA with consistent improvements against the state-of-the-art baselines on multiple datasets.

Motivation & Objective

  • To address domain shift in question answering when deploying models to unseen target domains.
  • To reduce performance degradation caused by distributional shifts in question syntax and context domains.
  • To develop a self-supervised adaptation framework that leverages question class information without requiring labeled target data.
  • To improve generalization by minimizing both inter-domain and intra-class discrepancies in QA representations.
  • To demonstrate the effectiveness of combining question classification with self-supervised adaptation in zero-shot domain adaptation settings.

Proposed method

  • A question classifier is trained on source data to assign question classes to both source and target questions.
  • Unlabeled target questions are pseudo-labeled using a pretrained QA model to generate training signals.
  • A distribution-aware sampling strategy constructs mini-batches that reflect the target question distribution to improve discrepancy estimation.
  • The framework jointly optimizes for domain alignment using Maximum Mean Discrepancy (MMD) to minimize inter-domain discrepancy.
  • Intra-class discrepancy among samples of the same question class is minimized to enable fine-grained adaptation.
  • The overall objective combines MMD-based domain alignment with intra-class consistency regularization for improved generalization.

Experimental results

Research questions

  • RQ1Can question classification improve domain adaptation in question answering without requiring labeled target data?
  • RQ2How does incorporating question class information affect the reduction of inter-domain and intra-class discrepancies in QA models?
  • RQ3What is the impact of distribution-aware sampling on adaptation performance in low-resource target domains?
  • RQ4How robust is the proposed framework to hyperparameter choices such as the MMD weighting coefficient and confidence threshold in pseudo-labeling?
  • RQ5Can self-supervised adaptation with question classification outperform existing domain-adversarial and pseudo-labeling baselines in zero-shot QA domain adaptation?

Key findings

  • QC4QA consistently outperforms state-of-the-art baselines across multiple datasets, including CNN, Daily Mail, and NewsQA, with significant EM and F1 improvements.
  • On CNN, QC4QA achieves 28.05 EM and 36.18 F1 using distribution-aware sampling, compared to 26.69 EM and 35.24 F1 with random sampling, demonstrating the importance of sampling strategy.
  • The optimal confidence threshold for pseudo-labeling lies between 0.4 and 0.8, with higher thresholds yielding better results on large datasets like SearchQA by filtering noisy predictions.
  • The MMD hyperparameter λ shows a non-monotonic but peak performance around 0.01–0.02, indicating sensitivity but robustness to moderate variations.
  • QC4QA achieves superior performance even when using unsupervised clustering for question classification, proving its effectiveness without additional annotations.
  • The framework is particularly effective on target datasets with different question formats, such as CNN and Daily Mail, where domain shifts are more pronounced.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.