Large language models are perhaps the biggest technological revolution of the past decade. They have completely altered the way humans interact with machines, enabling seamless, human-like conversations with machines. These technological marvels have also performed exceedingly well in different domains, including language, math, the understanding of scientific concepts, and fluent, coherent text generation.
However, despite their numerous perks, LLMs have one significant limitation: hallucination. Hallucinations in large language models negatively impact their reliability and subsequent adoption in real-world use-case scenarios that require accuracy and dependability.
This article will delve into the intricacies of LLM hallucinations, evaluating everything from what they are, what causes them, and the necessary measures that can be undertaken to reduce or even eliminate hallucinations in large language models.
KEY TAKEAWAYS
Hallucinations in large language models can be described as a phenomenon in which a model perceives patterns or objects that are nonexistent to human observers, causing it to generate responses that seem syntactically sound, natural, and fluent but are, in fact, factually incorrect and nonsensical, or unrelated to the provided source input.
For a more formal reference point, the U.S. National Institute of Standards and Technology (NIST) describes this phenomenon — which it terms “confabulation” — as occurring when GenAI systems generate and confidently present erroneous or false content in response to prompts. NIST notes that the real-world risk escalates specifically when users believe, share, or act on this false information without verification.
Generative AI models work by analyzing a user’s request and then generating a response that appropriately addresses the prompt. This can be anything from generating text, answering a question, or, in the case of multimodal models like the Gemini models, analyzing an image.
However, Large Language Models are sometimes prone to producing outputs that are not necessarily based on their training data, don’t follow an identifiable pattern, or are incorrectly decoded by transformers, thereby ‘hallucinating’ a response.
Given these facts, it’s evident that machines can, in fact, hallucinate much like humans. Like with humans, it is necessary to address the issue of hallucinations in language models, as they can have drastic consequences like violations of privacy and spreading misinformation.
Model hallucinations can also have significant implications for real-world applications. For instance, a generative AI model employed in the healthcare sector can incorrectly identify a benign lesion as malignant, consequently leading to unnecessary medical intervention.
There’s also the broader problem of misinformation to consider. As we live in a digital world where everything is connected and people get most of their information online, a generative AI model tasked with relaying emergency information could, in principle, cause confusion as a result of hallucination — though it’s worth noting that researchers are divided on how severe this risk actually is in practice.
Some argue that established institutions like fact-checkers and professional editorial norms substantially limit the real-world spread of AI-generated misinformation, while others remain more cautious. Either way, a hallucinating model may disseminate information that hasn’t been fact-checked, which is reason enough to build in verification steps before AI-generated content reaches an audience relying on its accuracy.
AI models are also quite susceptible to adversarial attacks. In a typical adversarial attack, bad actors can manipulate the model’s output by making changes in the input data. For instance, an adversarial attack targeting an image recognition task might involve adding some specially curated ‘noise’ to an image, causing an AI model to misclassify it.
Such a scenario could raise a lot of security concerns, particularly in sensitive areas like autonomous vehicles and cybersecurity technologies.
That said, hallucinations in language models aren’t always undesirable. Hallucinations could sometimes come in handy in certain use cases, such as creative writing tasks. In this case, a model hallucinating when writing a movie plot can cause it to come up with an interesting story.
This means that while model hallucinations present significant challenges that could lead to potentially catastrophic results, the level of risk associated with each hallucination is ultimately application-dependent.
Read More
Learn more about LLM use cases: Integrating the LLM into company infrastructure to improve internal workflows.
There are different types of hallucinations in large language models, each with its unique set of characteristics and implications. In that regard, there are two main types of LLM hallucinations: intrinsic and extrinsic.
Put plainly, the generated output can neither be contradicted nor supported by the source. Hallucinations in language models can be further categorized into factuality and faithfulness hallucinations.
As the name suggests, factuality hallucinations occur when an AI model generates factually incorrect information. For example, a model may claim that whales lay eggs, which is factually incorrect.
Factuality hallucination is typically caused by a model’s limited contextual understanding and errors or inherent noise in its training data, which can lead to responses that are not factually correct.
Faithfulness hallucination occurs when the model produces unfaithful content or generates an output that is inconsistent with the provided source content.
For instance, in the context of text summarization, a hallucinating model would generate an output that is not consistent with the information contained in the original document. I.e., if the original document states that the FDA approved the first Ebola vaccine in 2019, a hallucinating model would claim that it rejected it (intrinsic hallucination) or that China just tested a COVID-19 vaccine (extrinsic hallucination).
Faithfulness hallucination can be further categorized into three types:
LLM technology, despite the major strides it has taken over the past few years, is still in its infancy. As such, researchers and developers are still trying to figure out what causes some of the problems associated with the technology and ways to mitigate them.
That said, there is an ongoing thread of research specifically aimed at studying the various causes of this phenomenon. Findings suggest that large language model hallucination is a multifaceted issue that emanates from various aspects of model development and deployment.
In that regard, some of the most notable causes of hallucinations in LLMs include:
One of the most significant contributors to LLM hallucinations is the nature of the data employed during model training and development. LLMs, including popular models like ChatGPT and Google’s Gemini, undergo extensive unsupervised training with massive, diverse datasets.
Most of this data comes from unverifiable sources like web documents, which can make it difficult to verify the data’s unbiasedness, factual accuracy, and correctness. When language models learn from and incorporate this data into their architecture, they’re susceptible to picking up and replicating the factual inaccuracies and biases within the training data.
Ultimately, this leads to scenarios in which the model is unable to distinguish between what’s true and what’s not, causing it to generate outputs that deviate from logical reasoning and factual facts.
This issue is most common in models trained with internet-sourced datasets, which may include incorrect or biased information. For instance, Google Bard generated an incorrect response when asked about the James Webb telescope, indicating how overreliance on flawed data can lead to inconsistencies and incorrectness in generated content.
The inference stage is a crucial step in LLM development. It is where the capabilities learned during training are put to work to ensure that the model can effectively generate relevant outputs based on the users’ prompts.
Unfortunately, this stage is hindered by various complex factors that could cause the model to hallucinate. This includes everything from the inherent randomness in sampling methods and decoding strategies used by the model.
Flaws in the model architecture and suboptimal training objectives can also contribute to model hallucination. Everything from misaligned training objectives to architectural flaws can cause the model to generate content that does not align with its intended purpose. The former can also cause the model to generate nonsensical or factually incorrect content.
Training a language model with a source-reference divergence can cause it to generate content that is not necessarily grounded or faithful to the given source. Source reference divergence can happen intentionally or unintentionally.
Intentional source-reference divergence is typically employed when developers want diversity in the generated output. In such cases, developers fail to align information with the source and target, thus causing a divergence.
Conversely, unintentional source-reference divergence occurs when the data is heuristically created from diverse sources. For instance, a divergence can occur when the reference contains information that is not present in the source, such as using a news incident from two different sources as a source-reference pair.
The teacher-forced maximum likelihood estimation (MLE) method is one of the most common methods applied when training LLMs. In the MLE method, the decoder predicts the next token based on the ground-truth prefix sequences.
But during the inference stage, the model predicts the next token based on historical sequences generated by the model itself. This leads to various discrepancies, which could cause the model to hallucinate, especially when dealing with long sequences.
There’s also the issue of training models to represent the statistical connections between subword tokens. Models trained like this only acquire a limited capability to generate factually accurate outputs. This is very common in the GPT-3 model, which may generate inaccurate outputs when prompted with complex queries.
Large language model hallucinations are directly tied to the methods employed during development and deployment. As such, the most effective way to reduce them is by eliminating the factors that cause them in the first place.
In that regard, here are some of the most effective ways to reduce the occurrence of hallucinations in LLMs:
Certain data-related concerns contributing to large language model hallucinations can be effectively addressed. While it may take significant time and effort, creating a high-quality, noise-free dataset could help minimize output bias and give the model a better understanding of its task, ultimately causing it to generate more reliable outputs.
Hallucinations are more common in general generative AI models compared to domain-specific models. The reasoning behind this notion is pretty straightforward – a model without clearly defined responsibilities is more prone to generating irrelevant, hallucinatory results.
Therefore, it is advisable to establish and define the model’s responsibilities and limitations. This will allow the model to focus primarily on its intended purpose and limit the generation of irrelevant outputs.
Some generative AI models hallucinate because they lack effective constraints that limit the number of possible outcomes. To curb this issue, developers can use filtering tools and add probabilistic thresholds to improve the model’s overall consistency and improve the accuracy of generated responses.
Reducing hallucinations at the model level is only part of the picture. Deploying generative AI securely in production also requires safeguards that operate around the model itself:
None of these measures eliminate hallucination risk entirely, but combined, they shift generative AI deployment from “hope the model is right” to a system with checks at multiple points. Addepto’s Generative AI Consulting services can help assess which of these safeguards make sense for a specific use case and risk profile.
One of the most notable research-based methods applied to the mitigation of hallucinations by LLMs is the Knowledge Graph-based Retrofitting (KGR) method. The method incorporates LLMs with knowledge graphs, effectively addressing factual hallucinations.
By combining LLMs with knowledge graphs, you can retrofit the initial draft responses produced by the LLM with factual knowledge stored in knowledge graphs.
In addition to addressing model hallucination issues, combining the two technologies can help you leverage them more effectively. In a nutshell, the knowledge graph utilizes the LLM’s capability to automatically extract, validate, select, and retrofit factual statements in model-generated responses, thus effectively reducing the need for human intervention.
Read More
See how Addepto’s ContextClue platform applies this kind of grounded, knowledge-based approach.
Hallucinations in generative AI models are some of the biggest issues facing effective AI utilization in real-world applications. Despite the numerous possibilities for generative AI utilization in various sectors, including the medical sector and autonomous vehicle technology, the mere fact that their responses cannot be fully relied upon in sensitive tasks significantly reduces AI model utilization.
However, by carefully evaluating the causes of hallucinations in LLMs and addressing them effectively, developers can minimize the occurrence of hallucinations, thus making generative AI models more dependable.
Talk to Addepto about deploying generative AI securely.
References
This article was updated on Aug 19, 2026. Changes included: adding NIST’s official definition of AI “confabulation” (hallucination); substantially expanding the “reduce hallucinations” section with concrete, verified secure-deployment strategies (RAG, guardrails, human-in-the-loop review, monitoring, agent permission limits) to match the article’s title; adding a more recent (2025) academic survey alongside the original 2023 citation; and adding a Key Takeaways summary and an FAQ section to make the article’s core points and answers easier to scan.
Category:
Discover how AI turns CAD files, ERP data, and planning exports into structured knowledge graphs-ready for queries in engineering and digital twin operations.