An AI hallucination is output from an AI model, usually a language model, that sounds plausible and confident but is false, unsupported by its sources or entirely made up.

Definition
Hallucination is the term for an AI system stating something that is not true as if it were fact: inventing a citation, misquoting a policy, giving a wrong figure, describing a product feature that does not exist or summarizing a document with details it never contained. The output is usually fluent and well-formatted, which is what makes it dangerous. Nothing in the text signals that the model is guessing.
Hallucinations happen because language models generate the most plausible continuation of text, not a verified answer. They have no built-in fact database and no automatic sense of what they do not know. Gaps in training data, ambiguous questions, instructions that pressure the model to always give an answer and retrieved context that is irrelevant or contradictory all increase the risk. Hallucinations cannot currently be eliminated entirely, so reliable AI products are designed to make them rare, detectable and low in consequence.

How it works
A language model predicts each next token from patterns learned in training. When the answer is well represented in that training and clear from the prompt, the most plausible continuation is usually correct. When it is not, such as a niche fact, a recent event, a private document or a precise number, the model still produces the most plausible-looking text, which can be wrong. Asking for specifics like citations, quotes or exact values makes this more likely.
The strongest defense is grounding. Retrieval-augmented generation puts relevant, trusted passages in the prompt, and instructions tell the model to answer only from them, to cite them and to say clearly when the information is missing. Narrowing the task, using structured output, lowering the randomness of generation and splitting complex questions into smaller steps also help.
Detection is the second layer. Automated checks can verify that each claim is supported by the retrieved sources, that cited documents exist and that numbers match a system of record. Evaluation sets with known answers track hallucination rates as prompts and models change. For high-stakes outputs, such as legal, medical or financial content, human review before anything reaches a customer remains the reliable safeguard.
Keep learning
Put it into practice
AI consulting, LLM and generative AI applications, NLP and AI integration engineered into the products and systems you already run.
Explore serviceCustom AI chatbots and conversational assistants that resolve customer and employee questions using your own knowledge, systems and policies.
Explore serviceRisk assessments, security policies and compliance readiness for frameworks such as SOC 2, ISO 27001, HIPAA and PCI DSS.
Explore serviceFAQ
Not with current technology. They can be reduced substantially through grounding with retrieval, clear instructions, constrained tasks, automated verification and human review where stakes are high. The practical goal is to make hallucinations rare, easy to detect and limited in impact, and to design user experiences that show sources so people can check answers.
It can help in narrow ways, for example by teaching a model to follow a format or to decline questions outside its scope. It is not a reliable way to add facts, and a model fine-tuned on facts may still misremember them. For factual accuracy, grounding answers in retrieved, trusted sources usually does more than fine-tuning.
Build an evaluation set of realistic questions with known correct answers and supporting sources, including questions that should not be answered. Score outputs for correctness and for whether each claim is supported by the provided context, using a mix of automated checks, model-based grading and human review. Track the results over time and after every prompt or model change.
Talk to a solution architect about where it fits in your roadmap.
