mlsanityData to 7 Oct 2026

Controlling Risk of Retrieval-augmented Generation: A Counterfactual Prompting Framework

arXiv 2409.16146 ↗First posted 24 Sep 2024cs.CLcited by 12

On the map: Retrieval-augmented generation → RAG robustness and adaptive retrieval

Abstract (arXiv)

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.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in RAG robustness and adaptive retrieval, one of 15 directions in Retrieval-augmented generation. Builds on 37 of its 56 references that are in the map. First posted on arXiv 24 Sep 2024.

Builds on

37 of 56 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024Are Large Language Models Good at Utility Judgments?28 Mar
  2. 2024RA-ISF: Learning to Answer and Understand from Retrieval Augmentation via Iterative Self-Feedback11 Mar
  3. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection17 Oct
  4. 2021End-to-End Training of Multi-Document Reader and Retriever for Open-Domain Question Answering9 Jun

Other references · 33

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Training language models to follow instructions with human feedbackcited by 15,712
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  6. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  7. 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
  8. 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
  9. 2022Language Models (Mostly) Know What They Knowcited by 1,783
  10. 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
  11. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  12. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
21 more
  1. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
  2. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 940
  3. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 911
  4. 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 788
  5. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 786
  6. 2023In-Context Retrieval-Augmented Language Modelscited by 694
  7. 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 571
  8. 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 452
  9. 2023Making Retrieval-Augmented Language Models Robust to Irrelevant Contextcited by 364
  10. 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 349
  11. 2023Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflictscited by 333
  12. 2023Large Language Models for Information Retrieval: A Surveycited by 331
  13. 2020Counterfactual VQA: A Cause-Effect Look at Language Biascited by 266
  14. 2024Don't Hallucinate, Abstain: Identifying LLM Knowledge Gaps via Multi-LLM Collaborationcited by 176
  15. 2022Large Language Models with Controllable Working Memorycited by 169
  16. 2023Investigating the Factual Knowledge Boundary of Large Language Models with Retrieval Augmentationcited by 146
  17. 2020Model-Agnostic Counterfactual Reasoning for Eliminating Popularity Bias in Recommender Systemcited by 94
  18. 2021Factual Consistency Evaluation for Text Summarization via Counterfactual Estimationcited by 37
  19. 2023Information Retrieval Meets Large Language Models: A Strategic Report from Chinese IR Communitycited by 29
  20. 2021Uncovering Main Causalities for Long-tailed Information Extractioncited by 21
  21. 2023"Merge Conflicts!" Exploring the Impacts of External Distractors to Parametric Knowledge Graphscited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 5; 2026: 6.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024C-RAG: Certified Generation Risks for Retrieval-Augmented Language Models
  2. 2025Towards Trustworthy Retrieval Augmented Generation for Large Language Models: A Survey
  3. 2025RAG-Check: Evaluating Multimodal Retrieval Augmented Generation Performance
  4. 2025Evaluating the Retrieval Robustness of Large Language Models
  5. 2025Towards Lighter and Robust Evaluation for Retrieval Augmented Generation
  6. 2026The RAT: A Unified Bayesian Model for RAG Evaluation
  7. 2026Attribution Techniques for Mitigating Hallucinated Information in RAG Systems: A Survey
  8. 2024Towards More Robust Retrieval-Augmented Generation: Evaluating RAG Under Adversarial Poisoning Attacks