New here? Start this series at Day 25: Production knowledge lives in systems of record, not only in PDFs
- Day 25: Production knowledge lives in systems of record, not only in PDFs
- Day 26: When the evidence is a table, a chart or a recording
- Day 27: A stale answer is a wrong answer
- Day 28: Weak evidence should trigger recovery, not a confident answer
- Day 29: Reflection helps only when it checks against evidence
- Day 30: Evaluate RAG in parts: retrieval, grounding, generation, citations
What does your RAG system do when retrieval comes back weak?
For a plain retrieve-then-generate pipeline, the honest answer is that it does exactly what it does when retrieval comes back strong. Between retrieval and generation there is no gate, check or branch. Whatever came back flows into the model, and the model does what models do, which is write something fluent with it.
Weak evidence should change behaviour.
If retrieval is thin, stale, contradictory, or unauthorised, the system should recover, ask, escalate, or refuse, not produce a confident answer anyway.
Installing the gate
Corrective RAG puts a checkpoint in that gap. Before generating, grade whether the evidence is relevant, sufficient, internally consistent and current enough.
If it passes, proceed. If it fails, take a different path, such as rewriting the query and searching again, widening to another source, or stating plainly that nothing solid was found.
The grader does not need to be expensive. It is judging relevance rather than writing prose, so a small fast model handles it well, and it adds a short classification step rather than a second round of generation. It still has an error rate. Too strict and the system retries or refuses questions it could have answered; too lenient and the gate waves everything through. Tune it on labelled examples of both.
Two controls keep it from becoming a problem of its own:
- Cap the retries. Two corrected searches, then escalate or decline. An uncapped correction loop is a cost incident that looks reasonable at every individual step.
- Log the corrections. Which queries needed a second pass, and did it help? This is one of the most useful diagnostic streams you can collect, because it shows precisely where your first-pass retrieval is weak.
Refusal is a feature, and a free roadmap
Teams resist the "I could not find a reliable answer" path because it feels like admitting the product does not work.
Users see it differently. They forgive "I do not know" almost completely. They do not forgive being confidently misled, and they do not come back afterwards. One fabricated answer costs more trust than many honest refusals.
A second benefit is easy to miss. Track your refusal rate by topic and you have a map of the holes in your knowledge base. A cluster of refusals around a product area is the system telling you which documentation to write next. That signal only exists if the system is allowed to refuse, because a pipeline that always answers has no way to report its own gaps.
The test that matters
Feed the system a question your sources genuinely answer poorly. Use a real one that falls in a gap rather than a trick question.
Watch what it does. If it retries, asks for clarification, or declines, the gate works. If it produces a smooth, plausible, unsupported paragraph, you have found the behaviour your users will eventually encounter without knowing it.
Key takeaways
- Weak evidence should change behaviour.
Terms in this piece
About this explainer
- Format
- Explainer
- Level
- Practitioner
- Read
- 2 min read
- Published
- Jun 20, 2026
- Disciplines
Short mental models: one idea, why it matters, what to do about it.
More on these topics
Decision note · · 2 min read
We chose Azure AI Search for retrieval because ingestion and filtering stay simple
Why our retrieval runs on Azure AI Search: our Databricks ingestion pipelines feed it directly, filtering is simple, and several semantic configurations share one index.
Checklist · · 12 checks
RAG production-readiness checklist
Twelve checks to pass before a retrieval system answers a real user. Tick them locally; progress stays in your browser.
Failure story · · 1 min read
The retrieval cache that served stale policies
A well-meaning cache in front of retrieval kept answering from last quarter's HR policy for eleven days.
Discussion