Skip to content

AI Glossary · Concepts

What is Selection Bias?

Selection Bias

Selection bias is the distortion that arises when the examples in a dataset or study are chosen in a way that does not represent the real-world population the results will be applied to.

· Chain of Thought

AI Evaluation & Reliability

  • 2 sources

A retailer trains a model to predict which shoppers will like a new product, using reviews from its website. Only people who bought the product and felt strongly enough to write a review are in the data, so the model learns from enthusiasts and complainers and misses the quiet majority. That is selection bias: the data was collected through a filter, and the filter shapes what the model learns.

Google’s machine learning course names three common forms. Coverage bias means some groups are missing, such as a speech model trained mostly on one accent. Non-response bias means the people who answered differ from those who didn’t, as with optional surveys. Sampling bias means the sample wasn’t random, for example taking the first thousand support tickets of the year and treating them as typical. Survivorship bias, studying only the companies or loans that lasted, is a related trap.

In AI, selection bias shows up in two places. In training data, it produces models that work well for the people and cases that were well represented and worse for everyone else, one route to unfair outcomes discussed under algorithmic fairness. In AI evaluation, a test set chosen from easy or convenient examples makes a system look better than it will perform in production, which is why a golden dataset should be drawn from real traffic and refreshed. Checking for it means comparing who or what is in the data with who or what the system will actually serve, and measuring performance separately for each group.

Sources