Home Learn Class 9
Classes 4–12 · Digital literacy and AI

What is AI hallucination, and why does it sound so convincing?

Ask an AI about a book that does not exist and it will tell you the plot, the author's background, the year it was published and the prize it won. None of it is real. This is called <b>hallucination</b>, and it is the single most important thing a student needs to understand before using AI for homework.

It is not lying

Lying requires knowing the truth and saying something else. The model does neither. It continues text, and your question was a shape that needed filling.

Asked about a novel called The Silver Compass by Anita Rao — which does not exist — a model will happily produce a coastal setting, a cartographer's daughter, and a Crossword Book Award. Every detail is generated because it is the sort of detail that fits.

Why it is so hard to spot

Invented answers and correct answers are written in the same handwriting. Same confidence, same fluency, same full stop.

The model never signals uncertainty, because it has no mechanism to. It cannot tell you it was a coin toss.

Hallucinations are most convincing exactly where you know least — which is exactly where you were relying on it.

How to actually stop it

Give it the source. Most hallucination happens when the model has nothing real to read. Paste the actual page, chapter or data and it will read it.

Tell it what to do when it doesn't know. "If it is not in the text, write NOT GIVEN. Do not estimate." This one line removes a surprising amount of it.

Check anything you would be embarrassed to be wrong about. Especially names, dates, numbers and citations — the four things it invents most and you check least.

One invented answer, taken apart

"Anita Rao's 2016 debut novel"invented
"set in coastal Karnataka"invented
"follows Meera, a cartographer's daughter"invented
"won the Crossword Book Award"invented
The book itselfdoes not exist

Five confident facts about a book that has never been written. Nothing on the screen suggested anything was wrong.

Practice

You ask for three sources and get three book titles. Two do not exist. Why?
Show the answer
You asked for three, so it produced three.
You gave it a shape — three sources — and it filled the shape. It has no way to check a book exists unless it can go and look.
Which is safer: asking about a famous topic, or a niche one?
Show the answer
The famous one.
Common topics appear constantly in training text, so the patterns are strong. Niche topics have thin patterns, and thin patterns are where invention happens.
Does adding "do not make anything up" fix it?
Show the answer
It helps a little; it does not fix it.
That is an instruction, not a source. It reduces the habit slightly and supplies no facts at all. Attaching the real document is what fixes it.

Watch it invent a whole book

In our free course you ask about a book that does not exist, read the confident answer, then strike out every invented claim yourself.

▶ Play Lemonade Empire free

Common questions

Why is it called hallucination?
Because the model produces detail that was never in front of it, with the same conviction as detail that was. The word is imperfect — it suggests the machine is confused, when in fact it is working exactly as designed.
Do newer AI models still hallucinate?
Yes, though less. And there is a catch: newer models hallucinate more convincingly, so the errors are harder to spot even as they get rarer.

Next concepts