Stochastic RAG: End-to-End Retrieval-Augmented Generation through Expected Utility Maximization

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Zamani, Hamed, Bendersky, Michael
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916235501895680
author Zamani, Hamed
Bendersky, Michael
author_facet Zamani, Hamed
Bendersky, Michael
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2405_02816
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Stochastic RAG: End-to-End Retrieval-Augmented Generation through Expected Utility Maximization
Zamani, Hamed
Bendersky, Michael
Computation and Language
Information Retrieval
Machine Learning
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.
title Stochastic RAG: End-to-End Retrieval-Augmented Generation through Expected Utility Maximization
topic Computation and Language
Information Retrieval
Machine Learning
url https://arxiv.org/abs/2405.02816