RE-RAG: Improving Open-Domain QA Performance and Interpretability with Relevance Estimator in Retrieval-Augmented Generation

Kiseung Kim, Jay-Yoon Lee
6/9/2024
cs.CLcs.AI

No official code found. Best implementation: kkskp/re-rag (2 stars, last commit 2025-01-01).

Abstract

The Retrieval Augmented Generation (RAG) framework utilizes a combination of parametric knowledge and external knowledge to demonstrate state-of-the-art performance on open-domain question answering tasks. However, the RAG framework suffers from performance degradation when the query is accompanied by irrelevant contexts. In this work, we propose the RE-RAG framework, which introduces a relevance estimator (RE) that not only provides relative relevance between contexts as previous rerankers did, but also provides confidence, which can be used to classify whether given context is useful for answering the given question. We propose a weakly supervised method for training the RE simply utilizing question-answer data without any labels for correct contexts. We show that RE trained with a small generator (sLM) can not only improve the sLM fine-tuned together with RE but also improve previously unreferenced large language models (LLMs). Furthermore, we investigate new decoding strategies that utilize the proposed confidence measured by RE such as choosing to let the user know that it is "unanswerable" to answer the question given the retrieved contexts or choosing to rely on LLM's parametric knowledge rather than unrelated contexts.

View on arXivView PDF

Code Implementations(1)

kkskp/re-ragCommunity100%

Code of paper(RE-RAG)

20Shell, PythonOct 4, 20241 years ago

Similar Papers

Cite this paper

@article{kim2024rerag,
  title  = {RE-RAG: Improving Open-Domain QA Performance and Interpretability with Relevance Estimator in Retrieval-Augmented Generation},
  author = {Kiseung Kim and Jay-Yoon Lee},
  year   = {2024},
  eprint = {2406.05794},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.05794v3}
}

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/2406.05794.svg)](https://codeofpaper.com/paper/2406.05794)

Discussion