Skip to content

AI basics

What is an AI hallucination?

A hallucination is a statement from an AI model that sounds plausible and confident but is false or made up, such as a non-existent source, a wrong date or an invented figure.

Also: AI hallucination · Confabulation · Halluzination

Language models generate text by predicting the most likely next piece of text. They do not check whether a statement is true. When the model lacks the knowledge, it often fills the gap with something that sounds plausible. The result is called a hallucination.

Typical forms

  • invented sources, court rulings, legal sections or studies
  • wrong figures, dates and names
  • mixing up two similar things, such as two customers or product versions
  • answers to questions the provided documents say nothing about

Why hallucinations happen

Causes include gaps or errors in training data, outdated knowledge, ambiguous questions and missing context. On top of that, training tends to reward models for giving an answer rather than admitting uncertainty.

How to reduce the risk

  1. Provide sources: with RAG, the answer rests on retrieved passages rather than the model’s memory.
  2. Show sources: every statement should point to a passage that can be checked.
  3. Ask clearly: precise prompts and an instruction to state uncertainty openly.
  4. Involve people: before consequential steps, a person reviews the result (human-in-the-loop).

With today’s technology, hallucinations cannot be ruled out completely. Sources make them quick to spot.

Example

A buyer asks for the notice period in the framework agreement with a packaging supplier. A chat without access to the contract answers “three months to the end of the quarter”, a common period but wrong here. With the contract as a source, the model quotes section 11(2), six months to the end of the year, and links to page 7 of the PDF.

Glossary

Related terms

Terms that often come up together.

Next step

From definition to practice.

Search, chat, agents and tasks in one platform. Hosted in Frankfurt, every model processed in the EU.

No per-seat fee · From €399 a month · Cancel monthly