AI hallucinations

Definition

AI hallucinations are confident answers from a language model that sound plausible but contradict facts, documents or company data: invented numbers, links, contract clauses or names. The model predicts likely text and fills gaps when it lacks verified sources, so businesses reduce the risk with document search, a source link for every fact and human review.

Free to quote with a link to initask.com · Author: Vitalii Miniailo · Updated:

Key traits

AI hallucinations
01
Confident tone
02
Specific details
03
Data gaps
04
Repeatability
AI hallucinations
01
Confident tone
02
Specific details
03
Data gaps
04
Repeatability

Confident tone

An invented answer sounds just as convincing as a correct one.

Specific details

Numbers, dates, links, legal articles and quotes are invented most often.

Data gaps

The risk grows when the model has no source containing the answer.

Repeatability

The same question can get different answers, which a test set reveals.

Comparison

CriterionHallucinationData errorOutdated model knowledge
Where it comes fromThe model fills a gapA wrong record in a systemThe model's training cutoff
SignThe fact exists in no sourceThe fact exists but is wrongThe fact used to be true
SafeguardSource link, reviewData cleanupSearch over current data (RAG)
Who catches itPeople and automatic checksData ownerKnowledge base updates

Where it comes from

Hallucination
The model fills a gap
Data error
A wrong record in a system
Outdated model knowledge
The model's training cutoff

Sign

Hallucination
The fact exists in no source
Data error
The fact exists but is wrong
Outdated model knowledge
The fact used to be true

Safeguard

Hallucination
Source link, review
Data error
Data cleanup
Outdated model knowledge
Search over current data (RAG)

Who catches it

Hallucination
People and automatic checks
Data error
Data owner
Outdated model knowledge
Knowledge base updates

How to implement

  1. Give the model company documents and data through search (RAG) for every answer.
  2. Require a source link next to every fact and number.
  3. Allow the answer "no data" when no source is found.
  4. Check numbers automatically against accounting or CRM before a person sees them.
  5. Keep human approval for actions where an error costs money.

Common mistakes

  • Asking the model about company facts without access to documents.
  • Accepting a reference to a law or contract without opening the source.
  • Relaxing review after a few good weeks.
  • Measuring quality on a handful of examples instead of a test set.
Example from a project

A compliance agent for counterparty checks screens a company against 188 sanctions lists, every fact in its report links to the source, and the compliance officer makes the decision.

Case: counterparty checksCase: counterparty checks

Questions and answers

Can hallucinations be eliminated completely?

Completely, no. That is why systems are built so every fact has a source and doubtful answers go to a person, which makes the risk manageable.

Why do models invent links?

A model is trained to continue text plausibly. Without access to the real source, it composes a link modelled on the ones it has seen.

How do you measure the hallucination rate?

Build a test set of questions with known answers and count the share of answers that contain facts missing from the sources.