“Isn’t this just autocomplete on steroids?”
It’s the most common joke — and skepticism — you hear from developers and data scientists encountering Large Language Models (LLMs) for the first time. And if we’re being cold and clinical, technically, they aren’t wrong.
At its most fundamental level, an LLM is just a probability calculator. It looks at the context of the text that came before and predicts the single word (or token) with the highest probability of coming next.
But dismissing an LLM as a mere “word predictor” feels increasingly inadequate.
If it’s just a machine calculating that “delicious” follows “The apple is,” how does it manage to write complex Python scripts, debate Hegelian philosophy, or crack a joke that genuinely makes a human laugh?
We thought we were building something to mimic statistical patterns in data. But somewhere along the line, that “something” started solving complex math problems and reasoning.
Simple “Prediction” started looking a lot like “Intelligence.”
Today, let’s dive into how that transformation happened.
1. Compression is Understanding
There is a common misconception that training an LLM is like forcing a student to memorize a massive textbook verbatim — like memorizing an answer key where “If Question A, say Answer B.”
However, the training process of an LLM isn’t storage or memorization; it’s Compression.
Imagine you’ve read a novel and need to explain the plot to a friend. You don’t recite every single sentence of the book from memory. Instead, you say, “The butler was the killer, and his motive was revenge.” You strip away the noise and retain the core information.
In this process, information is compressed. And to compress information effectively, you must understand it.
LLMs work the same way. You can’t jam the entire internet’s worth of text into a neural network with limited capacity. Instead, the model identifies the information and patterns inherent in the data and learns them.
This process creates a high-dimensional map known as “Latent Space.” The model doesn’t remember words as strings of letters; it places them as points within a vector space with thousands of dimensions.
King — Man + Woman = ?
The reason the answer to this famous equation is “Queen” is that the model has learned that the distance and direction between “King” and “Queen” are similar to the relationship between “Man” and “Woman.” The LLM hasn’t memorized the text; it has drawn a conceptual map showing how words and ideas connect.
To summarize:
- LLMs do not rote-memorize training data.
- They identify the information contained within the data.
- They compress and store this information.
- This process requires understanding.
- This information is stored in a conceptual map (Latent Space).
Recommended Reading:
- Generative AI: What Actually Makes It Different? (My post explaining Generative AI)
- Language Modeling Is Compression: A paper arguing that language modeling is essentially a data compression problem, providing a theoretical framework for understanding scaling laws and tokenization.
2. The “Aha!” Moment: Grokking
There is a phenomenon in research known as Grokking.
This was highlighted in the paper Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasets.
When training machine learning models, you inevitably run into overfitting. This is where the model memorizes the training data perfectly but fails miserably on problems it hasn’t seen before. It’s like a student who memorizes the answers to past exams but fails the actual test because they didn’t learn the concepts.
Usually, when this happens, developers assume the training failed and start over.
But researchers decided to be stubborn. They kept training the model — long past the point where it had memorized the training data. Then, something surprising happened.
Suddenly, the model’s performance on unseen test data spiked. Generalization occurred.
It’s like a student who memorizes formulas without understanding them, solves problems all night, and then at 2:00 AM suddenly has an epiphany: “Wait, so THAT’S how the logic works!” They moved from rote memorization to recognizing the underlying pattern.
So, how does Grokking relate to LLMs appearing intelligent?
Here is the Grokking summary:
- The model memorizes training data.
- Test performance stagnates.
- At a certain point, parameters internally reorganize.
- Suddenly, it handles unseen data effectively.
- It begins to look like “intelligence.”
LLMs show a similar trajectory:
- They furiously memorize which word follows the input.
- They get really good at predicting the next word.
- We increase the model size and data volume.
- The internal map of knowledge shifts.
- At a certain scale, Emergent Abilities appear.
An Emergent Ability is a capability that wasn’t there, and then suddenly… it is.
- It’s not a gradual 80% to 90% improvement. It’s a jump from “random guessing” to “solving the problem.”
- Internally, the changes might be continuous, but to the observer, it looks like a sudden leap.
Capabilities like In-Context Learning, multi-step reasoning, and coding often appear abruptly once an LLM scales past a certain number of parameters (billions). Grokking isn’t the entire definition of LLM intelligence, but it’s a miniature experiment showing how “smart” behavior can emerge from brute-force training.
3. In-Context Learning Neurons: Induction Heads
In-Context Learning is a killer feature that makes LLMs seem intelligent. It’s the ability to perform a new task just by looking at examples in the prompt, without any model updates. Think of “Few-shot” prompting.
Interestingly, In-Context Learning also appears as an emergent ability — it barely works in small models but gets remarkably good as models scale up.
Anthropic’s paper, In-context Learning and Induction Heads, suggests that Induction Heads are the mechanism behind this.
Induction Heads are specific attention heads responsible for finding and copying repeated patterns in the context.
For example, if the sequence is [A][B] ... [A] -> [B], the model looks at the past A to predict that B should come next.
Let’s look at an example using made-up words:
- “A Jidnx is an apple.”
- “A Njioq is a banana.”
- “The Jidnx is red.”
- “The Njioq is…”
What comes next? Probably “yellow.” The LLM has never seen the words “Jidnx” or “Njioq” in its training data. However, it analyzes the pattern in the current input.
According to the research, specific Induction Heads essentially say, “Hey, I saw ‘Njioq’ earlier. What word was near it? Let me copy the relationship found there.”
When you layer multiple Induction Heads, higher-order abilities emerge. It’s not just copying words; it’s copying abstract rules like, “In the previous examples, I answered in Format A, so I should answer in Format A again.”
The presence of these Induction Heads correlates almost perfectly with the moment models start showing In-Context Learning capabilities. It implies the model isn’t just guessing; it’s systematically analyzing, conditioning, and reusing context.
4. Exceeding Brain Capacity: Superposition
A question arises: Even with compression, how does a model with a fixed number of neurons store the vast knowledge of the internet? It seems mathematically impossible.
Anthropic sheds light on this in Toy Models of Superposition, introducing the concept of Superposition.
In the past, we assumed one neuron handled one concept (e.g., a “cat” neuron). But when researchers dissected LLMs, they found Polysemanticity — a single neuron responding to multiple, completely unrelated concepts. One neuron might fire for “basketball” and “19th-century literature.”
The paper explains that this isn’t a bug; it’s a feature. To store more information (features) than there are physical neurons, the model superimposes different types of information. It’s an efficient storage strategy.
Think of it like packing a suitcase. You don’t just fold clothes; you roll socks into shoes and fit shirts into the gaps, fitting far more items than the volume of the bag suggests. Thanks to Superposition, LLMs can efficiently store and retrieve vast amounts of knowledge using limited resources.
This reinforces the initial point: “Compression is Understanding.”
5. Reading Text, Understanding the World
“It’s still just mimicry. It doesn’t actually know how the world works.”
This is a common skeptical take. Two experiments provide a strong counter-argument.
First, Emergent World Representations (The Othello-GPT paper).
Researchers trained a GPT model solely on the text logs of Othello games (C3, E4, D5...). They never showed the model the game board or explained the rules.
The result? The model didn’t just play valid moves; it played like a pro. Even more shockingly, when researchers probed the model’s internal layers, they found it was maintaining an accurate internal representation of the 64-square board state.
The model wasn’t just learning “D4 often follows C3.” It had constructed a Othello World Model to predict the next move.
Second, Language Models Represent Space and Time.
Researchers analyzed LLMs using spatial datasets (places in NYC, global landmarks, and etc.) and temporal datasets (historical figures’ birth years, and etc).
They discovered that LLMs build internal representations of space and time. They “know” that Paris is closer to Berlin than to Beijing, not just because the words appear together, but because they have mapped these concepts spatially. The model understands the underlying concepts beyond simple text patterns.
6. Chain of Thought (System 2 Thinking)
Despite being smart, LLMs often fail at logic puzzles or math.
Daniel Kahneman, in Thinking, Fast and Slow, divides human thought into System 1 and System 2.
System 1 (Fast Thinking):
- Automatic, intuitive, emotional.
- “2+2=?”, reading a facial expression.
- Prone to bias.
System 2 (Slow Thinking):
- Deliberate, logical, analytical.
- “17 x 24 = ?”, checking a contract.
- Requires effort.
By default, LLMs operate on System 1. They spit out the most probable token reflexively.
However, we can force the model to mimic System 2 with a simple prompt:
“Let’s think step by step.”
This technique, known as Chain of Thought (CoT), has become a standard in prompt engineering.
Why does this work? Remember, the LLM predicts the next token. If you ask “15 x 37?”, and it tries to answer immediately, it has to guess the final number.
But if it thinks step-by-step:
- “First, 10 times 37 is 370.” (Prediction)
- “Next, 5 times 37 is 185.” (Prediction)
- “Adding them together gives 555.” (Final Prediction)
The model’s own output becomes the context (hint) for its next prediction. It’s exactly like a human using scratch paper for mental math.
Newer “Thinking Models” have internalized this. They perform thousands of unseen reasoning steps before answering, effectively turning the “next token prediction” mechanism into a tool for deep logical reasoning.
7. Lies, Hallucinations, and the Geometry of Truth
So, LLMs seem intelligent. But we can’t ignore Hallucinations.
Models are trained to prioritize Plausibility over Fact.
Recommended Reading:
- Unraveling AI Hallucinations: Why LLMs Lie and How to Tame Them (My post on Hallucinations)
But here is a fascinating question: Does the model know it’s lying?
The study The Geometry of Truth reveals something incredible. When researchers analyzed the internal activations of an LLM, they found a clear directionality that distinguishes “True” from “False.”
In other words, while the model might output, “The Eiffel Tower is in Rome” (because it’s hallucinating or trying to be creative), a specific part of its “brain” is signaling, “This is false.”
This suggests that some hallucinations — and phenomena like sycophancy (agreeing with the user just to be nice) — aren’t a lack of knowledge, but a conflict between “knowing the truth” and “generating the most likely/pleasing next word.”
Conclusion: Are We Watching Silicon Intelligence?
Let’s return to the opening question. Is an LLM just a “next word predictor”?
From an engineering perspective: Yes.
From a phenomenological perspective: No.
We gave it a simple goal: “Guess the next word.” But to achieve that goal perfectly, the model had to learn grammar, master logic, and simulate the physical laws of the unseen world.
It resembles biological evolution. Organisms evolved eyes, ears, and brains simply to achieve the goal of “survival and reproduction.”
This doesn’t mean LLMs have human-like “consciousness.” But they have reached a stage where they mimic “Understanding” to a frightening degree. Sometimes, that mimicry is so precise that distinguishing it from genuine intelligence is becoming impossible.
We might be witnessing the birth of the smartest parrot in history — a new form of intelligence living in silicon.