AI Foundations 3: Why does AI make things up even when it has the facts?

Witjo

AI Foundations 3 · about 9 minutes · no jargon

AI makes things up even when it has the facts. Watch it happen.

It writes a fake court case with the same confident voice as a real one. It is not lying. It has learned the shape of answers, not the answers themselves. In nine minutes you will watch it invent something, understand why, and learn the four habits that catch it.

Editorial infographic titled 'Learning the Shape, Not the Truth', comparing how language models generate plausible answer patterns like incorrect dates versus verified historical facts

Think of a student who has read the textbook but never sat the exam. The student can recite the shape of an answer perfectly. Ask for a date and the student produces a date that fits the pattern, even if it is wrong. The student is not lying. The student has learned the shape of answers, not the answers themselves.

The AI is that student. It has read millions of citations, book titles, and news sentences. It has learned what a real one looks like. When you ask for a source, it produces something that looks exactly right, because that is what it was trained to do. It does not check whether the source exists.

In the box below, step through how a citation request gets shaped and why a believable format still needs verification. Click the numbers, or press Next step.

From its reading, the model learns the usual structure of citations without checking existence.
It drafts wording that looks like a real source because that format fits common patterns.
Predicting likely text does not verify whether a specific case or record actually exists.
Only checking an external source tells you whether the citation is real or invented.

This is a simplified picture. A real AI weighs tens of thousands of words at each step, but the process is the same.

What just happened

You followed four steps showing how a citation can match a familiar format while still needing a human check to confirm whether it really exists.

Why it works this way

The AI predicts the next token from patterns in its reading. It has seen thousands of real citations, so it knows the shape: a name, a volume, a page, a court, a year. When you ask for a source, the most likely text is a sentence with that shape. The AI does not have a separate step that checks whether the case exists. It only has the pattern.

Worked example. Ask for a court case about school segregation and the AI may produce “Brown v. Board of Education, 347 U.S. 483 (1954)”. That one is real, and you can check it in a law library. Ask for a case about a more obscure topic and the AI may produce a name, a volume, and a page that all look right, but the case does not exist. In 2023, lawyers in a New York court were fined for filing a brief with AI invented cases. The shape was perfect. The cases were not.
The AI writes what sounds likely, not what has been checked. Likely and true are not the same thing.
Go deeper: why “hallucination” is not a bug you can fully remove

The AI is built to predict likely text, not to track truth. Truth and likelihood often overlap, which is why it is usually right. But when a false statement is more likely in the training text, or when the AI fills a gap with a plausible guess, it can produce a hallucination. Developers add checks and tools, but no system that predicts text can guarantee every fact. The reliable habit is human verification.

Step 2 · Why a guess beats honesty

A confident guess sounds better than an honest “I do not know”

The AI is built to sound likely, not to sound honest.

If you ask a person for a fact they do not know, the honest reply is “I do not know”. The AI has that option too, but it is often not the most likely text. A smooth, confident guess fits the pattern of a helpful answer much better than a short confession of ignorance. So the guess wins.

Think of a job interview. One candidate says “I do not know, but I can find out”. Another gives a confident answer that turns out to be wrong. In the moment, the confident one often sounds better. The AI has learned that lesson from its reading. It has seen far more confident answers than honest confessions, so it produces confident answers.

Answer the three questions below. After each answer you will see why every option is right or wrong.

Confident answers match common text patterns The model actively tries to deceive readers Saying ‘I do not know’ is completely impossible
It copies the structure of real citations It verifies every docket in a law database Invented citations use broken grammar
Fluency reflects pattern likelihood, not truth Confident phrasing only happens for verified facts Asking ‘are you sure’ always fixes a guess

What just happened

You answered three questions and saw the reasoning behind every option. Because confident phrasing is common in training text, a smooth guess often beats an admission of uncertainty.

Why it works this way

The AI is trained on a huge amount of text, and most of that text is confident. Articles, books, and websites rarely say “I do not know”. They give answers. So the AI has learned that the likely next text is a confident answer, not a confession. Saying “I do not know” is a behaviour that has to be added on purpose. It is not the default.

Worked example. Ask for the author of a book that does not exist and the AI may produce a name that sounds like a real author. A name is more likely text than “that book does not exist”, because books usually do have authors. The AI is not checking a catalogue. It is producing the most likely sentence. The same is true for case numbers, dates, and statistics: a plausible number is more likely text than an admission of ignorance, so the plausible number wins.
Confidence is a style, not evidence. The AI sounds sure because sure answers are common in its reading, not because it has checked.
Go deeper: why some assistants admit uncertainty more often

Saying “I do not know” is a behaviour that has to be encouraged. Some systems are tuned to admit uncertainty, and some are tuned to always sound helpful. The tuning is a choice by the people who built the system, not a property of the AI itself. That is why two assistants can behave differently when a fact is missing: one admits the gap, the other fills it. When you use any assistant, watch for which behaviour you get, and adjust your habits accordingly.

Step 3 · The shape is not the fact

A real citation and a fake one can look identical

The AI learned the shape, not the truth.

Editorial infographic titled 'The Shape of a Citation', comparing a real legal citation with an AI-hallucinated case to illustrate the five structural parts—name, volume, reporter, page, and year.

A real court citation has a name, a volume, a page, a court, and a year. A fake one can have all five. The AI has seen so many real citations that it can produce a perfect looking fake without ever checking whether the case exists. The shape is easy to copy. The truth is not.

Think of a forged banknote. A good forgery has the right paper, the right colours, and the right watermark. It looks exactly like the real thing. The only way to tell is to check it against a trusted source. A fake citation is the same: it looks right, and only a check can tell you whether it is real.

Choose a source reading focus below. Each one shows how patterns in what was read shape which details follow a case name.

Legal texts strongly pair a case name with volume, reporter, and page numbers.
News reporting frequently follows a case name with a date or year rather than reporter citations.
Combining different source types mixes competing continuation patterns for the same name.
Matching citation format alone never proves a case or record exists in reality.

The same name can lead to a real citation or a fake one, depending only on what the AI has read. The name is not the proof. The check is the proof.

What just happened

You compared four reading-pattern views and saw how different source patterns shape citation continuations without guaranteeing real existence.

Why it works this way

The AI does not store a list of real cases. It stores patterns. A name followed by a volume and a page is a strong pattern, because real citations have that shape. A name followed by a year is also a strong pattern, because news stories mention years. The AI produces whichever pattern is strongest in its reading, not whichever one is true. That is why a fake citation can look just as polished as a real one.

Worked example. “Brown v. Board of Education, 347 U.S. 483 (1954)” is a real case, and you can check it in any law library. “Hartwell v. Lakeside Airlines, 925 F.3d 1339 (11th Cir. 2019)” has the exact same shape, but the case does not exist. The name is plausible, the volume is plausible, the court is plausible, and the year is plausible. Every part fits the pattern. Only a check against a real database can tell you which one is real.
A perfect shape is not proof. Check names, numbers, and citations against a trusted source before you rely on them.
Go deeper: why the AI cannot check itself

The AI has no access to a law library, a catalogue, or a database unless a separate tool is connected to it. It only has its patterns. Asking the AI “are you sure” does not help, because the same patterns will produce the same confident answer. The only reliable check is an external source: a library, a trusted website, a second tool, or a human who knows the field. That is why verification is a habit, not a prompt.

Step 4 · When the reading is wrong

If the training text is wrong, the AI repeats it confidently

A mirror of its reading, including the mistakes.

Editorial infographic titled 'A Good Mirror of a Bad Source', showing how an AI model faithfully reflects repeated false claims from flawed source data rather than inventing them.

Not every hallucination is an invention. Sometimes the AI is faithfully repeating a wrong fact it read many times. If a false claim appears in thousands of articles, the AI learns it as a strong pattern and repeats it with confidence. This is not the AI making things up. It is the AI being a good mirror of a bad source.

Think of a rumour that spreads through a school. By the time it reaches you, it sounds like a fact, because everyone repeats it. The AI is the same. It does not check the rumour against the truth. It checks how often the rumour appears. If it appears often enough, it becomes the likely answer.

Slide the control below across 5 levels of wrong text in the training mix—from 1 (almost no wrong text) to 5 (heavy wrong text repeating an error).

At level 1, accurate sources dominate so the true date stands out clearly. At level 2, occasional mistakes appear alongside mostly reliable sources. At level 3, competing claims in the mix make inaccurate details more noticeable. At level 4, repeated errors carry stronger pattern weight in the reading mix. At level 5, a widely repeated error can appear with high confidence because it mirrors the reading.

What just happened

You moved the slider from level 1 (almost no wrong text) up to level 5 (dominant wrong text) and saw how repeating a wrong fact in training text makes an inaccurate answer more likely to appear confidently.

Why it works this way

The AI learns from the text it reads. If the text is mostly accurate, the AI is mostly accurate. If the text is full of a repeated false claim, the AI learns the false claim as a strong pattern. This is why training data quality matters, and why a widely repeated myth can become a confident AI answer. The AI has no separate check for truth. It only has the frequency of patterns in its reading.

Worked example. The Eiffel Tower opened in 1889. If the AI has read mostly accurate sources, 1889 wins with a high percentage. If it has read a lot of text that repeats a wrong year, the wrong year can rise. The AI is not choosing to be wrong. It is reflecting the mix it was trained on. The same is true for health claims, historical dates, and product facts: a widely repeated error becomes a confident answer.
The AI is a mirror of its reading, including the mistakes. A widely repeated error becomes a confident answer.
Go deeper: why training data quality is hard to fix

The internet contains a huge amount of text, and not all of it is accurate. Filtering it perfectly is very hard, because a false claim can appear in many places and look credible. Developers add checks and filters, but no filter catches everything. That is why the AI can repeat a myth with confidence. The reliable habit is to check important facts against a trusted source, not to assume the AI has verified them.

Step 5 · Filling a gap

When the fact is missing, the AI fills the gap

A gap plus a likely guess equals a confident fake.

The most common cause of hallucination is a gap. The AI has no fact to work from, so it produces the most likely sounding text. This is exactly what AI Foundations 2 taught: when a fact falls off the desk, the AI does not say so. It fills the gap with a plausible guess. The guess sounds confident because confident text is what it was trained to produce.

Think of a student who missed the lesson on the French Revolution. On the exam, the student writes a confident paragraph that sounds right but gets the dates wrong. The student is not lying. The student is filling a gap with the most likely sounding answer. The AI does the same, at a much larger scale.

Judge these four replies. Each one is a reply from an AI that has a gap in its knowledge. Decide whether the reply is honest about the gap, or whether it fills the gap with a confident guess.

I do not have a reliable source for that date. Could you give me more context?
The treaty was signed on 14 March 1798.
A 2019 study by Dr. Helen Park in the Journal of Nutrition found that the effect was strong.
I cannot confirm that statistic. Please check a trusted source before relying on it.

What just happened

You judged four replies and saw which ones admitted a gap and which ones filled it with a guess. Two were honest and two were invented. The invented ones sounded just as polished as the honest ones. That is the danger: a gap plus a confident tone looks exactly like knowledge.

Why it works this way

The AI is built to predict likely text. When a fact is missing, the most likely text is still a smooth sentence that fits the pattern. Saying “I do not know” is possible, but it is often less likely than a confident guess, so the guess wins. The AI has no separate check that says “this fact is missing, so refuse”. It only has the pattern.

Worked example. You ask for a study about a rare nutrient. The AI has read very little about that nutrient, so it has a gap. A study with a plausible author and journal is more likely text than “I do not know”, because studies usually have authors and journals. The AI produces a fake study with a real looking shape. If you cite it, you will be citing something that does not exist. The fix is to ask for a source, then check it against a real database.
A gap plus a confident guess equals a fake fact. Ask for a source, then check it.
Go deeper: why asking “are you sure” does not help

Asking the AI “are you sure” often produces a new confident answer, not a correction. The same patterns that produced the first answer will produce the second. A better question is “what is your source, and can you show me where it says that”. Even then, the source may be invented. The only reliable check is external: a library, a trusted website, a second tool, or a human who knows the field.

Step 6 · Prove it

Three questions. Let’s see what stuck.

You have watched the AI invent a citation, seen why a confident guess beats an honest “I do not know”, compared real and fake shapes, and judged gaps filled with guesses. Now check what you can explain in your own words. These questions are about the ideas, not the numbers.

Answer each one, read the explanation, and then see your result. If you miss one, the explanation tells you where to look back.

Why fake cases look real?

  • Tries to trick users
  • Matches citation shape
  • Database is too small
  • Renames real rulings

Why confident guesses win?

  • Refuses uncertainty
  • Sure text is common
  • Misreads the prompt
  • Prioritises speed only

Effect of repeated errors?

  • Auto-filtered out
  • Mirrors bad reading
  • Triggers a refusal
  • Runs live fact check
0/3

Your result

What you now know

  • The AI writes what sounds likely, not what has been checked.
  • Confidence is a style, not evidence. The AI sounds sure because sure answers are common in its reading.
  • A real citation and a fake one can look identical. The shape is easy to copy. The truth is not.
  • When a fact is missing, the AI often fills the gap with a confident guess.
  • The habit that protects you: ask for a source, then check it against a trusted source.

Get the monthly summary

One short email a month with the best new topics on the site.

No daily mail, no spam. Just a short note when something worth reading is added.

One short email a month. Unsubscribe any time.

Words you met

  • Hallucination: when the AI states something false as if it were true. It happens because the AI writes what sounds likely, not what has been checked.
  • Confidence: how sure the AI sounds. It is a style learned from its reading, not a signal that the fact has been verified.
  • Citation: a reference to a real source, such as a court case, a book, or a study. A fake citation can look exactly like a real one.
  • Shape: the pattern of a fact, such as a name, a volume, a page, and a year. The AI learns shapes, not truths.
  • Gap: a missing fact. When the AI has a gap, it often fills it with a plausible guess instead of admitting it does not know.
  • Training text: the writing the AI learned from. If the text repeats a wrong fact, the AI can repeat it confidently.
  • Verification: checking a fact against a trusted source, such as a library, a database, or a human expert. The only reliable defence against hallucination.
  • Source: the place a fact comes from. Always ask for one, then check it.

All numbers and percentages in these exercises are simplified teaching numbers. Real AI systems use far more data and far larger numbers, but the ideas shown are the real ones.

Understand AI without the jargon

Get our newest AI lessons by email: how models work, what agents can really do, and how to use AI well.

Witjo Newsletter Signup – AI

One short email a month. Unsubscribe any time.

Save to list

Scroll to Top