Hallucination

When an AI model states something false or invented as if it were fact, fluently and with confidence.

A hallucination is a confident, fluent answer that is simply wrong: a court case that never happened, a quotation nobody said, a function that does not exist in the library, a date that is off by a decade. The model is not lying in any deliberate sense. It is producing the kind of text that usually follows, and sometimes the most plausible-sounding continuation is false.

The problem comes from how language models work. They are trained to predict text, not to check facts, and they have no built-in way to tell what they know from what they are guessing. Where the training data was thin or contradictory, the model fills the gap with something that sounds right.

Hallucination rates have fallen as models have improved, and techniques such as giving the model documents to quote from, letting it search, and training it to say when it does not know all help. Some benchmarks now measure it directly. But the rate is not zero, and a model that is right 98% of the time can be more dangerous than one that is right 70% of the time, because people stop checking.

The term is disputed. Some researchers prefer confabulation, and others object that both words make the system sound more like a mind than it is. Whatever the name, it is the single most common way a capable model fails in everyday use, and the main reason to treat any unsourced factual claim from an AI with care.