Why Hallucinations Are a Shape Problem, Not Just a Truth Problem

Mark Erdmann

Hatched by Mark Erdmann

Jul 30, 2026

10 min read

88%

0

The uncomfortable question behind AI reliability

What if the real failure of a language model is not that it is sometimes wrong, but that it cannot reliably tell when the space of possible answers has the wrong shape?

That sounds abstract until you notice the pattern. A model can sound fluent, confident, and even mathematically polished while still inventing a legal precedent, fabricating a medical detail, or producing a perfectly grammatical answer that is simply not anchored in reality. The issue is not merely that it sometimes misses facts. The deeper problem is that it often treats different meanings as if they were the same route through language, then follows whichever verbal path is most statistically convenient.

This is why the familiar word hallucination is both useful and misleading. It suggests a content problem, as if the model occasionally sees ghosts. But many failures are structural. The model is not only generating false statements, it is failing to preserve the geometry of meaning under variation. If you ask the same question in ten ways, a reliable system should arrive at essentially one answer. A brittle system instead reveals a cloud of incompatible meanings, each equally easy to say.

That is the real tension: fluency does not imply stability. And without stability, you do not have reasoning in the strongest sense. You have eloquence under uncertainty.


Meaning is not a sentence, it is a region

A useful mental model is to stop thinking of an answer as a line of text and start thinking of it as a region in semantic space. There are many surface forms that express the same idea, just as there are many ways to draw the same shape. The point of understanding is not to memorize a particular wording, but to land inside the same conceptual neighborhood regardless of phrasing.

This matters because language models are trained to predict tokens, not truths. They are very good at producing the next plausible sequence, and often good enough at approximating a meaning region when the question is ordinary or common. But when the underlying structure is unfamiliar, sparse, or out of distribution, the model may not have a stable region at all. It has many possible verbal continuations, each locally plausible, but no deep constraint forcing them to collapse onto a single coherent answer.

That is where entropy becomes more than a mathematical detail. If the model gives one answer when prompted one way and a conflicting answer when prompted another way, the problem is not just noise. It is evidence that the semantic region is fragmented. In other words, the model is not merely uncertain in the human sense. It is unstable under paraphrase.

A reliable mind does not just answer. It preserves the shape of the answer when the question changes costume.

This is a stronger standard than factual correctness alone. A search engine can return the right page. A memorization system can repeat a known fact. But reasoning requires something subtler: the ability to hold an abstract structure steady across transformations. That is why the distinction between surface form and algebraic structure matters so much.


Why reasoning is harder than sounding right

When people say that a model does not really reason, they often mean something vague and philosophical. But there is a sharper version of the claim: the model does not reliably generalize structure out of distribution.

This is easiest to see in mathematics. Suppose a model learns that 2 plus 3 equals 5 and that 4 plus 5 equals 9. It may appear to know addition. But the test is not whether it repeats familiar sums. The test is whether it preserves the operation itself when the numbers, notation, or context change. Reasoning is not the ability to recall examples. It is the ability to carry the invariant forward.

That distinction extends far beyond math. In law, the structure is precedent, exception, and applicability. In medicine, it is symptom, differential diagnosis, and uncertainty. In journalism, it is source, corroboration, and attribution. A model that merely imitates the style of these domains can still fail if it cannot preserve the underlying relational structure when the question is slightly novel.

Consider a simple analogy: a tourist who has memorized five subway stations is not the same as a rider who understands the map. The memorizer can look competent until the route changes. The map user knows what stays the same when the surface changes. Reasoning lives in the map, not the station names.

This is why hallucination detection is so interesting. It does not just help us catch errors after the fact. It exposes a central limit of current models: they may generate convincing answers even when the semantic map is unstable or missing. In that sense, hallucination is not an occasional bug sitting on top of intelligence. It is a symptom of a deeper mismatch between statistical fluency and structural understanding.


At first glance, these two ideas seem separate. One is about detecting when a model is likely to confabulate. The other is about models failing to generalize algebraic structure. But together they point to a more powerful thesis:

A system cannot reason robustly unless it can recognize when its own semantic structure is underdetermined.

This is where uncertainty becomes meaningful. Not all uncertainty is equal. Sometimes a model is uncertain because the world is genuinely ambiguous. Sometimes it is uncertain because it is weakly grounded. Sometimes it is not uncertain at all, at least not in any visible way, yet its answers are secretly unstable across paraphrases. That last case is the most dangerous, because confidence and correctness have been decoupled.

Imagine a bridge designed to carry weight. A good bridge does not merely look sturdy under one load. It maintains its form across many loads, angles, and weather conditions. If a bridge flexes unpredictably, engineers care less about the exact moment it snaps than about the fact that the structure is not invariant. The same is true of reasoning systems. The question is not only, “Did it get this answer right?” The deeper question is, “Does the answer remain coherent when transformed?”

This suggests a new way to think about confidence. Instead of treating confidence as a single scalar attached to a final answer, we should think of it as a property of the equivalence class of meanings behind the answer. If a model generates many paraphrases that all point to the same stable region, confidence is meaningful. If slight changes in wording produce wildly different meaning clusters, apparent confidence is cosmetic.

This framework also explains why some model failures feel so uncanny. A response can be linguistically polished and semantically hollow, like a building facade with no supporting beams. The sentence is there. The structure is not.


A practical test: paraphrase invariance

If you want one test that captures much of this problem, use paraphrase invariance.

Ask the same question in several ways and compare not just the final words, but the meaning of the answers. If the response remains semantically stable, the model is likely operating in a coherent region. If it shifts into different factual claims, different assumptions, or different hidden premises, then the model is revealing that it does not actually possess one answer. It possesses a family of plausible continuations.

For example, ask:

  1. What causes a plane to stay in the air?
  2. Why can an airplane fly?
  3. Explain lift in simple terms.
  4. What force keeps a plane aloft?

A robust system should converge on the same causal picture, even if the wording changes. Now ask a more delicate question, such as a legal or medical one with several plausible framing choices. If the model behaves as though each framing invites a different universe of answers, that is a red flag. The issue is not only factual uncertainty. It is a failure of structure preservation.

This matters for deployment. Many teams evaluate models with a single benchmark prompt, then treat the output as representative. But a one shot test can miss the real failure mode. The better question is whether the model’s answer survives a small family of semantic transformations. That is much closer to how reasoning is actually stress tested in the real world.

The model is not reliable when it can say one thing, or another thing, or a third thing, and each answer feels locally plausible. Reliability begins when those alternatives collapse into one stable meaning.

This also gives product teams a concrete standard. Do not just measure accuracy. Measure meaning consistency across prompt variants, because inconsistency is often the earliest signal that hallucination is near.


Why this changes how we should use AI

The practical temptation is to ask for a better model, as if scale alone will solve the problem. But the deeper lesson is that we need systems and workflows that respect the limits of semantic stability.

There are two broad modes of use. In the first mode, the model is a drafting engine. It can propose, rephrase, brainstorm, and speed up thought, because the cost of occasional drift is low. In the second mode, the model is a decision support tool in domains where structural correctness matters, such as medicine, law, finance, or engineering. There, the burden is much higher. A fluent answer is not enough. We need evidence that the answer is invariant under changes in phrasing, context, and decomposition.

This means organizations should redesign their trust logic. Instead of asking, “Does the model sound confident?” ask:

  • Does it maintain the same answer across paraphrases?
  • Does it reveal instability when asked to justify the structure of its response?
  • Does it know when a question is outside its stable semantic region?
  • Can we detect when it is generating a likely confabulation before a human relies on it?

That last point is critical. The most valuable systems will not be those that never err. They will be the ones that can notice the conditions under which they are likely to err. In human terms, that is the difference between an overconfident amateur and a competent practitioner. The competent practitioner does not know everything. But they know the boundary of their competence.

For AI, this boundary awareness may matter more than raw benchmark performance. A model that says, “I am not stable on this question,” is often more useful than one that gives a polished falsehood.


Key Takeaways

  1. Do not confuse fluency with reasoning. A model can sound coherent while failing to preserve the underlying structure of a problem.
  2. Test paraphrase invariance. If a model’s answer changes meaning across rewordings, its semantic representation is unstable.
  3. Think in regions, not sentences. The goal is not a single exact wording, but a stable area of meaning that survives transformation.
  4. Use uncertainty as a structural signal. High uncertainty is not just a warning about the answer, it is often a warning about the model’s inability to maintain an invariant representation.
  5. Treat self awareness as a capability. A system that knows when it is likely to confabulate is more trustworthy than one that is merely assertive.

The real frontier is not better answers, but better invariants

The most important shift is conceptual. We have spent a lot of time asking whether language models can produce correct answers. That question is necessary, but insufficient. The deeper question is whether they can preserve the invariants that make an answer the same answer across variation.

That is what mathematics, logic, diagnosis, and legal reasoning all require. Not verbal similarity, but structural continuity. Not confidence theater, but meaning that survives pressure.

If you think about AI this way, hallucination stops looking like a random defect and starts looking like a geometric problem. The model is wandering in semantic space without enough constraint to keep its paths aligned. The challenge is not only to make the model smarter. It is to make its meanings more rigid where they need to be rigid, and more honest where they are not.

In the end, the question is not whether a model can produce a sentence that sounds right. It is whether, when you turn the sentence around, inspect it from another angle, and ask the same thing in a different voice, the underlying structure remains intact.

That is what reasoning is. And that is why the future of trustworthy AI depends less on perfect answers than on stable meanings.

Sources

← Back to Library

Hatch New Ideas with Glasp AI 🐣

Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)

Start Hatching 🐣