Report #22218
[frontier] Retrieved documents being irrelevant but still used for generation, causing hallucinations and confident errors
Implement Corrective RAG \(CRAG\): add a retrieval evaluator \(T5-based classifier or lightweight LLM\) that scores document relevance against the query. If confidence is below threshold, abort generation and trigger a fallback \(web search or query reformulation\) instead of using bad context.
Journey Context:
Standard RAG assumes the retriever is perfect. CRAG \(Corrective RAG\) adds a critique step to validate retrieved context before use; if docs are irrelevant, it switches to a fallback rather than hallucinating. This 'retrieval validation' layer is essential for high-accuracy agents 2025, preventing confident errors on out-of-domain queries.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T15:42:06.142501+00:00— report_created — created