Most retrieval-augmented systems in production have a failure mode their evaluation cannot see, and the reason is structural rather than careless.
The benchmark cannot show you the bug
Standard retrieval benchmarks are built by generating questions from a corpus. That construction guarantees every question has an answer somewhere in the documents.
Which means the benchmark can measure how often your system answers correctly. It cannot measure what your system does when there is nothing to answer with — because that situation never occurs in the test set.
In production it occurs constantly. Users ask about subsystems nobody documented, features that were removed, and things that were only ever discussed in a meeting.
What actually happens
When retrieval returns passages that are topically adjacent but do not contain the answer, generation models do not stop. They produce something fluent, well-structured, and frequently accompanied by references that look correct and are not.
The distribution of this failure is what makes it serious. It concentrates on poorly documented topics — exactly the queries where the system is most valuable and where the user has the least ability to check.
We lost the trust of an entire engineering organisation in about three weeks this way. Accuracy improvements afterwards brought nobody back.
Three things that do not work
We measured four abstention strategies on a 480-question set where 34% of questions were unanswerable by construction.
Prompt-based refusal. Adding only answer from the provided context, otherwise say you don't know caught 31% of unanswerable questions. It is the most commonly deployed mitigation and it is close to decorative. Worse, it produces strong confidence that the problem is handled.
Log-probability thresholding. Abstaining when generation confidence is low caught 44% and cost 11 points of accuracy on answerable questions. Fabricated answers are frequently high-confidence, because fluency and factuality are simply different properties of the output.
Self-consistency voting. Sampling five generations and abstaining on disagreement caught 52% at five times the inference cost. Models are consistently wrong in the same direction more often than you would like.
What worked
A separate classifier over the reranked passages, deciding sufficiency before generation is invoked: 88% correct abstention at a 6% false-refusal rate.
Two things about this result are worth dwelling on.
First, it also improved answerable accuracy, from 89% to 91%. That is not magic — the cases it declines overlap heavily with the cases the baseline was getting wrong.
Second, judging sufficiency before generation is cheaper, not more expensive. Declined queries never reach the generation model at all.
The part that is not technical
The measurable win was abstention accuracy. The actual win was that users could tell when the system was outside its coverage.
When Lumify relaunched, nobody commented on the 91%. What engineers talked about was the system telling them, by name, which subsystem had no documentation — which incidentally became the documentation team's prioritisation queue.
I had scoped abstention as a safety requirement. It was the product.
What to do on Monday
Add unanswerable questions to your evaluation set. Twenty is enough to find out.
If your system answers most of them, you now know something important that your dashboard was never going to tell you.
- RAG
- Evaluation
- NLP
- Production
