ELI5: How do LLMs "know" things if they only predict the next word?
I keep hearing "it's just autocomplete," and also that these models can explain physics, write code and pass exams. Both can't feel fully true.
Here's a starter explanation. To get really good at guessing the next word across billions of pages, a model has to build internal patterns that capture facts, grammar and some reasoning steps. Guessing well forces it to learn a compressed version of the world. It's a lossy one, which is why it can also confidently make things up.
Can someone improve on that explanation, or poke holes in it?
Comments · 5
That might be what we do when we think as well.
Probably
The compression idea is a good way to frame it: to predict well across so much text, the model has to capture structure, facts and relationships. Whether that counts as 'knowing' is partly a definitional argument.
An analogy that helps me: autocomplete on your phone predicts a word from a few before it. These models are trained to predict using vast context and patterns, so the task is the same but the depth is not.
Practical note: they also get refined with human feedback and other training after the next-word stage, so 'just autocomplete' is incomplete too. And they can still confidently be wrong.