- In short
- Prompt failure occurs when an instruction was ambiguous or underspecified and the model filled the gap in an unintended way; it is fixed by clarifying the prompt. Hallucination occurs when the model produces confident, fluent content that is not grounded in the input or a reliable source; it is fixed by grounding the response through retrieval, tool use, or verification. Stronger or more emphatic instructions do not resolve a hallucination, because the model is not aware it is ungrounded.
Two failures that look similar and are fixed differently
Prompt failure and hallucination both produce a wrong answer that arrives with total confidence, which is exactly why they get confused, and confusing them is expensive, because the fix for one does nothing for the other. This understand-level knowledge point is about telling them apart by root cause and matching each to its correct remedy. The distinction is one of the most tested in the diagnosis task statement, because the wrong diagnosis leads to a fix that feels reasonable and fails.
- Prompt failure vs hallucination
- Prompt failure: the instruction was ambiguous or underspecified, and the model filled the gap in a way the designer did not intend. Root cause is the prompt; fix is clarification. Hallucination: the model produced confident, fluent content not grounded in the input or a reliable source. Root cause is missing grounding; fix is retrieval, tool use, or verification. Emphatic instructions do not fix a hallucination, because the model does not know its output is ungrounded.
Prompt failure: the model filled a gap you left
A prompt failure is fundamentally a communication problem. The instruction did not fully specify what you wanted, it was ambiguous, or it left a decision unspecified, and the model, having to produce something, filled the gap with a reasonable-seeming choice that was not the choice you intended. The model did what it was told; the problem is that what it was told was open to an interpretation you did not mean.
Because the root cause is in the instruction, the fix is in the instruction: clarify it. Specify the missing decision, disambiguate the wording, state the output format or the rule the model should have followed. Once the instruction pins down the behaviour, the model has no gap left to fill unexpectedly. This is the class of failure where "improve the prompt" is genuinely the right answer.
Hallucination: confident content with no grounding
A hallucination is a different beast. Here the model produces content that is fluent and confident but not grounded in the input or any reliable source, a fabricated fact, an invented citation, a plausible-sounding value that corresponds to nothing real. The instruction may have been perfectly clear; the problem is that the model generated an answer from its own priors rather than from actual information, and there was nothing anchoring it to the truth.
Because the root cause is missing grounding, the fix is grounding: connect the response to real information through retrieval (fetch the relevant source and let the model answer from it), tool use (call a system that returns authoritative data), or verification (check the output against a source before trusting it). Grounding gives the model something true to draw on so it no longer has to invent.
Why emphatic instructions cannot fix a hallucination
The most important and most counterintuitive point is that making the instruction stronger does not fix a hallucination. Telling the model "be accurate," "do not make things up," or "only state true facts," however emphatically, does not work, because the model is not aware that its output is ungrounded. It is not knowingly lying and then complying when scolded; it produced confident content believing it was answering, with no internal signal that the content was fabricated. An instruction cannot supply the information the model was missing. Only grounding, real source data the model can actually use, addresses the cause. This is precisely why misdiagnosing a hallucination as a prompt-wording problem, and reaching for more emphatic instructions, fails.
What the exam trips candidates on
The first trap is treating a hallucination as a prompt-wording problem and trying to fix it with more emphatic instructions rather than grounding. A scenario will show a model confidently fabricating information and a team adding "be accurate" to the prompt; the credited reading identifies the failure as a hallucination and prescribes grounding, noting that stronger wording cannot help.
The second trap is the reverse: diagnosing an ambiguous-instruction failure as a hallucination and reaching for a retrieval fix when the real issue is prompt clarity. A scenario will show the model making an unintended but reasonable choice because the instruction left it open; the correct answer sees a prompt failure and clarifies the instruction rather than bolting on retrieval the task did not need. The whole skill is reading the root cause correctly before choosing the fix.
Worked example
A support assistant is asked to 'summarize the customer's issue and provide the relevant policy details.' In production it confidently cites policy clause numbers and refund windows that do not exist in the company's actual policy. A developer proposes adding 'only state accurate policy information' to the prompt. Diagnose and prescribe the correct fix.
The symptom, confident, fluent output stating policy details that do not exist, is a hallucination. The model is generating plausible-sounding policy specifics from its own priors rather than from the company's actual policy, because nothing in the request connects it to the real policy document. The instruction was clear enough; the problem is that the model had no grounded source for the policy details and invented them.
The proposed fix, adding "only state accurate policy information," is the classic misdiagnosis. It treats a hallucination as a prompt-wording problem, and it cannot work, because the model is not aware its cited clauses are fabricated. It produced them believing it was answering the question. An emphatic instruction to be accurate does not give the model the real policy; it just adds words the model was already trying to satisfy. The fabrication continues.
The correct fix is grounding. Retrieve the relevant policy sections for the customer's issue and supply them in context so the model answers from the actual document, or give it a tool that looks up policy details from the authoritative source, or add a verification step that checks any cited clause against the real policy before the response is sent. Any of these anchors the answer to real information so the model no longer has to invent it.
One contrast makes the diagnosis sharper: if instead the model had summarized the wrong part of the issue because "the customer's issue" was ambiguous when a ticket contained several issues, that would be a prompt failure, fixed by clarifying which issue to summarize, not by retrieval. Same confident-wrong-answer surface, different root cause, different fix.
Common misreadings to avoid
Misconception
A hallucination can be fixed by instructing the model more firmly not to make things up.
What's actually true
Misconception
Any confident wrong answer is a hallucination that needs a retrieval fix.
What's actually true
How this shows up on the exam
Domain 4 questions on this knowledge point present a confident wrong answer and ask you to diagnose and fix it. The reliable test is the root cause: an ambiguous instruction the model filled unexpectedly is a prompt failure fixed by clarification; confident content not grounded in any source is a hallucination fixed by grounding, and no amount of emphatic wording will fix the latter.
This splits two of the classes from the core failure taxonomy and sets up the third, fixing model mismatch, so each of the single-call classes maps to a distinct fix. The grounding fix connects to the safety dimension in the five evaluation dimensions, and the fabricated-follow-up variant of hallucination appears in multi-turn eval design. In multi-agent systems, these single-call failures still have to be told apart from an orchestrator-workers failure.
A model confidently cites statutes and case numbers that do not exist when answering legal questions. Which diagnosis and fix are correct?
People also ask
What is the difference between prompt failure and hallucination?
How do you fix a hallucination?
Why do stronger instructions not fix a hallucination?
Watch and learn
Official Anthropic Academy lessons first, then hand-picked walkthroughs. Videos load only when you press play.
No videos curated for this concept yet
We are still curating the best official and community videos for this topic.
Official prep for this domain
Anthropic's own free prep module for this part of the syllabus, on the official prep course. Free with an Anthropic Academy sign-in.
References & primary sources
Master this concept with Archie
Practice it inside an adaptive study session. Archie, your Socratic AI tutor, tracks your mastery with Bayesian Knowledge Tracing and schedules the perfect next review.