Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Deep learning›Domain-adaptive Question Answering
Machine learningDeep learning / NLP / CV

Domain-adaptive Question Answering

Domain-Adaptive Question Answering (DA-QA) · Also known as: DA-QA, domain-adapted QA, domain-specific question answering, cross-domain question answering

Domain-adaptive Question Answering (DA-QA) adapts a pre-trained language model — typically BERT or RoBERTa — first trained on general QA benchmarks such as SQuAD to answer questions accurately in a new target domain (e.g., biomedical, legal, financial) where labelled data is scarce. Combining domain-adaptive pre-training with task fine-tuning yields substantially stronger performance than direct fine-tuning alone.

ScholarGate
  1. Machine learning
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Domain-adaptive Question Answering
BERT-based ClassificationDomain-adaptive BERT-bas…Fine-Tuned Question Answ…Multilingual question an…RoBERTa-based Classifica…Transfer Learning with B…Weakly supervised questi…

When to use it

Use DA-QA when you need accurate question answering in a specialised domain (biomedical, legal, scientific, customer-support) where general-purpose QA models underperform due to vocabulary mismatch or domain-specific reasoning. It excels when unlabelled domain text is plentiful but labelled QA pairs are scarce. Do not use it when the target domain is already well-covered by the base pre-training corpus; direct fine-tuning on SQuAD-style data may then suffice. Avoid DA-QA when interpretability of predictions is mandatory and black-box neural models are not accepted by your stakeholders.

Strengths & limitations

Strengths
  • Closes the vocabulary and distributional gap between general and specialised domains without requiring large labelled datasets.
  • Compatible with any transformer backbone — benefits compound when using already domain-aware models such as BioBERT or LegalBERT.
  • Retrieval-augmented variants scale to large knowledge bases and avoid the closed-book limitations of pure parametric models.
  • Consistently outperforms direct fine-tuning on specialised benchmarks (e.g., BioASQ, TechQA) even with modest labelled data.
  • Modular pipeline — DAPT and fine-tuning steps can be updated independently when new domain text or labels become available.
Limitations
  • Domain-adaptive pre-training on large corpora is computationally expensive and requires access to substantial unlabelled domain text.
  • Answer quality depends heavily on the quality and coverage of retrieved passages; poor retrieval cascades into poor answers.
  • Extractive models cannot synthesise answers that require aggregating information across multiple passages.
  • Model confidence scores are often poorly calibrated, making it difficult to identify when the system does not know the answer.

Frequently asked

How much unlabelled domain text is needed for DAPT to help?

Benefits appear with as few as a few million tokens, but gains continue with larger corpora. PubMedBERT, for example, was trained on roughly 3.1 billion tokens of PubMed text. In practice, even a focused corpus of tens of thousands of domain documents provides measurable improvement.

Should I use an extractive or generative QA model?

Extractive models (predicting answer spans) are more reliable when answers always appear verbatim in a passage, and are easier to audit. Generative models (e.g., T5, GPT-based) handle free-form and aggregative answers but are harder to verify and more prone to hallucination.

What evaluation metrics should I report?

Report both Exact Match (EM) and token-level F1 on a held-out test set. For retrieval-augmented systems also report retrieval recall (passage-level). Where labelled test data is unavailable, human evaluation of a random sample of answers is the fallback.

Can DA-QA work without any labelled target-domain QA pairs?

Yes, via zero-shot transfer: DAPT is applied and the model is evaluated directly without fine-tuning on target labels. Performance is lower than supervised fine-tuning but often acceptable for pilot applications. Alternatively, questions can be automatically generated from domain passages to create synthetic training data.

Is domain-adaptive QA the same as fine-tuned QA?

No. Fine-tuned QA only updates the model on labelled QA pairs from the target domain. Domain-adaptive QA adds a DAPT step on unlabelled domain text before fine-tuning, which consistently yields better results when labelled data is scarce.

Sources

  1. Garg, S., Vu, T., & Moschitti, A. (2020). TANDA: Transfer and Adapt Pre-Trained Transformer Models for Answer Sentence Selection. Proceedings of the AAAI Conference on Artificial Intelligence, 34(5), 7780–7788. DOI: 10.1609/aaai.v34i05.6282 ↗
  2. Yue, X., Zeng, Z., Shi, Y., Zhang, C., & Song, Y. (2022). Domain-adaptive Pre-training Methods for Natural Language Understanding. arXiv preprint. link ↗

How to cite this page

ScholarGate. (2026, June 3). Domain-Adaptive Question Answering (DA-QA). ScholarGate. https://scholargate.app/en/deep-learning/domain-adaptive-question-answering

Related methods

BERT-based ClassificationDomain-adaptive BERT-based ClassificationFine-Tuned Question AnsweringMultilingual question answeringRoBERTa-based ClassificationTransfer Learning with BERT-based Classification

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • BERT-based ClassificationDeep learning↔ compare
  • Domain-adaptive BERT-based ClassificationDeep learning↔ compare
  • Fine-Tuned Question AnsweringDeep learning↔ compare
  • Multilingual question answeringDeep learning↔ compare
  • RoBERTa-based ClassificationDeep learning↔ compare
  • Transfer Learning with BERT-based ClassificationDeep learning↔ compare
Compare side by side →

Referenced by

Weakly supervised question answering

Similar methods

Domain-adaptive Named Entity RecognitionDomain-adaptive BERT-based ClassificationDomain-adaptive sentence embeddingsDomain-adaptive RoBERTa-based ClassificationFine-Tuned Question AnsweringDomain-adaptive Text SummarizationDomain-adaptive transformerDomain Adaptation

Related reference concepts

Question Answering and Dialogue SystemsInformation ExtractionNatural Language Processing in Clinical DocumentationInformation ExtractionNeural Language Models and Word EmbeddingsLexical Semantics and Word-Sense Disambiguation

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Domain-adaptive Question Answering (Domain-Adaptive Question Answering (DA-QA)). Retrieved 2026-07-22 from https://scholargate.app/en/deep-learning/domain-adaptive-question-answering · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Multiple (e.g., Garg et al.; Yue et al.)
Year
2019–2020
Type
Domain adaptation for extractive/generative QA
DataType
Text (passages, questions, answer spans)
Subfamily
Deep learning / NLP / CV
Related methods
BERT-based ClassificationDomain-adaptive BERT-based ClassificationFine-Tuned Question AnsweringMultilingual question answeringRoBERTa-based ClassificationTransfer Learning with BERT-based Classification
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account