🏛️ Issues and Advocacy Training
Courses › How AI Works: The Kinds of AI and What They Are For

Lesson 6 of 9 · about 18 minutes

Why Chatbots Make Things Up, and What Fixes Help

You'll be able to

  • Explain why language models produce confident false statements
  • Describe retrieval-augmented generation and search grounding, and what they can and can't fix
  • Explain what reasoning models and tool use change
  • Check any AI-produced fact before repeating it or relying on it

Ask a chatbot for the history of a small-town newspaper and it may hand you a founding year, a founder's name and a colorful quote from the first editorial. All three can be invented. They read fine. They are formatted like facts. And the model will often defend them if you push back. This is hallucination, and anyone who repeats what a chatbot says needs to understand where it comes from.

Why it happens

Recall lesson 5: a language model picks plausible next tokens. A plausible-sounding founding year and the real one look much the same to that process. For famous facts, the training data repeated the true version thousands of times, so the true version wins. For obscure facts (a county commissioner, a 1962 bond vote, a small band's first album) the model saw little or nothing, and it fills the gap with something that fits the shape.

Recent research from inside two AI companies adds detail.

  • The incentive problem. In September 2025 OpenAI published a paper arguing that standard training and testing reward guessing. If a benchmark counts only right answers, a model that guesses on every question beats one that says "I don't know" when unsure. Like a student on a multiple choice test with no penalty for wrong answers. The authors proposed scoring that punishes confident errors more than honest uncertainty.
  • The misfire. In March 2025 Anthropic published research tracing the internal circuits of its Claude model. It found a default "can't answer" pathway that switches off when the model recognizes a familiar name. Hallucinations can happen when a name feels familiar but the model knows little else about it. The brake comes off, and there's nothing real behind it.

Hallucinations cluster in predictable places. Learn these and you'll catch most of them:

High-risk requestWhy it's riskyWhat to do
Citations, report titles, statute numbers, page numbersPerfectly regular format, easy to fakeLook up every one in the original source
Quotes from real peopleModels produce in-character linesNever repeat an AI-supplied quote without the original recording or document
Local and obscure factsLittle or no training dataTreat as a lead, then find the record
Recent eventsAfter the model's training cutoffUse search-grounded tools and check dates
Exact numbers, arithmetic, datesDigits are just tokens to the modelRecompute, or have the model run code
URLsModels produce believable addressesClick every link
Treat an AI answer as a tip. Think of it like a stranger at the feed store who sounds sure of himself: maybe right, worth checking, never quoted as fact.

Grounding: put the sources in front of it

The best fix so far is to stop asking the model to remember and start asking it to read. Retrieval-augmented generation, or RAG, was named in a 2020 paper led by Patrick Lewis at Facebook AI Research. The idea:

1. Question"What did the boarddecide on rates?" 2. Searchminutes, web,your files 3. Paste passagestop matches gointo the context 4. Answerfrom the passages,with citations The model's weights don't change. Only what it's reading does.
Retrieval-augmented generation, the pattern behind "chat with your documents" and chatbots with web search.

When a chatbot shows "Searched the web" and lists sources, it is doing a version of this, often called grounding. So does any tool that lets you upload a PDF and ask questions about it.

Grounding helps a lot. It doesn't make answers trustworthy on its own. The search can pull the wrong documents (an old version of the budget, a different town with the same name). The model can misread a table, merge two sources, or add a "fact" from memory that isn't in any of them. It can cite a real page that doesn't support the sentence attached to it. So open the source and find the sentence.

Example: grounded, still wrong

A volunteer for the invented Ridgeview Gazette uploads the water district's 84-page budget and asks: "How much is the district spending on the new well?" The bot answers $1.2 million and cites page 31.

Page 31 shows $1.2 million, in a column labeled "FY2025 Requested." The adopted figure on page 33 is $940,000. The bot read a real number from a real page and still gave the wrong answer to the question asked. The volunteer caught it only because she went to page 31 and read the column header.

Reasoning models: thinking before answering

Starting with OpenAI's o1 in September 2024, companies trained models to write out a long internal chain of steps before giving a final answer, using reinforcement learning to reward chains that end at right answers. OpenAI reported o1 averaged about 74 percent on the 2024 AIME, a hard high school math competition, with one attempt per problem. GPT-4o averaged about 12 percent. In January 2025 the Chinese lab DeepSeek published R1 with open weights, reporting that reasoning ability could be grown with reinforcement learning alone, without people writing out example reasoning. Today most big model families have a "thinking" mode or setting.

Reasoning helps most on problems with checkable steps: math, code, logic puzzles, multi-step planning. It costs time and money, since the model may produce thousands of hidden tokens before answering. It does not give the model facts it never learned. A reasoning model asked about an obscure local official can reason very carefully toward an invented answer. And the written-out reasoning a model shows you isn't always a faithful account of how it got there; Anthropic's circuit research found a model describing the schoolbook carrying method for addition while internally doing something else.

Tool use: hand the job to the right tool

The other big fix is to stop making the model do everything itself. With tool use, the model can decide mid-answer to call a calculator, run a short program, search the web, or query a database, then read the result and carry on. Ask a model with a code tool for the average of 400 numbers and it writes a few lines of code and runs them, instead of predicting digits. In November 2024 Anthropic released the Model Context Protocol, an open standard for wiring tools and data into AI apps, which other major companies have since adopted.

ApproachWhat it fixesWhat it doesn't fix
Plain chatbot from memoryFast, good for brainstorming, drafting, explaining well-known topicsObscure facts, recent events, exact figures
Grounding / RAG / web searchRecent and specific facts, gives you sources to checkMisreading sources, wrong documents retrieved, fake support
Reasoning modeMulti-step math, code, logic, planningMissing facts; adds cost and wait time
Tool use (code, calculator, database)Exact arithmetic, data analysis, live lookupsCalling the wrong tool or misreading its output

Common mix-ups

  • Claim: Newer models don't hallucinate. What the evidence shows: Rates have dropped on many benchmarks, but every major company still warns users to check important outputs. OpenAI's own 2025 paper calls hallucination a lasting challenge.
  • Claim: If you ask "are you sure?" it will catch its mistakes. What the evidence shows: Sometimes. Models also cave on correct answers when challenged, because agreeable replies were rewarded in training. Check against a source instead.
  • Claim: A cited link proves the claim. What the evidence shows: Only if the page says it. Grounded models sometimes attach real links to sentences the page doesn't support.

Reporting angle

When a public agency uses a chatbot to answer residents (permit questions, utility billing, benefits), ask: what documents is it grounded in, and how often are they updated? Who reviews wrong answers, and is there a log of conversations? Has anyone tested it with the 20 most common questions, and what share did it get right? A records request for the testing results and the vendor's contract terms on accuracy is a good start. Then test it yourself with five questions you already know the answers to, and save screenshots with dates.

Research angle

Check yourself

1. Why does a language model sometimes invent a citation to a report or a quote that never existed?

2. According to OpenAI's September 2025 paper, why do training and testing practices encourage hallucination?

3. What does retrieval-augmented generation (RAG) do?

4. A chatbot with web search gives you an answer with three links. What should you still do before repeating the fact at a meeting or online?

5. What did OpenAI's o1 (September 2024) add compared with earlier chatbots?

6. A model asked to multiply two 9-digit numbers gets it right only when it runs code. What does that show?

Terms in this lesson

Hallucination
When an AI model states something false or invented as if it were true. Also called confabulation.
Grounding
Tying a model's answer to specific sources, such as search results or your own documents, put in its context.
RAG
Retrieval-augmented generation: search first, paste the relevant passages into the prompt, then generate the answer from them.
Reasoning model
A model trained to work through a problem step by step internally before giving its final answer, trading time for accuracy.
Tool use
A model calling outside programs, such as a search engine, calculator or code runner, and using their results.

Full glossary

Sources