← All topics
💻 Computer ScienceBeginner

AI Hallucinations

An AI model can be wrong in seven recognizable ways. Each one has its own check.

An AI chat model predicts text that fits. Nothing inside it checks whether the text is true. A hallucination is an answer that is wrong and reads as right.

The seven kinds

  1. Fabricated facts. A false name, date or number, stated with confidence. Check it against a primary source.
  2. Fake citations. A paper, link or quote that looks real and does not exist. Open every link.
  3. Outdated answers. Old information presented as current. Ask for its cutoff date, then search.
  4. Invented code. A function or package that nobody published. Run it somewhere safe first.
  5. Ignored instructions. It says it followed your rules, and it skipped one. Check the answer against each rule.
  6. Context conflict. It contradicts the document you gave it. Ask for exact quotes.
  7. Broken reasoning. The steps sound right, and the math is wrong. Redo the math yourself.

Read the full post, with the checks for each kind.

Worth remembering

  • A bad answer often holds two or three kinds at once. One check catches one kind.
  • Confidence tells you nothing about truth. Treat an answer as a draft.
  • To see why these happen, read How an LLM Works.

The grouping into seven kinds follows an infographic by Poornachandra Kongara.

Related topics

AI Hallucinations — Learn | Graphene FM