Shortcut Learning in Machine Learning
A new AI-generated tutorial on models that are right for the wrong reasons
Another one in the AI tutorial series:
📄 Shortcut Learning in Machine Learning
Shortcut learning is what happens when a model is right for the wrong reasons. The famous examples are almost funny: a bird classifier that looks at the water instead of the bird, a pneumonia detector that recognises which hospital took the X-ray, or an NLI model that answers without reading the premise. They pass the i.i.d. test and fail exactly where it matters, once the data shift.
The tutorial starts with what a shortcut actually is and where it comes from (the data, simplicity bias and gradient starvation, the training objective). It then goes through the evidence in vision and NLP, the benchmarks and evaluation protocols, and a ladder of diagnostics for checking whether your own model uses a shortcut. Most of the deck is about mitigation, both when you know the groups (reweighting, Group DRO, last-layer retraining) and when you do not (JTT, Learning from Failure, CVaR), plus invariant learning and what pretraining and foundation models change.
Two parts are closest to my own work. One is on tabular data, where the shortcut is usually leakage, a proxy for a sensitive attribute, or a process code that helps in training and disappears in deployment, with a worked SHAP-based audit. The other connects shortcuts to algorithmic fairness: the same groups appear in both literatures, and many documented fairness failures are, at their core, shortcut failures.
It closes with an honest scorecard of which claims the evidence actually supports, and when not to use shortcut-mitigation methods.
As always: AI-generated, so treat it as a map rather than gospel. Enjoy.