Acadbyte
Start free

Why Models Hallucinate

A model has no truthful mode and no lying mode — it runs identical machinery either way. So what is actually different about the sentences it gets wrong?

Intermediate8 min3 concepts · 2 questions · 1 cardFree

The same machinery, every time

At the start of this track we settled the idea everything else hangs off:

A language model predicts. It does not look things up.

There is no database inside it. No index, no lookup, no moment where it checks anything against anything.

Hold onto that, because it explains hallucination completely — and it explains why hallucination isn't really a bug.


The improv actor who never breaks character

Put an improv performer on stage in a white coat. Someone in the audience shouts a question about a rare drug interaction.

They do not say "I'm not a doctor." They say something doctor-shaped — fluent, composed, in the register of a person who knows. That's the job. The scene has to continue, and it has to continue plausibly.

The model is doing precisely this, on every token, forever. Its entire training objective was:

Given this text, what plausibly comes next?

Not "what is true?" Never "what is true?" Truth was never the target. Truth was a side effect — across a huge corpus, true text is usually the most plausible text, so aiming at plausible mostly lands on true.

Mostly.

The machinery did not change between those two answers. Same forward pass, same odds, same draw from the jar. The only difference is whether "plausible" and "true" happened to point at the same words.

That's the whole thing. A hallucination is not the model failing at its job. It's the model succeeding at its actual job, at a moment when its actual job and your expectation came apart.

That's the first of 6 blocks. The rest is where it sticks.

Reading is the easy half. The questions and cards ahead put this idea into your own recall — and then bring it back on schedule until you keep it.

Start this topic

No account needed. Your progress saves from the first block.

Next in LLM Foundations

Pretraining vs Fine-tuning

A company fine-tunes a model on its internal docs, and it still gets the policies wrong. The training run worked exactly as designed. So what did it actually change?

Read the preview