[Paper Review] Corrective Retrieval Augmented Generation
CRAG introduces a lightweight retrieval evaluator and corrective actions to improve the robustness of Retrieval-Augmented Generation by handling incorrect or ambiguous retrievals, supplemented with web search and a decompose-then-recompose refinement of retrieved text.
Large language models (LLMs) inevitably exhibit hallucinations since the accuracy of generated texts cannot be secured solely by the parametric knowledge they encapsulate. Although retrieval-augmented generation (RAG) is a practicable complement to LLMs, it relies heavily on the relevance of retrieved documents, raising concerns about how the model behaves if retrieval goes wrong. To this end, we propose the Corrective Retrieval Augmented Generation (CRAG) to improve the robustness of generation. Specifically, a lightweight retrieval evaluator is designed to assess the overall quality of retrieved documents for a query, returning a confidence degree based on which different knowledge retrieval actions can be triggered. Since retrieval from static and limited corpora can only return sub-optimal documents, large-scale web searches are utilized as an extension for augmenting the retrieval results. Besides, a decompose-then-recompose algorithm is designed for retrieved documents to selectively focus on key information and filter out irrelevant information in them. CRAG is plug-and-play and can be seamlessly coupled with various RAG-based approaches. Experiments on four datasets covering short- and long-form generation tasks show that CRAG can significantly improve the performance of RAG-based approaches.
Motivation & Objective
- Motivate robustness in RAG by addressing retrieval inaccuracies and potential hallucinations in LLM outputs.
- Propose a lightweight retrieval evaluator to assess the quality of retrieved documents for a query.
- Introduce corrective actions (Correct, Incorrect, Ambiguous) that trigger refinement or web search to augment knowledge.
- Develop a plug-and-play CRAG module that can be integrated with standard RAG and Self-RAG approaches across domains.
- Demonstrate generalizability of CRAG across short- and long-form generation tasks.
Proposed method
- Design a lightweight retrieval evaluator (T5-large-based) to score the relevance of each retrieved document for a given query.
- Define a confidence-based action policy with three actions: Correct, Incorrect, Ambiguous, triggered by upper/lower thresholds.
- When Correct is triggered, perform knowledge refinement to decompose documents into knowledge strips, filter, and recombine relevant parts.
- When Incorrect is triggered, discard retrieved results and perform web search to obtain external knowledge.
- When Ambiguous is triggered, combine internal refinement and external web search.
- Integrate a web search module (query rewritten with keywords) to obtain external knowledge and apply the same refinement procedure to extract relevant content.
- Ensure CRAG is plug-and-play and compatible with RAG and Self-RAG frameworks.
Experimental results
Research questions
- RQ1How can retrieved documents be evaluated for relevance and reliability in RAG setups?
- RQ2Can a lightweight retrieval evaluator effectively trigger corrective actions to improve generation quality?
- RQ3Does incorporating web-scale external knowledge via web search enhance robustness when static corpora fail?
- RQ4What is the impact of knowledge refinement and action triggers on short- vs. long-form generation tasks?
- RQ5Is CRAG transferable across different RAG-based approaches without additional instruction tuning?
Key findings
- CRAG significantly improves performance when integrated with standard RAG and Self-RAG across four datasets spanning short- and long-form generation.
- CRAG demonstrates adaptability as a plug-and-play module that can enhance both RAG and Self-RAG without requiring extra annotation for the evaluator.
- A lightweight, T5-based retrieval evaluator outperforms ChatGPT-based alternatives in assessing retrieved document quality for a given query.
- Ablation studies show that removing any single action or core knowledge utilization operation degrades performance, highlighting the contribution of refinement, rewriting, and external knowledge selection.
- CRAG improves robustness to varying retrieval quality, with Self-CRAG showing greater resilience than Self-RAG as retrieval quality declines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.