arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.17952cs.CLcs.AIcs.IRcs.LG
收藏

SimRAG:面向专业领域适配大语言模型的自改进检索增强生成

SimRAG: Self-Improving Retrieval-Augmented Generation for Adapting Large Language Models to Specialized Domains

Emory University(埃默里大学);Amazon(亚马逊公司)

Ran Xu, Hui Liu, Sreyashi Nag, Zhenwei Dai, Yaochen Xie, Xianfeng Tang, Chen Luo, Yang Li, Joyce C. Ho, Carl Yang, Qi He

AI总结:

SimRAG通过自训练方法,使大语言模型具备问答和问题生成能力,以适配科学和医学等专业领域的检索增强生成任务,在11个数据集上超越基线1.2%-8.6%。

摘要:

检索增强生成(RAG)通过整合外部知识来增强大语言模型(LLM)的问答(QA)能力。然而,将通用RAG系统适配到科学和医学等专业领域,由于分布偏移和领域特定数据访问受限而面临独特挑战。为解决此问题,我们提出SimRAG,一种自训练方法,使LLM具备问答和问题生成的联合能力以进行领域适配。我们的方法首先在指令遵循、问答和搜索相关数据上对LLM进行微调。然后,它提示同一LLM从无标注语料库中生成多样化的领域相关问题,并采用额外的过滤策略保留高质量合成示例。通过利用这些自生成的合成示例,LLM能够提升其在领域特定RAG任务上的性能。在11个数据集上的实验,涵盖两种骨干模型规模和三个领域,表明SimRAG比基线方法高出1.2%至8.6%。

英文摘要:

Retrieval-augmented generation (RAG) enhances the question-answering (QA) abilities of large language models (LLMs) by integrating external knowledge. However, adapting general-purpose RAG systems to specialized fields such as science and medicine poses unique challenges due to distribution shifts and limited access to domain-specific data. To tackle this, we propose SimRAG, a self-training approach that equips the LLM with joint capabilities of question answering and question generation for domain adaptation. Our method first fine-tunes the LLM on instruction-following, question-answering, and search-related data. Then, it prompts the same LLM to generate diverse domain-relevant questions from unlabeled corpora, with an additional filtering strategy to retain high-quality synthetic examples. By leveraging these self-generated synthetic examples, the LLM can improve their performance on domain-specific RAG tasks. Experiments on 11 datasets, spanning two backbone sizes and three domains, demonstrate that SimRAG outperforms baselines by 1.2\%--8.6\%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑