Part 2 · Lesson 13 · 6 min
Why models fail in the real world: shortcuts and a changing world
An AI could tell wolves from huskies almost perfectly. What was it actually looking at?
Not the wolves.
Some students pass multiple choice tests by noticing that the right answer is usually the longest one. They score well and learn nothing. Models do this too, and they are much better at finding such tricks than we are.
Wolf or husky?
This example comes from a 2016 research paper. The researchers built the snow-loving model on purpose, to test whether people could spot a model that was right for the wrong reason. Many people trusted it, until a tool showed them where the model was looking.
A model that grabs an easy clue instead of the real thing is using a shortcut. Shortcuts are hard to see, because the scores look great.
The ruler in the photo
Researchers studying skin cancer models have reported exactly this: images with a ruler in them were more likely to be called cancer. The ruler was a clue in the data, not a sign of disease.
The second big failure is quieter. The model learned the right thing, but then the world changed.
The world moves
This is called data drift. Customer habits, fraud tactics, laws and medical practice all change. A model is a snapshot of the past, so it needs someone watching it and a plan to retrain it.
Go deeper optional
Shortcut learning happens because a model finds whatever pattern predicts the answer, whether it causes the answer or not. A correlation is enough for the model, even when it is an accident of how the data was collected.
Distribution shift is the general name for "the new data no longer looks like the training data". Data drift is one kind.
Tools that explain a model, like heat maps showing which pixels mattered, help catch shortcuts before launch. That is how the snow was spotted in the wolf experiment.
Check yourself
1. A model labels huskies in snow as wolves. What went wrong?
The photos were fine. The model relied on the wrong clue, the snow.
2. A fraud model's accuracy drops after customers' habits change. What is this called?
Overfitting is a problem from training. Drift happens when the world changes after the model is in use.