← Back to Notes

Why AI Makes Things Up

A beginner-friendly explanation of hallucinations, models, and why confident AI answers are not always true.

One of the first confusing things people notice about AI is that it can sound very sure of itself while being wrong.

It might invent a book title. It might give the wrong date. It might summarize a document that never said what it claims. It might explain a policy, a medical fact, or a legal rule with the calm confidence of someone who has checked.

But it did not check.

That is the part worth understanding.

When people talk about AI "hallucinations," they usually mean this:

The AI presents false or unsupported information as if it were true.

That sounds strange because we are used to human mistakes. A person might misremember something, exaggerate, guess, or lie. An AI hallucination is different. The system is not usually trying to deceive you. It is producing an answer that fits the pattern of the request, even when the answer is not grounded in reality.

To see why that happens, it helps to understand what a model is doing.

A Model Is Not a Fact Cabinet

A simple way to think about an AI model is this:

A model is a system trained to produce likely outputs from inputs.

You give it a prompt. It produces a response that fits.

That response may be useful, thoughtful, and accurate. But the model is not opening a little drawer labeled "facts" and pulling out a verified answer. It is working from patterns it learned during training, plus whatever context the current AI product supplies.

That distinction matters.

If you ask, "Write a polite thank-you email," the most likely output is usually fine. The model has seen enough examples of polite emails to create something useful.

If you ask, "What is the exact refund policy for this company today?" the problem changes. Now you do not just need a fluent answer. You need the correct answer.

Those are different jobs.

Expected Output Is Not the Same as Truth

When a model answers, it is trying to produce an expected output.

That does not mean "expected" in the sense of what you personally hoped for. It means something closer to:

What answer best fits this prompt, this context, and the patterns the model has learned?

Most of the time, that is what makes AI feel useful. It can continue a sentence, summarize a topic, draft an email, explain a concept, or suggest a plan because it is very good at producing answers that fit.

But an answer that fits is not automatically true.

Imagine a tour guide who has read thousands of travel blogs about a city but has never actually been there. If you ask for a general description, the guide may sound excellent. If you ask where a specific small restaurant moved last week, the guide might still answer confidently, because the shape of a helpful answer is familiar.

That is the danger.

The answer can feel right because it has the right shape.

It may have the right tone, the right vocabulary, and the right structure. It may even include details that sound specific enough to be convincing.

But confidence is not proof.

Grounding Is What Ties the Answer to Reality

This connects to the idea of grounding.

A grounded answer is tied to something outside the model's general pattern-making: a document, a database, a current web page, a source passage, a tool result, or a piece of context you provided.

Without grounding, the model is mostly answering from learned patterns and the current conversation.

That can be enough for many tasks.

If you ask for a bedtime story, a brainstorming list, or a first draft of a friendly email, the answer does not need to be checked against a database. It just needs to be useful.

But if you ask for facts, citations, policies, numbers, dates, prices, medical information, legal rules, or anything that changes over time, grounding matters much more.

The model may know the general shape of an answer, but the system needs a way to check the real thing.

That is why two AI answers can look similar on the surface but have very different reliability underneath.

One answer may be generated from memory-like patterns. Another may be generated after the system searched a document, read the right section, and used that source as context.

Both may sound polished.

Only one may be grounded.

Why It Does Not Just Say "I Don't Know"

A natural question is: why does the AI not simply stop when it is unsure?

Sometimes it does.

Many AI systems are trained and instructed to ask clarifying questions, refuse unsafe requests, or say when they do not know something. That behavior is improving.

But the basic model behavior is still built around producing a response. If the prompt asks for an answer, the system often tries to give one. If the product using the model does not provide enough grounding or strong enough instructions to pause, it may keep going.

This is especially easy to notice when the prompt sounds answerable.

"Give me five studies about this." "Summarize the key points from this report." "What did this person say in 2019?" "Which law applies here?"

Those prompts have the shape of normal factual questions. If the model does not have the right source available, it may still produce something that resembles the kind of answer you requested.

That resemblance is the problem.

A hallucination often looks like an answer.

Memory Can Make This More Confusing

Memory adds another wrinkle.

In an earlier piece, we separated conversation, context window, saved memory, and retrieval. Hallucinations often happen when people assume those layers are stronger than they are.

For example, you may think:

  • "I told it that already."
  • "It has access to the document."
  • "It should remember the rule."
  • "It probably checked the source."

Maybe it did.

Maybe it did not.

The information might exist somewhere without being active in the response. The document might be connected but not retrieved. The conversation might be long enough that an older detail is no longer in the model's working space. The saved memory might not include the fact you expected.

From the outside, all of that can feel like one simple failure: "The AI made something up."

Underneath, the issue is often more specific:

The model produced a plausible expected output without the right grounding at the right moment.

What Beginners Should Do

You do not need to become a technical expert to use AI more safely.

A few habits help a lot.

For factual questions, ask which source the answer is based on.

For current information, assume the model may need search or another live source.

For important details, provide the source directly when you can.

For long conversations, restate the facts that must be used.

For high-stakes topics, verify outside the AI before acting.

And when an answer sounds very polished, do not treat that polish as evidence.

Polish means the model is good at language. It does not mean the answer was checked.

The Better Mental Model

Hallucination is not a mysterious glitch where the AI suddenly becomes irrational.

It is a predictable risk of a system that is very good at producing expected outputs, especially when the system is not grounded enough for the question being asked.

So the better question is not only:

Did the AI answer confidently?

The better question is:

What was the answer grounded in?

If the answer is grounded in the right source, the right context, or the right tool result, you have more reason to trust it.

If it is grounded only in what sounds likely, be careful.

That is the beginner version of the whole issue:

AI can be useful because it is good at producing answers that fit.

AI can be wrong because an answer that fits is not always an answer that is true.