Wait, That’s It?

Neural Networks: Nobody Told Your Phone What a Face Is

A neural network is a stack of tiny yes/no decisions, each tuned a little at a time until the right answer comes out.

Nobody ever typed "two eyes, a nose, a mouth" into your phone. Try writing that rule yourself and some face always breaks it. Even a famous face finder from 2001 picked its own clues. This episode builds one tiny piece of what's doing it, by hand: your face as a grid of numbers, four dots, four knobs and a bar. The knobs start wrong (a blank wall scores as a face), and two clicks fix them, with nobody choosing the numbers. Then we stack those little questions into a network, see how a network with 60,000 knobs was tuned in 1996, and meet the same idea in Gmail's spam filter, in bank check scanners and in a 1958 machine the size of a room. The episode ends on the question for next time: with sixty thousand knobs, which knob do you turn, and which way?

Face ID here is simplified. The real one doesn't answer a single yes/no question: it turns your face (an infrared image and a depth map) into numbers and matches them against the ones it saved when you set it up. The parts are the ones in this episode.

Watch the Short of this episode on YouTube

Go deeper

  • 1.1Coming
  • 1.2Coming
  • 1.3Coming
  • 1.4Coming

From the film

Where this sits: Deep Learning 1, what a neural network is (the course follows Simon J. D. Prince, Understanding Deep Learning, free at udlbook.github.io). Next: Deep Learning 1.1, gradient descent: which knob to turn, and which way.

Sources

The drawings are made with generative AI and drawn on stroke by stroke; the number grids, knobs, sums and the network are drawn by code. The narration is a synthetic voice.