Domain Adaptation for Question Answering via Question Classification

Zhenrui Yue, Huimin Zeng, Ziyi Kou, Lanyu Shang, Dong Wang
9/12/2022
cs.CLcs.AI
contrastive-ssl

Official code: Yueeeeeeee/Self-Supervised-QA (8 stars, Python, last commit 2023-07-04).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

[COLING & EMNLP 2022] PyTorch Implementation of (1) Domain Adaptation for Question Answering via Question Classification; (2) QA Domain Adaptation using Hidden Space Augmentation and Self-Supervised Contrastive Adaptation

81PythonAug 25, 20223 years ago

Similar Papers

Cite this paper

@article{yue2022domain,
  title  = {Domain Adaptation for Question Answering via Question Classification},
  author = {Zhenrui Yue and Huimin Zeng and Ziyi Kou and Lanyu Shang and Dong Wang},
  year   = {2022},
  eprint = {2209.04998},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.04998}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.04998.svg)](https://codeofpaper.com/paper/2209.04998)

Discussion