Answers · AI basics

Why does AI make things up, and how do you stop it?

In short

AI models predict likely text, not true text. When the answer is not in what they were given, they often produce a confident guess, called a hallucination. You cannot remove it fully, but you can cut it: give the model your own documents, ask it to quote its sources, let it say "I don't know", and have a person check.

Why does it happen?

A language model writes by predicting the next likely piece of text. Most of the time, likely and true line up. When the model has no fact to draw on, such as your price list, a court case it never saw, or last week's news, it still produces the most plausible text. Plausible is not the same as correct.

A 2025 paper by Kalai and colleagues adds a second reason: the way models are trained and scored rewards guessing. A test that gives zero points for "I don't know" teaches the model that a guess is the better bet. NIST's Generative AI Profile lists this behavior, which it calls confabulation, as one of the main risks of generative AI.

How do you reduce it?

Anthropic's guide to reducing hallucinations lists methods that work with any model:

  • Give the model the source. Put your own documents in the request and tell it to answer only from them. This is what retrieval-augmented generation does automatically.
  • Allow "I don't know". Say in the instructions that a missing answer is fine. Anthropic says this alone can sharply reduce false information.
  • Ask for quotes first. For long documents, have the model pull the exact passages, then answer from those passages.
  • Check each claim. Ask it to find a supporting quote for every statement and drop any it cannot support.
  • Run it twice. If two runs of the same question disagree, treat the answer as suspect.
  • Keep a person in the loop for anything that leaves the building.

Which tasks are risky?

Higher riskLower risk
Exact numbers, prices, dates and totalsRewording text you wrote
Legal citations, quotes and referencesSummarizing a document you supplied
Facts about a specific person or companySorting emails into folders
Promises to a customer about terms or refundsFirst drafts a person edits
Anything recent, after the model's training dateBrainstorming options

The pattern: risk rises when the answer must be a specific fact the model was not given, and when nobody reads it before it is used.

What do we do about it?

We design for it rather than hope it away. When we build AI on a client's own data, answers come from their documents, the system says when it cannot find an answer, and a person approves anything that goes to a customer. In our own coding work with Claude Code, every change goes through tests and review before it ships. If you want to see how your documents would hold up, start at private AI.

Questions owners ask

Do newer models still make things up?

Yes, less often on many tasks, but not never. Anthropic's own guide says its techniques reduce hallucinations but do not eliminate them, and tells readers to check critical information.

If the answer cites a source, is it safe?

Only if someone opens the source. A model can invent a citation as easily as a fact. Ask for exact quotes from documents you supplied, so a reader can find them.

Can I tell from the tone that it is guessing?

No. A wrong answer usually sounds as sure as a right one. That is why the checks have to be part of the process.

Want AI that answers from your own documents?

We set up private AI on hardware you own, and AI agents for the jobs someone repeats every day. It starts with a written plan and a fixed price.