Hallucinations and How to Catch Them
Understand why AI models produce confident false statements, which prompts reduce them, and how to verify facts, quotes and citations before you rely on them.
Welcome back!
Step 1 of 14Learn
The court filing with imaginary cases
In a widely reported 2023 case in the United States, lawyers submitted a court filing that cited several earlier court decisions to support their argument. The decisions had realistic names, quotes and page numbers. None of them existed. The citations had been generated by an AI chatbot, and nobody checked them before filing. The court sanctioned the lawyers.
This kind of error is called a hallucination: output that sounds fluent and confident but is false or invented. It isn't a rare glitch. It follows directly from how language models work. A model generates the most plausible continuation of the text. When it doesn't actually "know" a fact, the most plausible continuation is often something that looks like the right kind of answer: a realistic case name, a believable statistic, a journal article with a convincing title.
Hallucinations are most likely when you ask for:
- Specific facts the model rarely saw: niche topics, small companies, local details.
- Exact references: citations, URLs, page numbers, quotes.
- Recent events after the model's training cutoff.
- Precise numbers: statistics, dates, measurements.
- Confirmation of a false premise: "Why did the Eiffel Tower move to Lyon in 1950?" invites an invented explanation.
Step 2 of 14Practice · Diagram
How an invented fact reaches the world
In the court-filing case, which link would have stopped the harm most cheaply?
Tap the shape that answers the question, then press Check.
- Question with no source
The model must rely on what it absorbed in training.
- Plausible text is predicted
Names, page numbers and quotes that look right.
- Fluent, confident answer
- Nobody checks it
- The error is used
In a filing, a report or a published post.
Step 3 of 14Practice · Select all that apply
Which requests carry a high risk of hallucination if the model has no sources to work from? Select all that apply.
Select all that apply.
Step 4 of 14Learn
Prompts that reduce hallucinations
You can't eliminate hallucinations with wording alone, but you can reduce them a lot.
Ground the answer in sources. Paste the relevant document, data or web page and say: "Answer using only the information in <document>. If the answer isn't there, say 'Not in the document.'" This shifts the task from recall to reading, where models are far more reliable. Tools that automatically find and insert relevant documents (retrieval-augmented generation, or RAG) work on the same principle.
Give permission not to know. Models are trained to be helpful, which can push them to answer anyway. Explicitly allow uncertainty: "If you're not sure, say so and explain what information would settle it."
Ask for quotes before conclusions. For long documents: "First, quote the sentences relevant to the question. Then answer based only on those quotes." Quotes are easy for you to check against the source, and an answer built on them is less likely to drift.
Avoid leading questions. "Is it true that X?" is safer than "Explain why X." Watch for false premises in your own prompts.
Ask the model to flag claims that need checking. "Mark any statistic or date you are less than certain about with [check]." Not perfect, but it directs your attention.
Step 5 of 14Compare
Risky prompt vs. grounded prompt
| Aspect | Invites hallucination | Reduces it |
|---|---|---|
| Source | None: answer from memory | Document pasted, "use only this" |
| Uncertainty | Must always answer | "Say 'Not in the document' if absent" |
| Long documents | Straight to conclusions | Quotes first, then the answer |
| Question style | "Explain why X happened" | "Did X happen? What supports it?" |
Step 6 of 14Practice · Fill in the blanks
Fill in the blanks
A grounded prompt says: "Answer using the report below. If the answer is not in the report, say so." Asking the model to the relevant sentences first makes its answer easier to check.
Step 7 of 14Note
Step 8 of 14Learn
A verification routine that scales
How much checking is enough? It depends on the stakes. A brainstorm of party themes needs none. A number going into a board report needs real verification. A useful habit is to sort AI output into three levels.
Low stakes (ideas, drafts for yourself, rephrasing): read it with common sense and move on.
Medium stakes (emails to colleagues, internal summaries): check every name, number, date and claim of fact against something you trust, often the source document itself.
High stakes (anything legal, medical, financial, published, or sent to customers): verify each factual claim against a primary source, have a qualified person review it, and keep a record of what you checked.
Some practical techniques:
- Check the specifics first. Names, numbers, dates, quotes and references are where hallucinations hide.
- Ask a second time, differently. If two differently worded prompts give different facts, at least one is wrong.
- Ask the model to critique its own answer against the source: "List any claims in your answer that are not directly supported by the document." It catches some errors, but it is not a substitute for checking.
- Search for it yourself. For claims about the world, a quick search of reliable sources is the final check.
The rule: the more an error would cost, the more you verify.
Step 9 of 14Diagram
Verify in proportion to the stakes
Most AI output sits at the wide base; the narrow top needs the most care.
Tap a shape with to see more.
- Low: ideas, private drafts
Read with common sense and move on.
- Medium: internal emails, summaries
Check every name, number, date and fact against a trusted source.
- High: legal, medical, published
Primary sources, a qualified reviewer, and a record of what you checked.
Step 10 of 14Practice · Sort into groups
Sort each use of AI output by how much verification it needs.
Tap an item, then tap its group (or drag it there).
Step 11 of 14Note
Step 12 of 14Practice · True or false
If a model is told to use only the provided document, it can no longer make any mistakes about that document.
Step 13 of 14Practice · Choose one
You ask, "Why did the city council vote to ban bicycles downtown last spring?" but you aren't sure such a vote happened. What is the main risk?
Step 14 of 14Practice · What would you do?
What would you do?
Tomás uses AI to draft a blog post about the health benefits of green tea. The draft cites "a 2019 Harvard study of 40,000 adults" with a striking result. He can't find the study. What should he do?
Lesson complete!