179 questions
No questions match those filters.
Should a RAG system ever refuse to answer, and what mak...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansYes, deliberately — when retrieval didn’t surface genuinely relevant evidence for a question, generating a confident-sounding answer anyway is worse than saying so plainly. A system that never abstains will hallucinate exactly on the queries its retrieval pipeline failed on, which is precisely when a wrong answer is least likely to be caught by anyone downstream.
What makes it genuinely hard is that every practical abstention mechanism has a real failure mode. Thresholding on a confidence score only works if that score is well-calibrated, and LLM confidence scores routinely aren’t. Asking the model to self-reflect (“are you confident in this answer?”) doesn’t reliably catch errors and can even compound them — a model that’s already wrong is often just as confidently wrong when asked to double-check itself, since the same failure mode that produced the wrong answer is still there answering the reflection prompt. And overcorrecting toward caution has its own cost: a system that abstains too readily becomes useless even on the queries it actually could have answered well, which is a different but equally real failure. Getting abstention right means measuring both failure modes — wrong confident answers and unnecessary refusals — not optimizing away just one of them.