A Unified Definition of Hallucination, Or: It's the World Model, Stupid

Emmy Liu, Varun Gangal, Chelsea Zou, Xiaoqi Huang, Michael Yu, Alex Chang, Zhuofu Tao, Sachin Kumar, Steven Y. Feng · DOI

Abstract

Large Language Models (LLMs) frequently generate outputs that are factually incorrect or ungrounded, a phenomenon colloquially termed "hallucination." However, the research community lacks a consistent, formal definition, leading to fragmented evaluation metrics and mitigation strategies. This paper proposes a unified framework that defines hallucination as inaccurate internal world modeling observable to the user. By decomposing the problem into a triplet consisting of a reference world ($W$), a view function ($V$), and a conflict policy ($P$), we provide a rigorous method to distinguish hallucinations from other errors across diverse tasks such as summarization, Retrieval-Augmented Generation (RAG), and agentic navigation.

Introduction: The Definition Crisis

The term "hallucination" has become a ubiquitous catch-all for any instance where an LLM produces an error. However, this linguistic convenience masks a deep technical fragmentation. For a researcher focused on summarization, a "hallucination" might be a factually true statement that simply wasn't present in the source text (an extrinsic hallucination). Conversely, an open-domain QA researcher would view that same statement as a success.

This lack of a shared vocabulary makes it nearly impossible to compare mitigation strategies across different domains. Without a unified definition, we cannot determine if a technique that "reduces hallucinations by 40%" in one context is measuring the same phenomenon in another. To move forward, the field requires a structural understanding of how models represent reality, shifting the focus from surface-level text errors to the underlying world models.

A Formal Framework for Hallucination

We propose a formal framework where hallucination is defined by the interaction of three core components:

  1. Reference World Model ($W$): This is the formal representation of what is "objectively true" in a given context. It includes possible world states ($S$), interaction histories ($H$), and the rules governing transitions ($R$). For example, in a game of Chess, $W$ consists of the current board state and the legal moves defined by the rules.
  2. View Function ($V$): This specifies the portion of the world the model can actually observe. It maps the world state and history to the specific inputs provided to the model, such as a prompt or a set of retrieved document snippets.
  3. Conflict Resolution Policy ($P$): This determines how the model should reconcile contradictory information. For instance, a policy might dictate that information in a retrieved document should override the model's internal parametric memory.
The formal framework for defining hallucination using a reference world model, view function, and conflict policy.

Under this framework, a model is said to hallucinate if its output implies a claim that is false according to the reference world model and the specified conflict policy. This definition allows us to map existing, disparate concepts—like "intrinsic" vs. "extrinsic" hallucinations—into a single, coherent structure.

Case Study: The Synthetic World of Chess

To demonstrate the utility of this framework, we utilize Chess as a primary case study. Chess provides a "perfect" world model where the rules and states are mathematically verifiable. By using a synthetic environment, we can automatically generate thousands of test cases where "truth" is programmatically accessible.

In this setup, the "World Model" is the current board state and the rules of chess. We can then test the model's internal representation by asking questions like "Can White capture the rook on h8?" or "Does Black have a mate in one?" If the model claims a move is legal when it is not, it is operating on a faulty internal world model—a clear hallucination. This approach removes the need for expensive human or LLM-based evaluation, enabling large-scale, automated testing "by construction."

Unifying Disparate Domains

The power of the $(W, V, P)$ framework lies in its ability to unify diverse NLP tasks that were previously treated as separate problems. By defining the specific world, view, and policy for each task, we can categorize hallucinations consistently.

Mapping common NLP tasks into the unified (W, V, P) framework.
  • Summarization: The reference world $W$ is the source document. A hallucination occurs when the model generates a claim that contradicts or is unsupported by that source.
  • Open-domain QA: The reference world $W$ is the set of real-world facts. Hallucination is defined as a factual error relative to the truth.
  • Retrieval-Augmented Generation (RAG): The reference world $W$ is the retrieval corpus combined with world knowledge. The conflict policy $P$ typically dictates that retrieved documents override internal memory. A hallucination is a failure to ground the response in the provided context.
  • Agentic Navigation: The reference world $W$ is the environment state (e.g., a web page DOM). A hallucination occurs when the model assumes the existence of a state or element (like a button) that does not exist in the actual environment.

Key Insights: Hallucination vs. Reasoning

A critical distinction enabled by this framework is the separation of hallucination from other types of errors. For example, a planning error occurs when a model has an accurate internal world model but chooses a suboptimal action. An instruction-following error occurs when the model knows the state of the world but ignores the user's goal. By focusing on the implied world assumed by the model's output, we can isolate errors in world modeling from errors in logic or strategy.

Furthermore, many disagreements in hallucination research stem from unstated conflict policies. If a model's training data contains one fact and a retrieved document contains another, whether the model "hallucinates" depends entirely on the policy. Explicitly defining these policies is essential for reproducible research.

Conclusion and Future Directions

Defining hallucination as a failure of world modeling provides a rigorous path forward for the field. While synthetic worlds like Chess offer a clear starting point, mapping this framework to the complexities of the real world remains a significant challenge.

Future work will focus on testing models under complex, dynamic policies—such as requiring models to ignore training data older than a certain date—and building richer synthetic environments. Moving beyond simple games to versioned codebases, enterprise logs, and multi-modal simulators will allow us to stress-test the limits of LLM world modeling in increasingly realistic scenarios.

Summary updated

BibTeX
@inproceedings{liu2026unified,
  author = {Emmy Liu and Varun Gangal and Chelsea Zou and Xiaoqi Huang and Michael Yu and Alex Chang and Zhuofu Tao and Sachin Kumar and Steven Y. Feng},
  title = {{A Unified Definition of Hallucination, Or: It's the World Model, Stupid}},
  booktitle = {Reliable Autonomy @ ICLR},
  year = {2026},
  url = {https://openreview.net/forum?id=QlfEbJW2gL},
}
Figure