Skip to main content

Hallucinations

A hallucination is an answer that sounds right but is false, or isn't supported by any source. The model isn't lying: it writes the most likely words for the question, and sometimes the most likely words are wrong.

Why models hallucinate​

  • They predict text, they don't check facts. A model writes what usually follows, which reads well even when it's wrong.
  • Their knowledge is fixed. A model knows only what was in its training data, up to its knowledge cutoff, and nothing about your organization.
  • Vague questions leave gaps. When a question is unclear, the model fills the gaps with plausible guesses.

What they look like​

TypeExample
Wrong factsA wrong date, name or figure: "The Eiffel Tower was built in 1867" (it was 1889).
Invented sourcesA citation, a policy number or a link that doesn't exist.
Misread questionA question about Python the language answered about pythons the snakes.
Invented thingsA product, a person or a rule that was never real.

How Rational AI reduces them​

  • Answers from your data. With RAG, an assistant searches your Knowledge and answers from the passages it finds, and Chat shows the sources it used.
  • Checking an answer. Verify response in Chat checks an answer against the retrieved knowledge and marks the sentences it can't support. See Check an answer against your knowledge.
  • Clear instructions. A touchpoint's system prompt can tell the assistant to say when it doesn't know.
  • A person in the loop. For answers that matter, have someone review them before they're used. See Human-in-the-loop.

Connects to​