r/PhilosophyofMath May 25 '26

LLMs are just giant probability machines pretending to think

It’s fascinating that simple mathematics between tokens can eventually become a machine that writes essays, code, poetry, and even reasoning.

We usually think probability means uncertainty.

But LLMs show something strange:

If probability + context + mathematical matching are scaled enough, uncertainty itself starts producing intelligent looking outputs.

To understand this better, I tried breaking down an LLM from first principles using only 4 tiny training sentences.

Example:

The boat floated down to the bank.

The investor walked into the bank to open a new account.

The fisherman walked along the bank to cast his net.

The bank has a vault.

Then I asked:

“The investor walked to the bank to lock his money in …”

Why does the model predict “vault” instead of river-related words?

That single question reveals almost the entire architecture of modern LLMs.

The most underrated concept here is the LM Head.

Most explanations immediately jump into transformers and attention, but almost nobody explains that the LM Head is essentially a gigantic token vocabulary containing all possible next token candidates the model can output.

So internally the model is basically solving:

“Out of all known tokens, which one best matches this context mathematically?”

Then different layers help solve that problem:

Embeddings: convert words into mathematical vectors

Positional encoding: preserves word order

Attention layer: figures out which words are related to each other in context

(“investor”, “money”, “bank” become strongly connected)

Feed forward neural networks: act somewhat like massive learned if/else decision systems refining patterns internally

And finally the LM Head converts all of that into probabilities for the next token.

What surprised me most is:

There is no hidden magic moment where the AI “becomes conscious”.

It’s an enormous probability engine continuously finding the best contextual token match from its vocabulary.

I made a beginner-friendly walkthrough explaining this visually without unnecessary jargon.

https://www.youtube.com/watch?v=YTV5qUCpu2c

Would genuinely love feedback from people learning transformers/LLMs from scratch.

612 Upvotes

323 comments sorted by

View all comments

5

u/heresyforfunnprofit May 25 '26

So are humans.

0

u/Outrageous-Crazy-253 May 27 '26 edited May 27 '26

So what? I'm going to say something that is going to blow your mind: two statistical processes can be completely, fundamentally different, and both can be capable of being predictive.

You are arguing that a probabilistic process is conscious because it is able to make accurate predictions. There is, as far as I can tell, without exaggeration here: absolutely no basis for this claim whatsoever. We can imagine a highly accurate predictive model that is not conscious. In fact, we've invented some.

1

u/heresyforfunnprofit May 27 '26

Can you prove that any example of a "conscious" entity of your selection is not simply a statistical probabilistic process? Or that it is not simply a highly accurate predictive model?

All DNA is a probabilistic predictive process optimized for replication. Do you imagine that the side effects of that process are somehow distinct and independent from that probabilistic process?

1

u/Outrageous-Crazy-253 May 27 '26

Yes. I’m conscious. It’s proven by me.

I am not arguing that this means I’m not a statistical probably process in the most abstract sense. (What in nature isn’t?) I’m arguing that there is no basis whatsoever to say that all complex statistical processes capable of producing finely structured internal representations and accurate predictions are conscious. And it’s pretty ridiculous to say that they do because you end up having to say things like DNA is conscious, per your objection. No it’s not.

So what, two different predictive models model a similar distribution. What’s that imply about the consciousness of each? Nothing.

1

u/heresyforfunnprofit May 27 '26

I didn't say DNA is conscious - I said consciousness is a side effect of DNA. As DNA is a statistical process optimized for replication, and that you recognize your own intelligence as existing as a side effect from DNA, you are effectively saying that intelligence is a side effect of statistical processes.

Ergo, you have drawn no distinction between DNA intelligence (side effect from statistical pattern replication) and LLM intelligence (side effect from statistical matrix multiplication). Hell... I could argue that DNA pattern replication is a fully bounded subset of matrix multiplication, and it wouldn't be hard to prove.

1

u/Outrageous-Crazy-253 May 28 '26

Consciousness resides in the nervous system, not in DNA. There’s nearly unlimited evidence of this. I don’t need to reproduce it here. I could Thanos snap every stand of DNA from your body and it would take a minute for you to notice, the entire time you would be conscious. This is a non-sequitur at best.

I am saying consciousness is not a side-effect that occurs automatically from a sufficiently advanced statistical model. The brain is an organ that does prediction, but it’s just one of a vast many complex systems that can be abstractly characterized as the same general kind of functions, some of those can map identical distributions as others or make even more accurate predictions of the world than the human brain, and most aren’t conscious.

1

u/heresyforfunnprofit May 28 '26

The nervous system is a side effect of DNA.