Learning, in every AI system ever built, is rolling downhill in the dark.
One dial, 140 real sentences, and no view of the hill. All you get is whether the ground under your feet slopes up or down. Find the bottom by hand first. It is harder than it looks, and then you get to hand it over.
The guess, against the evidence
140 real sentences. Each dot is one sentence: how long it is, against how many tokens it cost.
The hill it is rolling down
How wrong the line is, for every setting of the dial. The machine cannot see this shape. It only feels which way is down.
- How wrong
- 190.44
- Steps
- 0
Drag the dial, or let it find the bottom itself. The lowest the error goes is 6.29.
Alice's Adventures in Wonderland · Lewis Carroll · Project Gutenberg ebook 11 · public domain
Here is what the dial was really about. Every dot is one real sentence: how many characters it has, and how many tokens it came to. A model is a formula with adjustable numbers in it, and this one has a single dial.
140 real sentences · Alice's Adventures in Wonderland
characters across · tokens up the side
tokens = dial × characters. One number to set, and nobody told it the answer.
How a model learns
NextEmbeddings+What is actually going onWhere do the billions of dials come from?Same procedure, more numbers. The step is worked out for every dial at once.
One dial makes a hill you could draw. A hundred billion dials make a surface nobody can picture. The procedure does not care, because it never looks at the whole surface anyway. At each step it asks one question per dial: if I nudge this one, does the error go up or down? Then it nudges them all a little, in the answer’s direction.
Rumelhart, Hinton and Williams gave that its efficient form in 1986 by working the slope backwards through a network, so that all the dials get their answer in one pass. Everything since has been the same idea with more arithmetic behind it.
+What is actually going onIf nothing is stored, why does it seem to know things?Because the examples changed the numbers. The effect survives; the examples do not.
A trained model does not contain its training data. It contains numbers that data pushed into shape. That single fact explains the behaviour that annoys people most: there is no source inside it to check an answer against, so a plausible wrong answer and a correct one are produced by exactly the same machinery.
It also explains the training cut-off. Absorbing anything new means running this whole procedure again over the whole corpus, which costs real money and time. That is why a model’s knowledge stops on a date. It is not because anyone chose to freeze it.
Take it apart yourself: What an LLM actually isBeat the Predictor · 7 min. Optional.
+Watch somebody explain itThe same downhill step you just steered, drawn in more dimensions.
Optional: watch someone explain it
Gradient descent, how neural networks learn
3Blue1Brown
The same downhill step you just steered, drawn in more dimensions.
+Go and try this on a real assistantWatch a model be confidently wrong about its own training.
Go and try this
Find out what your assistant was shown
Ask an assistant when its training data ends. Then ask it about something that happened after that date and watch what it does with the gap.
Then ask it something where the answer depends on which text it was trained on. A regional spelling, a contested date, or a term used differently in different fields.
What to watch for: Whether it can tell you its own cut-off, and whether it hedges about it. It has no way to check the date from the inside. Anything it says about now is a guess dressed up as a fact.
+Check yourselfIt marks itself, and nothing is sent anywhere.
Training settled on about 4.083 characters per token. What is that number?
Sources
- Alice's Adventures in Wonderland
Lewis Carroll, via Project Gutenberg
The 140 sentences measured on this page. Gutenberg header and licence text excluded before sampling.
Public domain
- A Stochastic Approximation Method
Robbins & Monro, Annals of Mathematical Statistics (1951)
The origin of stepping toward an answer using noisy estimates. It is the ancestor of the procedure this page runs.
- Learning representations by back-propagating errors
Rumelhart, Hinton & Williams, Nature (1986)
How the same downhill step is applied to models with millions of dials instead of one.