Skip to main content
QUICK REVIEW

[Paper Review] Towards Domain Adaptation from Limited Data for Question Answering Using Deep Neural Networks

Timothy J. Hazen, Shehzaad Dhuliawala|arXiv (Cornell University)|Nov 6, 2019
Topic ModelingComputer Science25 references14 citations
TL;DR

This paper investigates domain adaptation for question answering in specialized domains using limited annotated data, demonstrating that fine-tuning pre-trained BERT-based models with even small amounts of in-domain data yields strong performance. Surprisingly, standard transfer learning outperforms unsupervised domain adaptation techniques, and answer length distribution alignment via importance weighting improves general model performance, though fine-tuning remains the dominant factor in adaptation success.

ABSTRACT

This paper explores domain adaptation for enabling question answering (QA) systems to answer questions posed against documents in new specialized domains. Current QA systems using deep neural network (DNN) technology have proven effective for answering general purpose factoid-style questions. However, current general purpose DNN models tend to be ineffective for use in new specialized domains. This paper explores the effectiveness of transfer learning techniques for this problem. In experiments on question answering in the automobile manual domain we demonstrate that standard DNN transfer learning techniques work surprisingly well in adapting DNN models to a new domain using limited amounts of annotated training data in the new domain.

Motivation & Objective

  • To address the challenge of deploying question answering systems in new specialized domains with limited annotated training data.
  • To evaluate the effectiveness of transfer learning techniques for adapting general-purpose QA models to specialized domains such as automobile manuals.
  • To investigate whether unsupervised domain adaptation or importance weighting based on answer length can improve performance when in-domain labeled data is scarce.
  • To determine whether the initial performance of a pre-trained model affects its adaptability to new domains with limited data.

Proposed method

  • Fine-tuning a pre-trained BERT-based QA model using limited in-domain labeled data from the automobile manual domain.
  • Applying importance weighting to source domain training samples based on answer length distribution to align with the target domain.
  • Estimating target domain answer length distributions using varying amounts of in-domain data to compute weighting functions.
  • Using histogram estimation with 'auto' binning to model the probability distributions of answer lengths in source and target domains.
  • Training the model with reweighted source data to emphasize samples with answer lengths similar to those in the target domain.
  • Comparing performance of standard transfer learning, importance weighting, and unsupervised domain adaptation techniques on the same test set.

Experimental results

Research questions

  • RQ1Can standard transfer learning techniques effectively adapt a general-purpose QA model to a new specialized domain with limited in-domain labeled data?
  • RQ2Does aligning the answer length distribution between source and target domains via importance weighting improve model performance in the target domain?
  • RQ3How does the performance of unsupervised domain adaptation compare to supervised fine-tuning when only limited labeled data is available?
  • RQ4To what extent does the initial accuracy of a pre-trained model influence its adaptability to a new domain with minimal data?

Key findings

  • Fine-tuning a general-purpose BERT-based QA model with as few as 1000 in-domain labeled examples achieves an F1 score of approximately 0.70, significantly outperforming the general model.
  • Importance weighting based on answer length distribution improves the general model’s F1 score from 0.64 to 0.70, accounting for about 30% of the gap to the domain-specific model.
  • The performance of the importance-weighted model is nearly identical to the standard fine-tuned model, indicating that fine-tuning subsumes the benefit of distributional weighting.
  • When fine-tuned on less than 1000 in-domain samples, the importance-weighted model performs slightly worse than the standard fine-tuned model, suggesting that fine-tuning is more effective than distributional adjustment alone.
  • The results show that transfer learning is highly effective even with limited in-domain data, and the amount of data used to pre-train the general model is more influential than its initial accuracy for adaptation success.

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.