arXiv:2505.03075cs.IR2025-05被引 13

让检索与生成模型一起学,提升问答准确率。

Direct Retrieval-augmented Optimization: Synergizing Knowledge Selection and Language Models

  • 设计端到端训练框架,联合优化文档选择和语言生成
  • 在5个数据集上准确率提升5%-15%
  • 适合想提升知识问答系统性能的研究者

检索增强生成(RAG)通过结合大语言模型(LLM)与检索器,提升知识驱动任务中的生成事实性。以往方法多独立微调检索器或固定检索器训练语言模型,缺乏端到端监督。近期工作虽实现联合训练,但假设文档相互独立,与真实场景不符。本文提出直接检索增强优化框架DRO,实现生成式知识选择模型与LLM生成器的端到端训练。DRO采用交替优化:先估计文档排序分布,再用重要性权重重加权最大化。理论分析表明其等价于强化学习中的策略梯度方法。在五个数据集上的实验显示,相比最佳基线,DRO在EM和F1上提升5%-15%。深入实验验证了DRO的稳定性、收敛性与方差控制能力。

原文摘要 · Abstract (English)

Retrieval-augmented generation (RAG) integrates large language models ( LLM s) with retrievers to access external knowledge, improving the factuality of LLM generation in knowledge-grounded tasks. To optimize the RAG performance, most previous work independently fine-tunes the retriever to adapt to frozen LLM s or trains the LLMs to use documents retrieved by off-the-shelf retrievers, lacking end-to-end training supervision. Recent work addresses this limitation by jointly training these two components but relies on overly simplifying assumptions of document independence, which has been criticized for being far from real-world scenarios. Thus, effectively optimizing the overall RAG performance remains a critical challenge. We propose a direct retrieval-augmented optimization framework, named DRO, that enables end-to-end training of two key components: (i) a generative knowledge selection model and (ii) an LLM generator. DRO alternates between two phases: (i) document permutation estimation and (ii) re-weighted maximization, progressively improving RAG components through a variational approach. In the estimation step, we treat document permutation as a latent variable and directly estimate its distribution from the selection model by applying an importance sampling strategy. In the maximization step, we calibrate the optimization expectation using importance weights and jointly train the selection model and LLM generator. Our theoretical analysis reveals that DRO is analogous to policy-gradient methods in reinforcement learning. Extensive experiments conducted on five datasets illustrate that DRO outperforms the best baseline with 5%-15% improvements in EM and F1. We also provide in-depth experiments to qualitatively analyze the stability, convergence, and variance of DRO.

RAG端到端训练知识选择生成优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。