Improving the Domain Adaptation of Retrieval Augmented Generation (RAG) Models for Open Domain Question Answering

Улучшение адаптации к предметной области моделей генерации с дополнением извлечённой информацией (RAG) для ответов на вопросы в открытом домене
Shamane Siriwardhana, Rivindu Weerasekera, Elliott Wen, Tharindu Kaluarachchi, Rajib Rana, Suranga Nanayakkara
2023-01-01

RAG-end2enddomain adaptationjoint retriever-generator trainingopen-domain question answeringretrieval-augmented generation
Abstract 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.
1
An auxiliary sentence-reconstruction objective injects domain-specific knowledge by requiring retrieval of relevant information from the external knowledge base.
2
Experiments across COVID-19, News, and Conversations domains show significant performance improvements over the original RAG model.
3
RAG-end2end adapts retrieval-augmented generation to domain-specific knowledge bases beyond Wikipedia for open-domain question answering.
4
The approach is open-sourced through the HuggingFace Transformers library, supporting reproducibility and technical consistency.
5
The method jointly trains the retriever and generator for both end-task question answering and domain adaptation, updating all external knowledge-base components.

RAG models adapted to domain-specific knowledge bases for open-domain question answering in the COVID-19, news, and conversational domains

The effects of joint retriever–generator training and auxiliary domain-specific knowledge injection on RAG domain adaptation and question-answering performance

Publication Details
Publication Date
2023-01-01
Journal
Publisher
ISSN
Cited by
314
Access Type
Author Information
Authors
Shamane Siriwardhana
Rivindu Weerasekera
Elliott Wen
Tharindu Kaluarachchi
Rajib Rana
Suranga Nanayakkara
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat →
Make a presentation
100%