RE-RAG: Improving Open-Domain QA Performance and Interpretability with Relevance Estimator in Retrieval-Augmented Generation
Kiseung Kim, Jay-Yoon Lee
TL;DR
Open-domain QA with retrieval-augmented generation suffers when irrelevant contexts distract the model. RE-RAG adds a relevance estimator that provides both relative context relevance and a confidence measure, trained with weak supervision from QA data. The RE is used to rerank contexts and to weight answer marginalization, and jointly trained with the generator using three losses; decoding strategies exploit confidence to mark unanswerable cases or to leverage LLM param knowledge. Experiments on Natural Questions and TriviaQA show that RE-RAG improves over RAG and FiD-based baselines, generalizes to unseen data, and enables efficient decoding strategies. The work advances interpretability and reliability of retrieval-augmented QA, with practical implications for deploying RAG with LLMs.
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.
