Skip to content

Lesson 22 ยท Safety, Privacy and Accuracy

Checking Accuracy and Spotting Hallucinations

Spot ChatGPT hallucinations and weak reasoning, verify facts, numbers, citations and code with a practical routine that matches effort to the risk.

OpenAI's own help page says ChatGPT can be useful but is not always correct. It can state wrong facts, invent quotes or citations and sound very sure about complicated questions. This is often called hallucination. Confidence tells you nothing about reliability. This lesson gives you a routine to check answers without wasting time on trivial ones. For why this happens, see hallucinations.

Where errors often appear

  • Specific details: names, dates, numbers, version numbers and page references.
  • Quotes and citations: a realistic title with a wrong author, or a source that does not exist.
  • Niche or recent topics with little reliable material.
  • Multi-step math done without running code.
  • Your own context: it may fill gaps about your situation with guesses.
  • Leading questions: asking "why is X true?" can produce reasons even when X is false.

Ask neutral questions

Compare "Why does coffee cure headaches?" with "What does the evidence say about coffee and headaches? Include evidence for and against." The second does not assume the answer.

Match effort to risk

Risk if wrong Example Checking
Low Ideas for a party A quick read
Medium Study notes, a work email with dates Check each fact and number
High Health, money, law, safety, public claims Primary sources and a qualified person

The verification routine

Find claims List what can be wrong
Open sources Prefer primary ones
Recalculate Redo key numbers
Ask an expert When stakes are high
1 / 2

Check claims one by one

First, separate the claims. You can ask ChatGPT to help, but then verify them elsewhere:

TEXT
List every factual claim in your last reply as a numbered list.
Mark which ones need a source and which are your own reasoning.

For each claim, find an independent source. Search and deep research provide links, but open them: they can be incomplete or wrong.

Recalculate numbers

Redo important math yourself, with a calculator, a spreadsheet or code. The block below checks made-up figures that a reply might contain. One figure is wrong on purpose.

Python Recalculate figures from a reply

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The subtotal and tax match, but the total does not add up. Fluent text can hide that kind of slip.

Check citations

For every source:

  1. Does it exist? Search for the exact title.
  2. Are the author and date right?
  3. Does it actually say that?
  4. Is it relevant to your case (place, time, population)?

If you cannot find a source, remove the claim.

Test reasoning

Ask for a counterexample, an alternative explanation or the assumptions behind a conclusion. Try special cases: zero, negative numbers, very large numbers, other countries. Ask the same question in a new chat in different words; different answers show uncertainty. Matching answers do not prove truth.

Limits of asking again

"Are you sure?" can lead a model to change a correct answer, or to defend a wrong one confidently. A second AI can share the same mistake. Outside evidence is what verifies a claim.

Bias and missing views

Answers can reflect biases in training data or in your question. Ask who might disagree, which groups are missing and what the strongest opposing view is. For sensitive topics, read sources from different perspectives.

Keep a record

For important work, note what you checked and where:

TEXT
Claim: ______
Source checked: ______   Date accessed: ______
Result: confirmed / wrong / could not confirm

Use "could not confirm" honestly. It is a useful result.

Prompts that help you see errors

These do not remove errors, but they make them easier to spot:

TEXT
Say "I don't know" if you are unsure.
Separate facts from your inferences.
Quote the exact text you rely on.

A worked example of checking

Suppose a reply says that a library fine policy changed last year, gives a daily amount and quotes a sentence from the rules. That is three claims. Check the change on the library's official page, compare the amount with the current schedule and search the rules for the quoted sentence. If the page supports the change but the quote does not exist, keep the first two, remove the quote and note it in your record. One wrong item is also a signal to look more carefully at everything else in the same reply.

Warning signs

Look harder when a reply has very precise numbers with no source, a citation you cannot open, a perfect answer to a vague question or details about you that you never gave. None of these proves an error, and the absence of warning signs does not prove accuracy. They simply tell you where to start.

Check without a source

Some answers have no single source to open, such as advice on a plan. Test them against your own knowledge: does the plan fit your time, budget and rules? Ask what would have to be true for it to work, and check those conditions. A plan built on a false assumption fails even if every sentence in it sounds sensible.

Practice

Ask about a topic you know very well, such as your hobby or hometown. Mark each claim as right, wrong or unclear. Most people find this a useful way to calibrate: you see what errors look like when you can spot them, and you carry that caution into topics you know less about.

Repeat the exercise from time to time, because models and features change.

Common mistake: asking ChatGPT to confirm its own answer and counting that as verification. Check outside the chat.

Check your understanding

Quick check ยท 3 questions

of 3 answered You scored / 3 ยท perfect!

  1. 1. What does a confident tone tell you about accuracy?

    Confident wording is not evidence.
  2. 2. How should you verify a citation?

    Only the source itself can confirm the claim.
  3. 3. Which question is least leading?

    It does not assume a conclusion.

Summary

  • ChatGPT can be confidently wrong, especially about details and sources.
  • Check more carefully when the cost of error is higher.
  • Verify claims with outside sources and recalculate numbers.
  • Neutral questions reduce built-in assumptions.
  • Self-confirmation is not verification.

Next: Safe and Responsible Use of ChatGPT

Your progress is saved in this browser. No account needed.