Explain self-RAG and corrective RAG. Do they earn their complexity in production?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Both add a self-assessment loop so the system stops trusting whatever the retriever handed back.
Full worked answer with diagram
Both add a self-assessment loop so the system stops trusting whatever the retriever handed back.
Corrective RAG (CRAG) puts a lightweight retrieval evaluator between retrieval and generation. It grades retrieved documents, broadly as correct, ambiguous or incorrect. If they look good, it refines them by decomposing into strips and dropping irrelevant sentences before generation. If they look bad, it triggers a corrective action, canonically a web search fallback. The grader is a small model, so it is cheap relative to generation.
Self-RAG goes further and trains the model to do it natively, emitting reflection tokens that decide whether to retrieve at all, whether a passage is relevant, whether the generated text is supported by it, and whether the answer is useful. The interesting part is 'whether to retrieve at all': it lets the model skip retrieval for questions it already knows, which single-shot RAG cannot do.
Do they earn it? Partially, and I would unbundle them.
The genuinely valuable ideas are (a) grade retrieved context before generating, and (b) have an explicit path for 'retrieval found nothing good'. Both are cheap and both fix the single worst failure mode, which is confidently answering from irrelevant chunks. I would ship a relevance grader plus an abstain path in almost any serious system.
What I am sceptical of: the full frameworks. Self-RAG requires training a model with reflection tokens, which ties you to that model and is hard to justify when frontier models are improving underneath you. CRAG's web-search fallback is often wrong for enterprise use, where the answer is not on the public web and searching it is a compliance problem; the right fallback is usually 'say you do not know' or 'escalate to a human'.
In practice the pattern that survives contact with production is the agentic version: retrieval as a tool, the model judges results and re-queries, which subsumes most of this without a bespoke training run. Latency is the cost, so gate the loop behind a confidence check rather than running it on every query.
Worth sketching. A loop with a labelled retry budget and a named exit shows you have thought about p95 latency, not just quality.
flowchart TD
R["Retrieve"] --> G{"Grader: are these<br/>documents relevant?"}
G -->|"correct"| S["Strip irrelevant sentences,<br/>then generate"]
G -->|"ambiguous"| Q["Reformulate<br/>and retry"]
Q -->|"budget: 1-2 retries"| G
G -->|"incorrect"| F{"Is there a<br/>usable fallback?"}
F -->|"enterprise, no web search"| A["Abstain or escalate<br/>to a human"]
F -->|"open domain"| W["Web search"]
W --> S
What a good answer covers
- Both add a self-assessment loop so the system stops trusting whatever the retriever handed back
- Corrective RAG (CRAG) puts a lightweight retrieval evaluator between retrieval and generation
- It grades retrieved documents, broadly as correct, ambiguous or incorrect
- If they look good, it refines them by decomposing into strips and dropping irrelevant sentences before…
- If they look bad, it triggers a corrective action, canonically a web search fallback
Key terms: Corrective RAG (CRAG) · Self-RAG
In the glossary: RAG · Reflection · Judge (LLM-as-judge)
Interviewer follow-ups to expect
What is the right fallback when the grader says every retrieved document is irrelevant, in an enterprise setting with no web search?
How would you keep a grading loop from doubling your p95 latency?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep