Stochastic RAG:通过期望效用最大化的端到端检索增强生成
Stochastic RAG: End-to-End Retrieval-Augmented Generation through Expected Utility Maximization
AI总结:
本文提出Stochastic RAG,将检索建模为无放回随机采样,并利用straight-through Gumbel-top-k实现端到端可微优化,在七个数据集中六个上取得最先进结果。
摘要:
本文提出了Stochastic RAG——一种用于端到端优化检索增强生成(RAG)模型的新方法,该方法放宽了大多数先前工作中所作的边际化和文档独立性简化假设。Stochastic RAG将RAG中的检索过程建模为无放回随机采样过程。通过这一形式化表述,我们采用straight-through Gumbel-top-k,它为无放回采样提供了可微近似,并实现了RAG的有效端到端优化。我们在七个多样化的数据集上进行了广泛实验,涵盖从开放域问答到事实验证、关系抽取的槽填充以及对话系统等多种任务。通过将这种优化方法应用于一个近期且有效的RAG模型,我们在七个数据集中的六个上取得了最先进的结果。
英文摘要:
This paper introduces Stochastic RAG--a novel approach for end-to-end optimization of retrieval-augmented generation (RAG) models that relaxes the simplifying assumptions of marginalization and document independence, made in most prior work. Stochastic RAG casts the retrieval process in RAG as a stochastic sampling without replacement process. Through this formulation, we employ straight-through Gumbel-top-k that provides a differentiable approximation for sampling without replacement and enables effective end-to-end optimization for RAG. We conduct extensive experiments on seven diverse datasets on a wide range of tasks, from open-domain question answering to fact verification to slot-filling for relation extraction and to dialogue systems. By applying this optimization method to a recent and effective RAG model, we advance state-of-the-art results on six out of seven datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。