Why Does AI Sometimes Make Things Up?

Chatbots can produce answers that sound confident and are simply wrong. The reason lies in how they write, not in a glitch.

Short answer

AI chatbots built on large language models write by predicting which words are likely to come next, based on patterns in the text they were trained on. Unless they are connected to a search or a database, they don’t look facts up. When you ask for a specific detail the model hasn’t reliably learned — a citation, a date, a name — it can still produce something that sounds right. Researchers call this hallucination; NIST’s risk framework calls it confabulation.

In this article 6 sections
  1. How a chatbot writes an answer
  2. Why “plausible” is not the same as “verified”
  3. Why models guess instead of saying “I don’t know”
  4. When to be most careful
  5. How to check an AI answer
  6. Related guides
A hand holding a smartphone showing a ChatGPT answer in front of an open laptop.
Chatbots such as ChatGPT write fluent answers, which is exactly why a wrong one can be hard to spot. Photo: Jernej Furman from Slovenia / Wikimedia Commons, CC BY 2.0

How a chatbot writes an answer

A large language model (LLM) is trained on huge amounts of text. During that training it learns which words tend to follow which, at a scale that lets it write grammatical, well-organised sentences on almost any subject.

When you send a question, the model builds its reply one small piece at a time. At each step it scores the possible next words and picks a likely one. The image at the top of this page shows the idea: for “The first person to walk on the Moon was…”, a well-trained model gives a very high score to “Neil”, because that continuation appears consistently in its training text.

That is why chatbots are often right about widely documented facts. The pattern is strong, so the most likely continuation is also the true one.

Why “plausible” is not the same as “verified”

The same mechanism has no built-in step that checks whether a sentence is true. It produces what is likely given the patterns it learned. For a famous fact, likely and true usually coincide. For a rare or very specific fact, they can come apart.

An illustrative example — not a real transcript

Imagine asking a chatbot for “three academic papers about the history of bus timetables in a small coastal town, with authors and years”. Few such papers exist. A model can still produce three entries that look exactly like citations: realistic author names, plausible journal titles, sensible years. Each piece follows the pattern of a citation. None of it has been checked against a library catalogue.

Sounds right vs. checked
A plausible-sounding answerA verified fact
Where it comes fromPatterns the model learned in trainingA source you can open: a document, record or dataset
What it guaranteesFluency and the right formatThat someone can point to evidence
How to tellYou can’t, from the wording aloneIt links to, or names, a source you can check

OpenAI’s researchers give a simple illustration of why some details are hard: spelling and grammar follow consistent patterns, so models master them as they grow. But arbitrary facts that appear rarely — their example is a pet’s birthday — can’t be predicted from patterns alone, and that is where hallucinations arise.

Illustration: the sentence “The first person to walk on the Moon was” followed by a blank, with bars scoring possible next words — Neil scores highest, then Buzz, a and Yuri.
A language model scores possible next words. The scores shown are invented for illustration. Illustration: ByteExplained

Why models guess instead of saying “I don’t know”

In a paper published in September 2025, OpenAI argued that hallucinations persist partly because of how models are trained and tested. Many evaluations score only accuracy: the share of questions answered correctly. Under that kind of scoring, a confident guess sometimes earns a point, while “I don’t know” never does — like a multiple-choice exam where leaving a question blank guarantees zero.

Over thousands of questions, a model that guesses can look better on a scoreboard than one that admits uncertainty, even though it makes more confident errors. The researchers propose scoring that penalises confident errors more than honest uncertainty.

This doesn’t mean newer models aren’t improving. It means a chatbot’s confidence is not, by itself, evidence that it is right.

When to be most careful

Hallucinations are more likely when you ask for:

  • Exact details: names, dates, figures, prices, quotations and citations.
  • Rare or very specific subjects that appear little in public text.
  • Recent events, which may have happened after the model’s training data was collected.
  • Sources: a model can produce a reference in perfect format that does not exist.

Some assistants can search the web or read documents you provide, and show where an answer came from. That makes checking much easier. It doesn’t remove the need to check: an assistant can still summarise a source inaccurately or attach a claim to the wrong source.

Screenshot of ChatGPT confidently summarising a New York Times article from a web address it was given, though it could not open the page.
A real example from 2023: given only a link to a news article, ChatGPT wrote a plausible summary of a page it never read. Screenshot: Wikimedia Commons, public domain

How to check an AI answer

  1. Ask where the claim comes from. If the assistant gives sources, open them. A link that doesn’t exist, or a page that doesn’t say what was claimed, is a warning sign.

  2. Check anything you will act on against a primary source — the official documentation, the original study, the government page, the company’s own terms.

  3. Treat exact quotes and citations with extra suspicion. Search for the quoted words or the paper’s title yourself.

  4. Rephrase and ask again. If you get a different specific answer each time, the model is probably guessing.

  5. For medical, legal or financial decisions, use the AI answer as a starting point for questions to ask a qualified person, not as the answer.

What this doesn’t mean

A chatbot isn’t “lying” in the human sense — it has no intention to deceive. And it isn’t useless: it can be very good at explaining, summarising and drafting. The point is narrower: fluent text and verified facts are different things, and only one of them comes with evidence.

Sources and further reading

  1. Why language models hallucinate — OpenAI, September 2025
  2. Artificial Intelligence Risk Management Framework: Generative AI Profile (NIST AI 600-1) — US National Institute of Standards and Technology, July 2024Describes the risk under the name “confabulation”.

Was this article helpful?

Comments

No comments yet. Questions and tips from readers are welcome.