CRAG adds a quality gate between retrieval and generation: a lightweight evaluator scores the retrieved documents as correct, ambiguous or incorrect.
If they are good, they are refined (keep only the relevant parts) and used; if they are bad, the system discards them and re-retrieves with a reformulated query or a different source such as web search; ambiguous cases combine both.
Standard RAG forces the LLM to make do with whatever it got, so noisy retrieval causes hallucination; CRAG reduces that, at the cost of an extra evaluation step and possible extra retrieval calls.
It works with black-box LLMs because it does not change the generator.
Loading…