Toward Optimal Search and Retrieval for RAG

Alexandria Leto, Cecilia Aguerrebere, Ishwar Bhati, Ted Willke, Mariano Tepper +1 more
11/11/2024
cs.CL

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Retrieval-augmented generation (RAG) is a promising method for addressing some of the memory-related challenges associated with Large Language Models (LLMs). Two separate systems form the RAG pipeline, the retriever and the reader, and the impact of each on downstream task performance is not well-understood. Here, we work towards the goal of understanding how retrievers can be optimized for RAG pipelines for common tasks such as Question Answering (QA). We conduct experiments focused on the relationship between retrieval and RAG performance on QA and attributed QA and unveil a number of insights useful to practitioners developing high-performance RAG pipelines. For example, lowering search accuracy has minor implications for RAG performance while potentially increasing retrieval speed and memory efficiency.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{leto2024toward,
  title  = {Toward Optimal Search and Retrieval for RAG},
  author = {Alexandria Leto and Cecilia Aguerrebere and Ishwar Bhati and Ted Willke and Mariano Tepper and Vy Ai Vo},
  year   = {2024},
  eprint = {2411.07396},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.07396v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.07396.svg)](https://codeofpaper.com/paper/2411.07396)

Discussion