The AI-powered Entity Audit
- Claude as Your Entity Analyst
- Practical: Claude as Your Entity Analyst, Step by Step in the Browser Tool
Generative AI & LLMs
In shortWhen a generative AI model produces content that sounds plausible but is false, unsupported by its sources, or invented outright.
An AI hallucination is output from a generative model that is presented confidently but is wrong, made up, or not supported by the input it was given. A large language model might invent a statistic, a citation, a product feature or an entity that never appears in the text it was asked to analyse.
LLMs generate text by predicting likely next tokens. They are optimised to produce fluent, plausible language and have no built-in step that checks facts against a source of truth. Research from OpenAI in 2025 argues that training and benchmark scoring also reward guessing over admitting uncertainty, so models learn to answer confidently when they should say “I don’t know”. Hallucinations become more likely when the model lacks the relevant information, when the prompt is ambiguous, or when the input is truncated, for example when a page is too long for the model’s context window.
Common mitigations are grounding the model in retrieved documents (RAG), structured sources such as knowledge graphs, tighter prompts that tell the model to use only the supplied text, and checks that match outputs back to the source.
Hallucination matters in two directions:
In MLforSEO’s comparison of NLP APIs and generative AI for entity extraction, some chatbots returned entities not found verbatim in the text and expanded acronyms on their own. In a workflow that matches entities back to pages, an entity that is not in the text is a hallucination, however plausible it sounds. The purpose-built NLP APIs made different mistakes, but did not invent entities.