Controlling Risk of Retrieval-augmented Generation: A Counterfactual Prompting Framework
Subject: Information Retrieval and Summarisation
Author or source: Lu Chen, Ruqing Zhang, Jiafeng Guo, Yixing Fan, Xueqi Cheng
Updated:
We also introduce a benchmarking procedure to collect answers with the option to abstain, facilitating a series of experiments.
Lu Chen, Ruqing Zhang, Jiafeng Guo, Yixing Fan, Xueqi Cheng. 2024. Controlling Risk of Retrieval-augmented Generation: A Counterfactual Prompting Framework. Findings of the Association for Computational Linguistics: EMNLP 2024. Association for Computational Linguistics. DOI 10.18653/v1/2024.findings-emnlp.133. CC BY 4.0. Original PDF and author abstract are reproduced unchanged apart from whitespace in the abstract. LawSphereX prepared the reading prompt and cover. No endorsement implied.
Publication sources
Authors’ abstract
Source page 1–14
Retrieval-augmented generation (RAG) has emerged as a popular solution to mitigate the hallucination issues of large language models. However, existing studies on RAG seldom address the issue of predictive uncertainty, i.e., how likely it is that a RAG model’s prediction is incorrect, resulting in uncontrollable risks in real-world applications. In this work, we emphasize the importance of risk control, ensuring that RAG models proactively refuse to answer questions with low confidence. Our research identifies two critical latent factors affecting RAG’s confidence in its predictions: the quality of the retrieved results and the manner in which these results are utilized. To guide RAG models in assessing their own confidence based on these two latent factors, we develop a counterfactual prompting framework that induces the models to alter these factors and analyzes the effect on their answers. We also introduce a benchmarking procedure to collect answers with the option to abstain, facilitating a series of experiments. For evaluation, we introduce several risk-related metrics and the experimental results demonstrate the effectiveness of our approach. Our code and benchmark dataset are available at https://github.com/ict-bigdatalab/RC-RAG.
Reading guide for information retrieval and summarisation
Source page 1–14
Trace a reported result back to the source documents, retrieval or summary task, and scoring method. Spot-check a paper example against its evidence.