Chapter zero

How machines learned to learn

Eighty years, four collapses, and one idea that refused to die. You need no background to follow this — only curiosity.

This plays like a film, and your scroll is the projector: drag down to run it forward, up to run it back. Every frame is a live simulation — real weights, real arithmetic, on your device. Turn on narration in the top bar to have it spoken.

1943The idea
1in+0.70in-0.51in+0.6threshold0.000
001/160

Multiply each input by its weight. Add them up. If the total clears the line, fire. Everything in this course is built out of that.

000.32INHIDDENOUTSTEP0LOSS0.797CORRECT3/4PASSforward
001/401

Every line is one weight. Thickness is its size, colour is its sign. Watch them move.

positive weightnegative weightsignal going forward

A brain cell, written as arithmetic

Before any machine could learn, someone had to write down what a brain cell does.

01 / 11

For the curious — the fine print

1943

Why it mattered

McCulloch and Pitts proved that networks of these switches could carry out logic. For the first time, thinking and arithmetic looked like the same kind of thing — which meant a machine might, in principle, do it.

1958

The dials were physical

The Mark I Perceptron's weights were potentiometers turned by electric motors. You could stand in the room and watch a model learn. Everything since has been the same idea with the dials hidden inside silicon.

1969

The cruel part

Stacking layers would have fixed it, and everyone knew that. Nobody knew how to train the stack — there was no way to work out which dial in a hidden layer deserved the blame for a wrong answer.

1974 – 1986

Backpropagation

It is not a learning algorithm. It is a bookkeeping trick for computing gradients efficiently. The learning is still just gradient descent — the same downhill walk you are about to do by hand.

1997

Why this still matters

Modern systems increasingly do both — a learned model that also searches over its own possible answers. Knowing which half is doing the work is how you predict where a system will fail.

2012

The uncomfortable lesson

The idea had been correct and ignored for twenty-five years, waiting for hardware. A lot of AI history is not new ideas. It is old ideas finally becoming affordable.

1997 – 2014

Why it had to change

There is a second problem hiding here. Reading strictly in order means you cannot start word ten until word nine is done — so it cannot be spread across thousands of chips at once. The design that replaced it could be, and that is as much a reason it won as accuracy was.

2018 – 2022

Still just next-token prediction

A large language model has one training objective: guess what comes next. Everything you have watched it do is a side effect of getting extremely good at that one task.

Every machine in this story, including the one you spoke to this morning, is doing the same small thing: turning dials to make its mistakes smaller. In the next ten minutes you are going to do it by hand.

Train one yourself →