Saved in:
Bibliographic Details
Main Authors: Guan, Kaisi, Cao, Qian, Sun, Yuchong, Wang, Xiting, Song, Ruihua
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.20075
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • Retrieval Augmented Generation (RAG) system is important in domains such as e-commerce, which has many long-tail entities and frequently updated information. Most existing works adopt separate modules for retrieval and generation, which may be suboptimal since the retrieval task and the generation task cannot benefit from each other to improve performance. We propose a novel Backbone Shared RAG framework (BSharedRAG). It first uses a domain-specific corpus to continually pre-train a base model as a domain-specific backbone model and then trains two plug-and-play Low-Rank Adaptation (LoRA) modules based on the shared backbone to minimize retrieval and generation losses respectively. Experimental results indicate that our proposed BSharedRAG outperforms baseline models by 5% and 13% in Hit@3 upon two datasets in retrieval evaluation and by 23% in terms of BLEU-3 in generation evaluation. Our codes, models, and dataset are available at https://bsharedrag.github.io.