OpenRAG: Optimizing RAG End-to-End via In-Context Retrieval Learning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhou, Jiawei, Chen, Lei
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915191384440832
author Zhou, Jiawei
Chen, Lei
author_facet Zhou, Jiawei
Chen, Lei
contents In this paper, we analyze and empirically show that the learned relevance for conventional information retrieval (IR) scenarios may be inconsistent in retrieval-augmented generation (RAG) scenarios. To bridge this gap, we introduce OpenRAG, a RAG framework that is optimized end-to-end by tuning the retriever to capture in-context relevance, enabling adaptation to the diverse and evolving needs. Extensive experiments across a wide range of tasks demonstrate that OpenRAG, by tuning a retriever end-to-end, leads to a consistent improvement of 4.0% over the original retriever, consistently outperforming existing state-of-the-art retrievers by 2.1%. Additionally, our results indicate that for some tasks, an end-to-end tuned 0.2B retriever can achieve improvements that surpass those of RAG-oriented or instruction-tuned 8B large language models (LLMs), highlighting the cost-effectiveness of our approach in enhancing RAG systems.
format Preprint
id arxiv_https___arxiv_org_abs_2503_08398
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle OpenRAG: Optimizing RAG End-to-End via In-Context Retrieval Learning
Zhou, Jiawei
Chen, Lei
Computation and Language
Information Retrieval
In this paper, we analyze and empirically show that the learned relevance for conventional information retrieval (IR) scenarios may be inconsistent in retrieval-augmented generation (RAG) scenarios. To bridge this gap, we introduce OpenRAG, a RAG framework that is optimized end-to-end by tuning the retriever to capture in-context relevance, enabling adaptation to the diverse and evolving needs. Extensive experiments across a wide range of tasks demonstrate that OpenRAG, by tuning a retriever end-to-end, leads to a consistent improvement of 4.0% over the original retriever, consistently outperforming existing state-of-the-art retrievers by 2.1%. Additionally, our results indicate that for some tasks, an end-to-end tuned 0.2B retriever can achieve improvements that surpass those of RAG-oriented or instruction-tuned 8B large language models (LLMs), highlighting the cost-effectiveness of our approach in enhancing RAG systems.
title OpenRAG: Optimizing RAG End-to-End via In-Context Retrieval Learning
topic Computation and Language
Information Retrieval
url https://arxiv.org/abs/2503.08398