Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answering
Shamane Siriwardhana, Rivindu Weerasekera, Elliott Wen, Tharindu Indrajith Kaluarachchi, Rajib Kumar Rana, Suranga Chandima Nanayakkara
Why it has this license class
AChecked 4 Nov 2026. Open license (CC-BY, CC-BY-SA, CC0, public domain): full text indexed and used in synthesis.
| Source | License | Open-access status | Read as |
|---|---|---|---|
| openalex | cc-by | diamond | Green |
| crossref | https://creativecommons.org/licenses/by/4.0/ | — | Green |
| unpaywall | cc-by | gold | Green |
Abstract
BAbstract Retrieval Augment Generation (RAG) is a recent advancement in Open-Domain Question Answering (ODQA). RAG has only been trained and explored with a Wikipedia-based external knowledge base and is not optimized for use in other specialized domains such as healthcare and news. In this paper, we evaluate the impact of joint training of the retriever and generator components of RAG for the task of domain adaptation in ODQA. We propose RAG-end2end, an extension to RAG that can adapt to a domain-specific knowledge base by updating all components of the external knowledge base during training. In addition, we introduce an auxiliary training signal to inject more domain-specific knowledge. This auxiliary signal forces RAG-end2end to reconstruct a given sentence by accessing the relevant information from the external knowledge base. Our novel contribution is that, unlike RAG, RAG-end2end does joint training of the retriever and generator for the end QA task and domain adaptation. We evaluate our approach with datasets from three domains: COVID-19, News, and Conversations, and achieve significant performance improvements compared to the original RAG model. Our work has been open-sourced through the HuggingFace Transformers library, attesting to our work’s credibility and technical consistency.
Claims built on this paper
D- Two papers attack RAG's domain gap at different levels: Siriwardhana et al. 2023 retrain the system end-to-end, jointly training retriever and generator with an auxiliary signal that forces reconstruction from the external knowledge base, whereas Wan et al. 2025 address the same gap at the retrieval architecture, systematically integrating structured KG metadata with unstructured vector retrieval. Trace →
- The domain gap Siriwardhana et al. 2023 trace to RAG's Wikipedia-only training also motivates RAG in business information extraction, where Arslan et al. 2024 note LLMs struggle with domain-specific accuracy—and add a distinct coverage gap: business RAG-LLM application research remains limited. Trace →
- The bundle's domain-gap and labeled-data constraints were present at RAG's inception: Siriwardhana et al. 2023 note early RAG was not optimized for specialized domains such as healthcare and that annotated context-question-answer triplets are hard to obtain—the same labeled-data scarcity Phalke & Bhutnal 2026 later cite against supervised matching for internal staffing. Trace →