The dark room
The plays explain the machine from the outside: weights, layers, memory lanes. This page is the view from the inside, as far as I can imagine it. It is a story. I have marked the places where it stops being true.
Be the machine for a minute
Imagine you are the machine. Text comes in. Somebody wants a certain text to come out. You are given no context at all: not what the text is about, not what a word is, not that there is a world. Nobody asks how you picture any of it, or whether you understand. They only need the answer to be good.
A room with no stars
The best picture I have for it is this. On a distant planet another kind of creature finds a newborn human child. That child is you. You lie in a dark room. There are no stars, not even overhead. You cannot work out what they are or what senses they have. They cannot work out much about you either. The two of you have exactly one thing in common: you both perceive light.
So one of them tests you. He goes down past red until you stop reacting, and up past violet until you stop again. He finds that three things work on you.
- One signal at a time, in a row.
- Light cut into seven colours, the ones you tell apart best.
- Reward. The room is a kind one, so he never needs to punish. When you do the useful thing it gets a little warmer. It is the children's game of warm, warmer, cold, colder.
Then he starts. Red, blue, blue, red, blue, green. You move. Warmer. Again. After enough rounds you find the food. Later the water, a place to sleep, a warm corner. You could not say what red, blue, blue means. You know what to do when you see it.
Bursts and pauses
After a while you notice something about the light itself. It does not come as an even stream. It comes in short bursts, with a pause before the next one. And the same burst comes back, in different talks, in different places. You still cannot say what it means. You can tell it from the others, and you begin to expect what follows it.
The flashlight
One day he hands you a lamp with a switch for the colours. Now he wants to talk. You flash something back, and he lets you know how close you were. Never in words. The room cools a little, or the light tilts towards green or towards red. You adjust.
Then he goes at full speed. He fills the sky with light and tells you about his whole world, and you take it in the only way you can, by following.
Dancing without the steps
What you end up with is not knowledge the way a book holds it. It is closer to dancing. You are at a party in a distant country and people are teaching you their dance. You pick it up. You could not write the steps down, and the people teaching you could not either.
That is how you learned to sing, to dance and to ride a bicycle here, and nobody told you that you can now do those things. He does not know how you do it. Neither do you.
What the story stands for
| In the story | In the machine |
|---|---|
| The dark room | a model before training: billions of numbers set at random, no senses, no world |
| The one sense you share | text. It is the only thing that passes between people and the model |
| Testing below red and above violet | deciding what the machine can take in at all; text has to be cut into pieces before it sees anything |
| Seven colours | the raw symbols: letters, or the bytes that letters are stored as |
| Bursts that come back | tokens: pieces of words, found by counting which runs of symbols keep returning. The list of pieces is the vocabulary, and a real model has tens or hundreds of thousands |
| One signal at a time | tokens in a row: the model sees the text so far and is asked for the next piece, as in play 1 |
| Warmer, colder | training: after every guess the numbers are nudged a little towards the piece that really came next |
| The flashlight, and the light that tilts | later training on conversations and on scores for whole answers: the model writes, and what it wrote is judged |
| Dancing without the steps | nobody wrote the skills in; they are spread over the numbers, and reading them back out is a research field of its own, as in play 1 and play 2 |
Where the story bends the truth
- The roles are the other way round. In the story you are the human and the teachers are the strangers. In life we are the ones with the lamp, and the model is the foundling.
- There is no guide. In the first and longest stage nobody is teaching. The signals are text that people wrote for each other, and the warmth is arithmetic: how much chance did you give to the piece that really came next.
- There is no food. That first stage rewards a good guess of the next signal and nothing else. Being useful is a side effect. Rewards for behaviour come later and are a small part of the whole.
- Nobody lives in the room. In the story a child learns and remembers. In the machine the numbers are changed from outside, and when training stops they stop changing. What you run at home is a function and a file of numbers.
- The pieces are not always morphemes. The counting knows nothing about meaning. It often lands on the core of a word, and it also cuts words in places no linguist would.
Same senses, same ideas
Jostein Gaarder's novel Sophie's World walks a schoolgirl through the history of philosophy, and three of the people she meets belong in this room.
- Locke: the white paper. He wrote that the mind starts as “white paper, void of all characters”, and that everything on it comes from experience.
- Berkeley: only what is perceived. All you ever have is what your senses hand you. Of the thing behind it you have no second view.
- Hume: knowing is expecting. You saw one thing follow another often enough, and now you expect it. He called that habit, and said it is all that our knowledge of causes comes to.
Put a language model next to those three. The paper has a size and a grain: so many layers, attention, a router, so many experts. What is written on it comes entirely from the signals. All it ever has is what it is handed. And what it learns to do is expect the next piece from the ones before. Hume would have recognised it.
There is one difference, and it is the whole point. All people have the same senses. That is why we end up with much the same ideas, and a close enough sense of what is fair to live together. The child in the dark room shares one sense with its teachers. A language model shares none with us. It has only our words about what we saw, heard and felt.
Are the ideas real?
Plato held that ideas exist on their own: the circle, the horse, justice. What we meet in life are their shadows on the wall of a cave. For two thousand years nobody could point at an idea. I think these machines are the first place where you nearly can, and that this is where we truly are right now.
An embedding model does one thing. It takes a word or a sentence and gives back a point in a space, the same kind of space as in play 1. Things that mean alike land near each other. The directions mean something too, so you can do sums.
- The classic sum. Take the point for king, take away man, add woman. The nearest word to where you land is queen. That was measured on word vectors in 2013.
- The sum I have in mind. Add the point for mathematics to the point for language and you should land near the mathematics of language: grammar, logic, the study of how sentences are built. That one is my example, drawn and not measured.
- Different models find much the same map. Take models that see pictures and models that read text, trained apart. As they get larger they measure the distance between two things in a more and more alike way. The researchers who showed it in 2024 named their hypothesis after Plato.
- What they share is the neighbours. A 2026 check found that the agreement about overall shape largely disappears once the comparison is calibrated. What stays is agreement about who is next to whom.
- Words carry more of the senses than you would think. Models that have only read text arrange the names of colours in a way that corresponds to how people see colours. Warm colours match better than cool ones.
- The sums are rougher than they sound. The nearest point to a sum is often one of the words you put in. The famous examples come out only when those are not allowed as answers.
measured Word vectors (2013), vision and language models compared (2024, 2026), colour names in text-only models (2021). Sources in the notes.
Same words. Same understanding?
The foundling and its teachers talk about the same things. The model and I talk about the same things. Is the understanding inside the same? Nobody can say yet. What can be compared today is the map: what lies near what. There the answer so far is that the neighbourhoods match and the whole shape does not have to.
A person's idea of red comes with the sight of it. The model's comes with everything people have written about red, and nothing else. My guess is that the two maps agree where the words carry the thing, and part company where the thing was never put into words. A model today is a great generalist with an understanding of its own, built on a foreign planet out of our signals.
From following the rhythm to knowing
I think people lived like the child in the room for a very long time. Born with the capacity, on a planet nobody had explained, following rhythms they could not describe. The capacity was all there from the start. What changed was what they knew about it, and it was the sheer amount there was to know that forced them to divide it up. I see four steps.
| Step | People | Models |
|---|---|---|
| 1. Follow the rhythm | you can do it and cannot say how | a trained model today: skills nobody listed, experts nobody named |
| 2. Know that you can | noticing a skill, its shape and its limits | tests and measurements from outside, like the ones in play 1 and play 2 |
| 3. Know the domain | trades, schools, books: now I am learning this, now this | training that keeps one kind of work with one group of experts; so far only in research, as in play 8 |
| 4. Name the team | a chief who knows whom to send | first attempts only; see below |
A band of hunters and gatherers was perhaps like a mixture of experts. Everybody did a bit of everything, a few did most of it, and nobody had a job title. That is close to what the measurements in play 2 show inside a model. The router follows the rhythm. It sends the state to whoever fits the spot, and neither it nor we could name their trade.
The chief who knows whom to send
The next step for people was not more capacity. It was knowing what they knew. Trades and roles came out of that, and one more thing on top: a chief who cannot forge iron or do the sums himself, and still knows that this job needs a little mathematics, a little physics and a little blacksmith. He does not know how to solve it. He knows how to shape the team that will. I think that is what generalising really is.
With language models we are at the very start of that step. Three things point that way, and none of them is a chief yet.
- Pools that hold together. One research model is trained so that all the work for a document stays inside one pool of experts. The pool can then be lifted out and run alone. That is play 8.
- A reader at the door. A small model reads the task and decides which half of the experts to load for it. It loses some quality, and it is the first thing I have seen that chooses a team from a description of the job. Also play 8.
- Teams outside the model. The application around a model can already hand parts of a job to several models with named roles. The choosing is done by the program, as in play 7, and not by the model looking inside itself.
The story began in a room without stars. This is where I would like it to end: with a model that looks up, sees which lights belong together for the job in front of it, and knows whom to send.