DigitalRoks Icon
Foundationsbeginner 3 min read

Hallucination, and how to catch it

Why does AI make things up?

The model is not lying. It is filling a gap with something that fits — which is more dangerous than a lie, because it fits perfectly.

The short answer

A hallucination is a confident, fluent output that is factually wrong or entirely invented. It happens because the model is optimising for text that looks right, not for statements that are true.

The analogy

The student who never says "I don't know"

Imagine a bright student who has read a great deal, is desperate to be helpful, and has never once been rewarded for saying "I am not sure." Ask about a book that does not exist and they will describe its plot, its author, and its publication year, all in a confident voice, because that is the shape a good answer takes. The invention is not sabotage. It is eagerness plus a format.

How it actually works
01

Gaps get filled with plausible pattern

If the specific detail was never in training data, or is rare enough to leave a weak signal, the model still produces the most likely-looking continuation. Citations, page numbers, statistics, and quotes are the highest-risk categories because their format is highly predictable even when the content is not.

02

Your phrasing invites it

Questions that assume an answer exists ("What did the 2019 study by Dr. Ellison conclude?") get an answer. Open questions ("Do you know of any research on this? If not, say so") get a much more honest response. The model follows the frame you set.

03

Verification is a process, not a vibe

Any claim that would change a decision needs a second source you control: the actual document, the vendor page, your own database. Link-checking an AI-supplied citation takes ten seconds and catches most of it. If a number matters, it does not get to be true because the paragraph was well written.

Where it bites

“Newer models do not hallucinate anymore.”

They hallucinate less on common topics and still invent specifics at the edges. The failure mode has shifted from obvious nonsense to plausible detail, which is harder to notice.

Try it now
7 minutes

Run a controlled sting

  1. 1Ask for three academic citations on a niche topic you know well. Check each one exists.
  2. 2Repeat, but first add: "Only cite sources you are confident exist. If you are unsure, say so." Compare the honesty.
  3. 3Ask for a statistic with a source, then find the source. Note whether the number survives contact with reality.
  4. 4Write one sentence in your own words about which of your tasks can never skip this check.
Where to go next

Running the same factual question across two different models is a fast way to spot invented detail — where they diverge is where you verify.

Get Started Free on SkillBoss →

Affiliate link. If you sign up through it, DigitalRoks may earn a commission at no extra cost to you. Recommendations are written the same way either way.

Common questions
Can hallucination be fixed?

Reduced, not eliminated. Grounding the model in documents you supply (RAG) and asking for "I don't know" as an acceptable answer both help a great deal. Neither makes verification optional.

Which tasks are highest risk?

Anything with specific numbers, names, dates, legal or medical specifics, or citations. Also anything where the model is asked about something that happened after its training cut-off.

How do I explain this to a client?

Say AI drafts, a person verifies. That framing is accurate, sets the right expectation, and protects you when a detail is wrong.

Keep going

Where this connects

Where this concept goes next.

You know the idea now. The next step is either wiring it up yourself (MCPHubz) or handing the build to someone (GoZealio).