The seven places a RAG answer can go wrong
What it is
A wrong answer has a cause at one specific stage. In pipeline order:
- 1. Missing content: the answer is not in any document.
- 2. Missed retrieval: it is in the index but was not in the retrieved candidates.
- 3. Lost in ranking: it was retrieved but ranked too low to reach the prompt.
- 4. Not used: it was in the prompt and the model ignored it.
- 5. Wrong format or incomplete: the model used it but left part out or shaped the answer badly.
- 6. Hallucinated detail: the model added something the context did not say.
- 7. Stale or conflicting source: the context itself was outdated or contradicted another chunk.
Why it matters
Naming the stage is most of the work, because each has a different owner and a different fix. An interviewer who asks 'your RAG system gives wrong answers, what do you do?' wants to hear this list and a method for telling the cases apart, not a guess at a fix.
In the real world: A weekly review of failed answers at a software company sorts each one into these seven buckets; the biggest bucket decides the next week's engineering work.
Visual example
Failure mapStages 1 to 3 are retrieval-side; 4 to 6 are generation-side; 7 is a data problem.
Reaching for the prompt first. Rewording the instructions is the easiest change to make, and it only addresses stages 4 to 6. For the first three, the model never saw the answer, and no wording can help.