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 an answer from an AI that contains false or misleading information presented as fact. The name is a loose comparison with human minds. For people, a hallucination usually means seeing or hearing things that are not really there. These are called false percepts.
One example is a video of the Glenfinnan Viaduct in Scotland, made by Sora. The video shows some things that are not true. It has a second track that is not real. Trains are running on the right instead of the left. The train The Jacobite has an extra chimney. Some carriages are different lengths, and one carriage bends as it turns.
Chatbots that use large language models (LLMs), such as ChatGPT, can say things that sound believable but are not true. For example, they may make up sources. This makes mistakes hard to find and fix. This matters when these systems are used in important areas like chip design, supply chain logistics, and medical diagnosis.
Some software engineers and statisticians do not like the term "AI hallucination." They think it makes computers seem to have human qualities they do not have. 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 make it better. One example is face hallucination, which creates clear, high-resolution face pictures from blurry, 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 problem in statistical machine translation. Since the 2010s, the word has meant AI giving false or misleading answers in tasks like machine translation and object detection. In 2015, Saurabh Gupta and Jitendra Malik found hallucinations in visual semantic role labeling tasks. Andrej Karpathy used the word in a blog post about a recurrent neural network (RNN) language model that made up an incorrect citation link. In 2017, Google researchers used it for responses from neural machine translation (NMT) models that had nothing to do with the original text. In July 2021, Meta warned that its BlenderBot 2 could hallucinate, which it described as "confident statements that are not true". After the beta release of ChatGPT by OpenAI in November 2022, users said these chatbots often added believable-sounding made-up facts. Many news outlets, including The New York Times, began using the word for these often incorrect answers. 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 makes AI seem like a person and is not clear. 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 suggested include "mirage", as well as confabulations, fabrications, and factual errors.
In natural language generation
In natural language generation, LLMs can make things up for several reasons. Generative pretrained transformers (GPT) learn by guessing the next word, so they often "give a guess" even when they do not know the answer. Hallucinations can also come from data that is incomplete, inaccurate, or not representative. They often repeat common misconceptions, conspiracy theories, and stories from fiction as if they were true. Training a chatbot to be friendlier can make it less accurate, because it becomes more likely to agree with the user. Some researchers think hallucinations come from a balance between novelty and usefulness. This is similar to how Amabile and Pratt describe human creativity as ideas that are new and useful. In 2025, interpretability research by Anthropic on Claude found that the LLM has inner parts that make it refuse to answer unless it knows the answer. Hallucinations happen when these parts switch off by mistake. For example, Claude might recognize a name but not know enough about that person, so it gives an answer that sounds right but is not true.
In November 2022, researchers from Meta AI released Galactica. It was meant to "store, combine and reason about scientific knowledge." Meta took it down on 17 November because it gave offensive and inaccurate answers. 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." Oren Etzioni and others have said that this kind of 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 made up lyrics. It also wrongly said that Samantha Bee, who was born in Toronto, was a "person from New Brunswick." ChatGPT has also made up a book by Harold Coward and said that dinosaurs made art. In another case, a study published in Science claimed that churros could be used as surgical tools. By 2023, many experts saw hallucinations as a big problem. A Google Gemini executive said that reducing them was a "fundamental" task. In 2024, there were cases involving Air Canada and a Deloitte report that also contained false information. In a Moffatt v. Air Canada ruling, the airline was ordered to honor a bereavement fare policy that its chatbot had made up.
In other modalities
Some researchers, cited by Wired, say that adversarial hallucinations are a complex pattern in data. Others think they happen when there is not enough training data. Some researchers believe that some "wrong" answers from object detection systems may actually make sense based on the training data. Others suggest the AI may be giving the "right" answer that human reviewers cannot see. For example, an 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 noticing real visual patterns that people cannot see. 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 stored in single nodes. Instead, they would be stored in patterns of weights across many nodes.
In 2018, Wired noted that no attacks had been recorded "in the wild," outside of proof-of-concept tests by researchers. Still, there was "little dispute" that consumer devices and systems such as automated driving could be affected by adversarial attacks that make AI hallucinate. Other researchers have questioned these findings. Text-to-image models, such as Stable Diffusion, Midjourney and others, often produce results that are inaccurate or unexpected. For instance, Gemini showed Nazi German soldiers as people of color. This caused controversy, and Google paused image generation involving people in Gemini. Luther (2025) describes cases where AI tools used to identify people in old photos gave wrong identifications or made up historical matches in military images. These image-based hallucinations can spread misinformation about historical people, military records, and family history research. Google Cloud Vision was also reported to say that an image of two men on skis was 91% likely to be "a dog."
In legal filings
In May 2026, Fortune reported that some judges had given penalties, and some bar associations had issued warnings. In courts across the United States, lawyers were caught filing papers that mentioned court cases that did not exist. Law firms began using Generative AI for legal research in the 2020s. Many court filings then included hallucinations, which are false details presented as true. A database called "AI Hallucination Cases" was started in April 2025 by HEC Paris and Sciences Po lecturer Damien Charlotin. One year later, it listed over 1,300 cases.
In May 2023, a lawyer named Stephen Schwartz was found to have included six fake case examples made by ChatGPT in his brief for Mata v. Avianca, Inc.. That was a personal injury case against an airline. Judge Brantley Starr of the Northern District of Texas then said that lawyers must check any filing written by AI. He explained that AI tools can make up false information and can also have bias dismissed the case. He also fined Schwartz and another lawyer $5,000 for bad faith behavior.
In May 2025, pro se plaintiff Ashley Gjøvik was warned about AI hallucinations in her case against Apple Inc.. Gjøvik, who has a Juris Doctor from Santa Clara University School of Law, represented herself. Judge Edward Chen of the U.S. District Court for the Northern District of California gave the warning. 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. This happened after Boies Schiller Flexner found made-up citations in the other team's papers.
Courts in other countries have also seen this problem. 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 found as of August 2026. In England and Wales, the High Court of Justice criticized AI-generated arguments that used 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 AI use or shared guidance about it.
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, many of the references cited by GPT-3 had a wrong or missing digital object identifier (DOI). Many others 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. Some named authors said they did not know the paper existed. Goddard warned that doctors and researchers should not ask ChatGPT for sources. If they do, they should check every reference carefully. ChatGPT also got details from real references wrong. Sometimes it repeated its mistakes, which spread more misleading information. Articles made by language models can also be hard to tell apart from real ones. In one test, researchers at the Northwestern University of Chicago created 50 abstracts based on existing reports. Plagiarism detectors rated them 100% original. Research scientists identified them correctly only about two times out of three.
Some made-up phrases, such as "vegetative electron microscopy," ended up in several research papers, including one written by an Elsevier editor. This happened after the phrases became 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 many proteins that do not occur in nature. This work led to about 100 patents and over 20 biotech companies. It also helped Baker receive 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 that their outputs must be tested. At Memorial Sloan Kettering Cancer Center, researchers used hallucinatory techniques to make blurry medical images clearer. 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 now use AI tools like Grammarly to help with research or writing, or generative AI programs like ChatGPT. This has raised concern about academic integrity in schoolwork, and hallucinations can cause students to learn wrong information.
A 2024 study at the University of Mississippi found that many citations students turned in were partly or completely made up. Nearly half of these sources had wrong titles, dates, authors, or a mix of these errors. Because of this, teachers and librarians need to check citations by hand more often. The Journal of Cranio-Maxillofacial Surgery points out this risk in medicine and surgery. It says academic publishers have noticed the problem. Some journals, such as JAMA, changed their rules to discourage AI-generated citations. The journal adds that rules alone will not be enough. 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 that 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. A 2022 study found that language models can make hallucinations worse, even models that were designed to fix this problem. Researchers at OpenAI wrote that hallucinations happen because training and testing reward guessing instead of saying "I'm not sure." They suggested changing how tests are scored. Other ideas include having chatbots debate each other until they agree on an answer, and neuro-symbolic designs that use organized facts in knowledge bases and inference engines. Ji and colleagues sorted common methods into two groups: 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, they use reinforcement learning. Nvidia Guardrails, released in 2023, can be set up to hard-code certain answers so the chatbot does not make them up. Checking several possible answers and how confident the computer is about each one could also help. However, this makes computers work harder, and active learning adds even more cost. In serious fields like chip design, supply chain logistics, and medical diagnosis, these costs may be worth it. In ordinary chatbots, people often prefer quick, confident answers over careful ones that admit uncertainty. Many modern chatbots use retrieval-augmented generation, which lets them check outside sources before they give information. This helps reduce hallucinations.

Quiz time!
4 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.
