Hallucination (artificial intelligence)
This article is about AI presenting made-up information as if it were true. For AI-induced psychosis in humans, see AI-induced psychosis. It is not to be confused with Artificial imagination.
In artificial intelligence (AI), a hallucination (also called bullshitting, confabulation, delusion, or mirage) is a response from an AI that contains false or misleading information presented as fact. The name is a loose comparison with human psychology, where a hallucination usually means seeing or hearing things that are not really there, which are called false percepts.
One example is a video of the Glenfinnan Viaduct in Scotland, made by Sora. The video wrongly shows a second track, trains running on the right instead of the left, and a second chimney on the train The Jacobite. It also has carriages of different lengths and a carriage that bends as it turns.
Chatbots that use large language models (LLMs), such as ChatGPT, may include believable but untrue details in their answers, such as fake sources. This makes it hard to find and fix errors when these systems are used in important areas like chip design, supply chain logistics, and medical diagnosis.
Some software engineers and statisticians think the term "AI hallucination" gives computers human qualities they do not have, which is why they criticize it. Symbolic artificial intelligence models usually do not produce hallucinations, unlike large language models.
Term
In computer vision, since the 2000s, hallucination has meant adding detail to an image to improve it. One example is face hallucination, which creates high-resolution face images from low-resolution ones. The term first appeared in a 1986 PhD thesis by Eric Mjolsness. A well-known face hallucination method by Simon Baker and Takeo Kanade was published in 1999. In the 2000s, hallucinations were described as a failure mode in statistical machine translation. Since the 2010s, the word has meant AI giving false or misleading outputs in tasks like machine translation and object detection. In 2015, Saurabh Gupta and Jitendra Malik found hallucinations in visual semantic role labeling tasks, and Andrej Karpathy used the word in a blog post about a recurrent neural network (RNN) language model that generated an incorrect citation link. In 2017, Google researchers used it for responses from neural machine translation (NMT) models that were unrelated to the source text. In July 2021, Meta warned that its BlenderBot 2 was prone to hallucinations, which it defined as "confident statements that are not true". After the beta release of ChatGPT by OpenAI in November 2022, users complained that these chatbots often added plausible-sounding random falsehoods. Many news outlets, including The New York Times, began using the word for these often incorrect responses. In 2023, the Cambridge dictionary added this AI meaning.
Different groups have described the term in different ways. CNBC called it "fabricating information entirely, but behaving as if spouting facts", and The Verge called it "making up information". When Nobel Prize winner David Baker was recognized for his AI-generated proteins, the Nobel committee avoided the word and spoke of "imaginative protein creation" instead. Some researchers argue that AI output is bullshit under Harry Frankfurt's definition. Critics such as Usama Fayyad, of Northeastern University, say the word personifies AI and is vague. Mary Shaw, Gary Smith, Murray Shanahan, and Emily M. Bender have raised similar concerns about human-like language for AI. Other terms that have been proposed include "mirage", as well as confabulations, fabrications, and factual errors.
In natural language generation
In natural language generation, there are several reasons why LLMs hallucinate. Generative pretrained transformers (GPT) are trained by predicting the next word, which encourages them to "give a guess" even when they lack information. Hallucinations can also come from incomplete, inaccurate or unrepresentative data, and they often repeat common misconceptions, conspiracy theories, and stories from fiction treated as fact. Training a chatbot to be friendlier tends to reduce accuracy, because it is more likely to agree with the user. Some researchers suggest hallucinations come from a tension between novelty and usefulness, similar to how Amabile and Pratt define human creativity as novel and useful ideas. In 2025, interpretability research by Anthropic on Claude found that the LLM has internal circuits that make it decline to answer unless it knows the answer. Hallucinations occur when these circuits switch off by mistake, such as when Claude recognizes a name but lacks enough information about that person, so it produces plausible but untrue answers.
In November 2022, researchers from Meta AI published Galactica, designed to "store, combine and reason about scientific knowledge", but Meta withdrew it on 17 November due to offensiveness and inaccuracy. OpenAI's ChatGPT, based on the foundation model GPT-3.5, was released to the public in beta on 30 November 2022. Wharton professor Ethan Mollick called it an "omniscient, eager-to-please intern who sometimes lies to you", and Oren Etzioni and others have noted that such software can give "a very impressive-sounding answer that's just dead wrong". When CNBC asked for the lyrics to "Ballad of Dwight Fry", ChatGPT invented lyrics, and it wrongly described Samantha Bee, who was born in Toronto, as a "person from New Brunswick". Other examples include ChatGPT making up a book by Harold Coward and claiming that dinosaurs made art, as well as a claim that churros could be used as surgical tools in a study published in Science. By 2023, analysts saw frequent hallucination as a major problem, and a Google Gemini executive called reducing it a "fundamental" task. In 2024, Air Canada-related cases and a Deloitte report also contained false information, and a Moffatt v. Air Canada ruling ordered the airline to honor a bereavement fare policy its chatbot had made up.
In other modalities
Various researchers cited by Wired have described adversarial hallucinations as a high-dimensional statistical phenomenon, or have linked hallucinations to too little training data. Some researchers believe that some "incorrect" answers from object detection systems, which people label as hallucinations, may actually be justified by the training data. Others suggest the AI may be giving the "correct" answer that human reviewers fail to see. For example, an adversarial image that looks like an ordinary dog to a person may contain tiny patterns that, in real pictures, would only appear when viewing a cat. The AI is detecting real visual patterns that humans cannot notice. The following images show how an artificial neural network might make a false positive result in object detection, which could appear as a hallucination in the output:
In reality, such textures and outlines would not be represented by single nodes, but rather by associated weight patterns of multiple nodes.
Wired noted in 2018 that, although no attacks had been recorded "in the wild" (outside of proof-of-concept attacks by researchers), there was "little dispute" that consumer gadgets and systems such as automated driving were open to adversarial attacks that could make AI hallucinate. Other researchers have challenged these findings. Text-to-image models, such as Stable Diffusion, Midjourney and others, often produce inaccurate or unexpected results. For instance, Gemini depicted Nazi German soldiers as people of color, which caused controversy and led Google to pause image generation involving people in Gemini. Luther (2025) describes instances in which generative AI tools used in photo sleuthing incorrectly identified individuals or made up historical matches when analyzing archival military images. These image-based hallucinations can spread misinformation about historical figures, military records, and genealogical research. Google Cloud Vision was also reported to identify an image of two men on skis as 91% likely to be "a dog."
In legal filings
In May 2026, Fortune reported that judges had been issuing penalties and bar associations had been issuing warnings. Lawyers in courts across the United States had been caught submitting papers that cited cases that never existed. Law firms began using Generative AI for legal research in the 2020s, and many court filings then contained hallucinations, which are false details presented as true. A database called "AI Hallucination Cases," started in April 2025 by HEC Paris and Sciences Po lecturer Damien Charlotin, listed over 1300 cases one year later. In May 2023, lawyer Stephen Schwartz was found to have submitted six fake case precedents made by ChatGPT in his brief for Mata v. Avianca, Inc., a personal injury case against an airline. Judge Brantley Starr of the Northern District of Texas then banned AI-written filings that a person had not checked, noting that AI tools are prone to hallucinations and bias. Judge P. Kevin Castel dismissed the case and fined Schwartz and another lawyer $5,000 for bad faith conduct.
In May 2025, pro se plaintiff Ashley Gjøvik, who has a Juris Doctor from Santa Clara University School of Law, was warned by Judge Edward Chen in the U.S. District Court for the Northern District of California about AI hallucinations in her case against Apple Inc.. The American Bar Association also discussed the case. In 2026, a lawyer at Sullivan & Cromwell apologized to the U.S. Bankruptcy Court for the Southern District of New York after Boies Schiller Flexner found hallucinated citations in the opposing team's papers. Canadian courts had received at least 167 filings with AI-made fake citations as of 14 June 2026. In Israel, at least 55 cases had been identified as of August 2026. In England and Wales, the High Court of Justice criticised AI-generated arguments with false sources in Ayinde v Haringey and Al-Haroun v Qatar. The First-tier Tribunal, the Upper Tribunal, and legal groups such as the Solicitors Regulation Authority, the Law Society of England and Wales, and the Bar Council have also dealt with or issued guidance on AI use.
In scientific research
Researchers have found many cases where AI language models gave sources that were wrong or did not exist. In a 2023 study in the Cureus Journal of Medical Science, 69 of 178 references cited by GPT-3 had an incorrect or nonexistent digital object identifier (DOI), and another 28 could not be found in a Google search. In 2023, Jerome Goddard from Mississippi State University found that ChatGPT gave questionable information about ticks. When he checked the source, the DOI and author names had been made up, and some named authors said they did not know the paper existed. Goddard warned that doctors and researchers should not ask ChatGPT for sources, and if they do, they should check every reference carefully. ChatGPT also got details from real references wrong and sometimes repeated its mistakes, giving more misleading information. Articles made by language models are also hard to tell apart from real ones. In one test, researchers at the Northwestern University of Chicago created 50 abstracts based on existing reports, and plagiarism detectors rated them 100% original. Research scientists identified them correctly only 68% of the time.
Some made-up phrases, such as "vegetative electron microscopy," appeared in nearly two dozen research papers, including one from an Elsevier editor, after becoming part of AI training data. Some people say these events are more like "fabrications" and "falsifications," and that they put the integrity of research at risk. Still, hallucinations have also helped science. At the University of Washington, David Baker's lab used AI hallucinations to design millions of proteins that do not occur in nature. This work led to roughly 100 patents and over 20 biotech companies, and it contributed to Baker receiving the 2024 Nobel Prize in Chemistry. At California Institute of Technology, researchers used hallucinations to design a catheter that may reduce bacterial contamination. Anima Anandkumar, a professor at Caltech, said these AI models are "taught physics" and their outputs must be tested. At Memorial Sloan Kettering Cancer Center, researchers used hallucinatory techniques to enhance blurry medical images, and the University of Texas at Austin used them to improve robot navigation. When guided by scientific methods, hallucinations can speed up discovery.
Consequences in education
AI hallucinations can affect education. More students are using AI tools like Grammarly for help with research or writing, or generative AI programs like ChatGPT. This has raised concern about academic integrity in submitted work, and hallucinations can cause students to learn incorrect information.
A 2024 study at the University of Mississippi found that many citations students submitted were partly or completely made up. About 47% of these sources had wrong titles, dates, authors, or a mix of these errors, so teachers and librarians must check citations by hand more often. The Journal of Cranio-Maxillofacial Surgery notes this risk in medicine and surgery. It says academic publishers have noticed the problem, and some journals, such as JAMA, changed their policies to discourage AI-generated citations. The journal adds that a policy alone will not be enough, so automatic citation-checking tools and AI literacy training should also be used. Teachers may also use tools like Turnitin to check for copied work, but these tools have sometimes flagged papers that did not use AI. OpenAI also found its own AI detection software was not accurate enough, so the company shut it down.
Mitigation methods
As of 2025, researchers are still working to reduce hallucinations. Research in 2022 showed that language models not only hallucinate but can also make hallucinations worse, even models designed to fix this problem. Researchers at OpenAI wrote that hallucinations happen because training and testing reward guessing instead of admitting uncertainty, and they suggested changing how benchmarks are scored. Other ideas include having chatbots debate one another until they agree on an answer, and neuro-symbolic designs that use formal knowledge bases and inference engines. Ji et al. group common methods into two types: those that focus on data, and those that focus on how models are built, trained, and checked after they answer.
Some methods change the training process, for example by using reinforcement learning. Nvidia Guardrails, launched in 2023, can be set up to hard-code certain answers instead of leaving them to the chatbot. Checking several possible answers and their confidence scores could also help, but this would make computers work harder, and active learning would add even more cost. In serious fields like chip design, supply chain logistics, and medical diagnosis, these costs may be needed. In ordinary chatbots, however, customers tend to prefer quick, confident answers over careful ones that admit uncertainty. Many modern chatbots use retrieval-augmented generation, which lets them look at outside sources before giving information, and this reduces hallucinations.

Quiz time!
5 questions about Hallucination (artificial intelligence)
What is an AI hallucination?
Pictures
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Hallucination (artificial intelligence), available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.