What is corrective RAG?
Corrective RAG is a RAG method that scores how relevant retrieved documents are to the question with a lightweight evaluator model, then uses them, refines them by filtering or turns to an extra search depending on the result.
It is also called CRAG. Unlike Self-Reflective Retrieval-Augmented Generation, where the generating model judges itself with reflection tokens and needs special training, corrective RAG uses a separate evaluator that can sit in front of an existing language model.
- Topic
- Embeddings, document processing and RAG
- Also known as
- CRAG
- Origin
- 2024, Yan et al.
How corrective RAG works
- A first retrieval runs and each retrieved document is scored against the question by the evaluator.
- With high scores documents are accepted, refined by removing irrelevant sentences.
- With low scores documents are discarded and an extra search runs; in the original method this extra source is web search.
- In ambiguous cases both sources are combined; the answer is generated from the corrected information.
In more detail
Knowledge refinement: decompose then recompose
In the original CRAG design, documents classified as Correct or Ambiguous undergo a decompose-then-recompose knowledge refinement step: chunks are split into fine-grained knowledge strips, scored individually and only relevant strips are reassembled for the generator, cutting distraction and prompt token waste.
Query rewriting before fallback search
When initial retrieval fails, running the exact same user query against a fallback index often fails again. Corrective RAG therefore pairs low-confidence verdicts with query rewriting, extracting key entities or reformulating ambiguous phrasing, before issuing the secondary search.
The three-way decision gate and evaluator options
While the original CRAG paper used a fine-tuned lightweight T5 evaluator to classify documents into Correct, Incorrect or Ambiguous, current enterprise deployments commonly implement this gate using calibrated cross-encoder rerankers, NLI models or structured LLM-as-a-judge checks inside graph-based agentic RAG loops with explicit retry caps.
Commonly confused terms
| Term | How it differs |
|---|---|
| Reranking | A standard cross-encoder reranker reorders the existing top-k chunks by relevance score, whereas Corrective RAG uses relevance verdicts as control gates that trigger knowledge refinement, full discard or fallback search across alternate sources. |
| Adaptive RAG | Adaptive RAG routes queries upfront by complexity (e.g., no retrieval, single-hop or multi-hop iterative retrieval), whereas Corrective RAG inspects retrieved results post-retrieval and repairs low-quality context before generation. |
Why corrective RAG matters for on-premises AI
Classic RAG passes irrelevant chunks to the model too, which can confidently produce wrong answers from them. Corrective RAG reduces this risk by placing a quality gate between retrieval and generation. In-house and air-gapped setups replace web search with another internal archive, a different index or an explicit “no information found” answer, keeping the method's core without outside connections. Evaluator thresholds are tuned on the organisation's question set; each extra search adds latency.
A port operator's operations assistant scores retrieved procedure chunks with an evaluator; if scores stay low it searches older archived instructions; if that still falls short, the question goes to the shift supervisor instead of an answer.
Common questions
How does corrective RAG differ from Self-RAG?
In Self-RAG the generating model judges itself with reflection tokens and needs special training. Corrective RAG uses a separate evaluator and can be set up with an existing model.
Can corrective RAG run air-gapped?
Yes. A second internal source or an explicit “no information found” answer replaces web search; evaluation and filtering work unchanged.
Related terms
- Self-Reflective Retrieval-Augmented Generation
- Retrieval-Augmented Generation
- Adaptive Retrieval-Augmented Generation
- Hallucination detection
- Reranking
- Agentic Retrieval-Augmented Generation
Sources
- Yan, Gu, Zhu and Ling, Corrective Retrieval Augmented Generation, 2024
- Asai et al., Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection, 2023
In the glossary: Glossary, A to C