arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.01600cs.CLcs.AI
收藏

检索增强生成的独立与联合微调策略比较

A Comparison of Independent and Joint Fine-tuning Strategies for Retrieval-Augmented Generation

CapitalOne

Neal Gregory Lawton, Alfy Samuel, Anoop Kumar, Daben Liu

AI总结:

本文比较 RAG 中嵌入模型与生成器模型的独立、联合及两阶段微调,发现三者 EM/F1 提升相近但计算成本不同,最优选择取决于上下文标签与学习率网格搜索需求。

摘要:

《检索增强生成的独立与联合微调策略比较》下载 PDF,Neal Gregory Lawton、Alfy Samuel、Anoop Kumar、Daben Liu,发表于2025年8月20日。检索增强生成(RAG)是一种流行的问答框架,由两个大型语言模型(LLM)驱动:一个嵌入模型,用于从数据库中检索与给定问题相关的上下文文档;以及一个生成器模型,用于利用检索到的上下文生成该问题的答案。嵌入模型和生成器模型都可以进行微调,以提升 RAG 流水线在新任务上的性能,但存在多种微调策略,且具有不同的成本与收益。本文评估并比较了若干 RAG 微调策略,包括独立微调、联合微调和两阶段微调。在实验中,我们观察到这些策略在 EM 和 F1 生成质量指标上取得了大致相同的提升,尽管它们的计算成本存在显著差异。我们得出结论:应采用的最佳微调策略取决于训练数据集是否包含上下文标签,以及是否需要对嵌入模型和生成器模型的学习率进行网格搜索。

英文摘要:

A Comparison of Independent and Joint Fine-tuning Strategies for Retrieval-Augmented Generation Download PDF Neal Gregory Lawton, Alfy Samuel, Anoop Kumar, Daben Liu Published: 20 Aug 2025, Retrieval augmented generation (RAG) is a popular framework for question answering that is powered by two large language models (LLMs): an embedding model that retrieves context documents from a database that are relevant to a given question, and a generator model that uses the retrieved context to generate an answer to the question. Both the embedding and generator models can be fine-tuned to increase performance of a RAG pipeline on a new task, but multiple fine-tuning strategies exist with different costs and benefits. In this paper, we evaluate and compare several RAG fine-tuning strategies, including independent, joint, and two-phase fine-tuning. In our experiments, we observe that all of these strategies achieve about equal improvement in EM and F1 generation quality metrics, although they have significantly different computational costs. We conclude the optimal fine-tuning strategy to use depends on whether the training dataset includes context labels and whether a grid search over the learning rates for the embedding and generator models is required.

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

↑