Abstract
In contemporary AI discourse, "hallucinations" are frequently characterized as system failures or glitches. This paper challenges that narrative by reframing these occurrences as the successful execution of a Large Language Model's (LLM) core mathematical function: extrapolation. By tracing the historical genealogy of predictive modeling from Norbert Wiener’s WWII-era missile guidance research to modern deep learning, this analysis argues that the ability to generate novel—and sometimes factually incorrect—text is not a malfunction, but a fundamental requirement for the creativity and utility of generative AI.
Introduction: The "Hallucination" Misnomer
The AI community and the general public often pathologize LLM errors as "hallucinations," a term that implies a departure from a healthy state of operation. However, this terminology obscures the underlying mathematical reality of how these models function. This paper addresses the gap between our perception of AI "intelligence" and its statistical foundations. By examining the concept of extrapolation, we can see that when an LLM fabricates a citation or invents a fact, it is working exactly as intended—applying statistical logic to predict the next most probable sequence in a high-dimensional space.
The Cybernetic Genealogy: From Ballistics to Words
The conceptual roots of the LLM lie not in linguistics, but in artillery science. In 1941, mathematician Norbert Wiener realized that a sequence of words could be treated as a "time series," mathematically indistinguishable from the collection of points representing a missile's trajectory. Predicting the next word in a sentence is functionally analogous to guiding a missile to its target based on its previous path.
This transition from "artillery science" to "communication engineering" marked a pivotal shift in the 1940s. Alongside Soviet mathematician Andrey Kolmogorov, Wiener developed the statistical framework for predicting stationary series. This "epistemological jump" allowed for the development of systems that could project future states from past data. In modern LLMs, the "target" is no longer a physical location, but a statistically plausible linguistic destination.
The Geometry of Extrapolation: The Convex Hull
To understand why LLMs "hallucinate," we must distinguish between interpolation and extrapolation using the metaphor of the "convex hull" from computational geometry.
Imagine the training data of an LLM as a set of points in a high-dimensional space. The "convex hull" is the minimal closure—effectively a mathematical dome—that contains all these points.
- Interpolation occurs when a model generates a prediction for a sample that lies inside this dome. This is generally safe and stays within the bounds of the known data.
- Extrapolation occurs when the model generates an output for a sample lying outside this hull.
Recent machine learning research (e.g., Balestriero et al., 2021) suggests that high-dimensional models almost always operate via extrapolation. Because the training data can never cover every possible linguistic combination, the model must constantly "leap" beyond its training bounds to generate responses. This leap is what allows for creativity, the avoidance of verbatim plagiarism, and the generation of poetry. However, this same leap is what produces factually incorrect but structurally sound text.
Hallucination as Functional Success
When an LLM fabricates a plausible-sounding citation—complete with a realistic author name and a pseudo-DOI—it has not "broken." Instead, it has successfully extrapolated a sequence that fits the statistical pattern of a citation. From the vantage point of the model's design, this is a successful output.
This capacity for extrapolation serves several functional purposes:
- Creativity and Novelty: For a model to be more than a database retrieval system, it must be able to generate sequences it has never seen before.
- Intentional Opacity: Extrapolation allows models to generate output without exposing specific training sources. This provides a layer of "intentional opacity" that can protect developers from copyright claims, as the output is a statistical derivation rather than a direct copy.
- Structural Fidelity: LLMs are excellent at replicating "poetic form" or "academic tone," even when they fail to replicate the underlying factual truth or emotional resonance. They prioritize the structural success of the sequence over its external validity.
Conclusion: The "Gadget" Warning
In the 1950s, Norbert Wiener warned against "gadget worshipers"—those who become so enamored with the interface of a machine that they lose sight of its underlying logic. Modern LLMs, with their fluid chatbot interfaces, are the ultimate "gadgets." By focusing on the conversational experience, we risk blinding ourselves to the statistical contrivance of the system.
Ultimately, we cannot have the creative benefits of LLMs without the inherent risk of hallucination. They are, by design, machines of extrapolation. To improve our interaction with these systems, the computer science community must integrate historical and critical interpretation into the evaluation of predictive performance. Recognizing that hallucination is a feature, not a bug, is the first step toward a more mature understanding of artificial intelligence.
Summary updated