Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 03 · AI · Past the basics · about 18 min to read

Watch: CNNs: how a machine learned to see
▶ VideoPlay it as a journeyTutor comes with a plan

Convolutional Networks

Teaching It To See
Teaching It To See · Open board

The Teaching It To See board draws a photograph as a machine receives it, a grid of pixels 224 × 224 × 3, then cuts it into squares. This lesson is what read that grid before the squares: a small window, slid across it.

Before you start. From What a Neural Network Is: a neuron multiplies each input by a weight, adds the results and a bias, and passes zero if the total is negative. A row of neurons is a layer, and all the weights and biases together are the network’s parameters. From Vectors, Dot Products and Matrix Multiply: the one sum under all of it is “multiply two lists pair by pair, then add”. From How It Learns (loss, gradient descent, backprop): training nudges every weight until the answers come out right, and overfitting is a network that memorises its examples and fails on new ones.

Lesson 28 of 83 in AI

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • 1989: zip codes from Buffalo, and a network that memorised them
  • The kernel: a card with a small hole, slid across the page
  • The feature map: a new grid that says where the pattern was found
  • Pooling: keep the loudest number, halve the grid
  • Stacking: edges, then textures, then parts, then objects
  • 2020: the vision transformer takes the card away
  • The card, slid across one edge
  • A wobble in the stroke, and where pooling gives up
  • How big is the new grid, and what does it save?
  • All of it in code

Terms it explains: Teaching It To See, kernel, convolution, feature map, weight sharing, pooling, translation equivariance, receptive field, padding, stride.

Related paper

Review AI