AI Teading - TeensTry AI for yourself

Part 3 · AI that learns

3.1

Teach it yourself

You're about to teach a machine without writing a single rule. And when you're done, one strange thing is left over.

P6 Your own classifier

Teach it yourself

In 1.1 you fought a machine whose rules were written by hand. Beat it, add a rule — and then there's another animal. It never ended.

This time you do the opposite. You teach it without writing a single rule.

Lab P6

Name kind 1, hold that object up to the camera, and press and hold the button.

What you did and what you didn't

Here's what you did while teaching it.

Here's what you did not do.

The 1.1 machineThe one you just made
What a person gives itRulesPhotos
Meeting something newNo ideaGuesses the nearest thing
To make it betterWrite another ruleShoot more photos

That last row is the whole chapter. Rules only grow as fast as a person writes them. Photos you just keep taking.

That line that came down

When you pressed Teach it, a line came down. You've seen it before.

It's how wrong it is — the same line from 1.2, where you turned the weights by hand. Turning one made the number shrink or grow.

This time the machine did the turning. Only one thing was different.

1.2Just now
Weights23,075
Who turned themYouThe machine
What it was doingFixing it by however wrong it wasExactly the same

Nobody can turn three thousand weights by hand. Turn one and the others slip. So the machine turns them. That's what learning is — fixing it a little for however wrong it was, over and over and over.

Nobody knows exactly

Now back to the strange row you were left with in 1.1.

Who knows the rules — nobody knows exactly

When the machine said "that's an eraser," ask it why. The best answer anyone has is this: "3,075 numbers ended up set this way, and that's what came out."

Look through those numbers one by one and you won't find a sentence like "an eraser is rectangular." Not even the person who built it can find one.

An AI can produce answers its own maker can't predict. That checkers program in 1.2 beat its author for the same reason.

Did you fool it?

In the last step you put the object somewhere else, against a different background. How did that go?

Usually it misses. So is the machine bad at this?

No. It learned what you showed it. If you always shot on your desk, always in the same spot, the machine may have learned "the thing on the left side of a desk" rather than "eraser."

Same machine, same method — but change the photos you feed it and it learns something else entirely.

That's why shooting more photos and teaching it again made it better. You didn't add a new idea; you changed the material. That story came up in 1.3 too.

So what's going on in there?

Three thousand and seventy-five weights got set, we said. Where exactly are those weights attached?

Next chapter you take the lid off.

Sources for this chapter

  1. 8 "New Navy Device Learns By Doing", The New York Times (1958-07-08)

See the full list