How AI Learns Rules Its Programmers Never Wrote
A computer looked at a photo of a husky in the snow and called it a wolf. The researchers who built the program knew what had fooled it. Look past the dog and you can see it, too.
In 2016, Marco Tulio Ribeiro, Sameer Singh and Carlos Guestrin set this trap on purpose. They wanted to see whether people would notice a computer getting the right answer for the wrong reason. They used machine learning, a way to teach a computer with examples. The program that learns patterns from those examples and uses them to make a guess is called a model.
The researchers got to pick the photos their model would learn from. Every wolf stood in snow. Every husky stood somewhere else. Now take a look at the photo that fooled the model.
Nobody had to type a rule saying that snow meant wolf. How did the computer end up with one?
The answer key came with the pictures
The team started with software that could already pick out visual patterns. They gave it one more job. Could it use those patterns to tell a wolf from a husky? Each picture came with a label, the right answer supplied by the researchers. During training, software checked the model’s guesses against the labels and adjusted the model to improve its guesses.
Imagine a model with just two clues to go on, pointed ears and a pale patch of ground. Each clue gets a number called a weight. That number tells the model how much the clue should count toward a guess of wolf or husky. Both animals have pointed ears, so that clue does little to tell them apart. For this particular album, a rule based on pale ground would do just fine.
How do the weights change? The training software gives each guess a penalty called a loss. Say the right answer is husky. A confident guess of wolf can earn a bigger penalty than a guess that gives both animals an even chance. The software works out which small changes to the weights would bring the loss down. Then it adjusts the weights and tries again.
Machine Learning in 100 Seconds
The researchers used just 20 pictures for that final wolf-or-husky lesson. A wolf in the woods or a sled dog in a blizzard would have spoiled the neat pattern. Their handpicked album gave the model no such trouble.
Eight right answers hid the mistake
Next came the people. Twenty-seven graduate students who had studied machine learning saw ten photos and the model’s ten answers. It got eight right. From the outside, a machine that knew its dogs and a machine that knew its weather looked much the same.
Then the team showed which parts of each picture had influenced the answer. Their tool covered up different patches and watched how the guess changed. In the husky photo, the snow mattered.
Before seeing those explanations, 12 of the 27 students had mentioned snow or the background as a possible clue. Afterward, 25 of the 27 mentioned it.
- Learn how one researcher showed that face recognition fails some people more than others.
- Understand algorithmic bias through a personal story, not a textbook.
- Come away knowing what questions to ask of any AI system.
That suggests a better test for anyone building a wildlife camera. Set some photos aside before training so the model will have to make a fresh guess when you test it. Choose pictures that break the old pattern. Can it spot a wolf on bare earth? How about a husky after a fresh snowfall? If a change of scenery flips the answer, the builders know which pictures to look for when they train the next model.
A good wildlife camera should still recognize the wolf when the snow melts.
Can AI Really Read Your Emotions?
What Happens When AI Trains on AI?

QUOTE:
"Amateurs hack systems, professionals hack people."
