REAR: A Relevance-Aware Retrieval-Augmented Framework for Open-Domain Question Answering

Yuhao Wang, Ruiyang Ren, Junyi Li, Wayne Xin Zhao, Jing Liu +1 more
2/27/2024
cs.CLcs.IR

Official code: RUCAIBox/REAR (35 stars, last commit 2024-11-21). 1 more implementation below.

Abstract

Considering the limited internal parametric knowledge, retrieval-augmented generation (RAG) has been widely used to extend the knowledge scope of large language models (LLMs). Despite the extensive efforts on RAG research, in existing methods, LLMs cannot precisely assess the relevance of retrieved documents, thus likely leading to misleading or even incorrect utilization of external knowledge (eg., retrieved documents). To address this issue, in this paper, we propose REAR, a RElevance-Aware Retrieval-augmented approach for open-domain question answering (QA). As the key motivation, we aim to enhance the self-awareness regarding the reliability of external knowledge for LLMs, so as to adaptively utilize external knowledge in RAG systems. Specially, we develop a novel architecture for LLM-based RAG systems, by incorporating a specially designed assessment module that precisely assesses the relevance of retrieved documents. Furthermore, we propose an improved training method based on bi-granularity relevance fusion and noise-resistant training. By combining the improvements in both architecture and training, our proposed REAR can better utilize external knowledge by effectively perceiving the relevance of retrieved documents. Experiments on four open-domain QA tasks show that REAR significantly outperforms previous a number of competitive RAG approaches. Our codes can be accessed at https://github.com/RUCAIBox/REAR.

View on arXivView PDF

Code Implementations(2)

RUCAIBox/REAROfficial100%

Implementation of "REAR: A Relevance-Aware Retrieval-Augmented Framework for Open-Domain Question Answering"

352Shell, PythonFeb 27, 20241 years ago
yhao-wang/REARCommunity61%

Implementation of "REAR: A Relevance-Aware Retrieval-Augmented Framework for Open-Domain Question Answering"

84Shell, PythonFeb 27, 20241 years ago

Similar Papers

Cite this paper

@article{wang2024rear,
  title  = {REAR: A Relevance-Aware Retrieval-Augmented Framework for Open-Domain Question Answering},
  author = {Yuhao Wang and Ruiyang Ren and Junyi Li and Wayne Xin Zhao and Jing Liu and Ji-Rong Wen},
  year   = {2024},
  eprint = {2402.17497},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.17497v2}
}

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

Discussion