AP® Computer Science Principles · Big Idea 5 · Topic 5.3
Bias in the Data a System Learns From
A system trained mostly on data from one group learns patterns that fit that group best, so it performs worse for everyone left out of the training set — a gap that more data cannot close unless it adds the missing groups.
A system that learns from examples only gets as good as the examples it sees. Train a face recognizer on 9,000 images of one demographic group and 1,000 of everyone else, and it has ten times more chances to learn the patterns of lighting, shape, and feature that describe that first group. Nobody wrote a rule saying "ignore the minority faces." The imbalance in the data becomes an imbalance in the system's skill automatically, because learning from examples means the biggest, most repeated patterns win.
This is why adding more of the same kind of data never fixes it. Ten times more images from the same single group still comes out to 100% of the new data belonging to that group — the ratio in the training set doesn't move, it just gets bigger with the same blind spot baked in. The bias was never about having too few images overall; it was about which groups those images represented. The fix has to be targeted: go out and add images of the missing groups, which changes the actual mix the system learns from, not just the volume.
This connects to a bigger pattern across computing's impact: systems inherit the limits of whoever built and fed them, often without any bad intent. The same logic applies beyond faces — a hiring algorithm trained mostly on past hires from one background, or a medical model trained mostly on one population, will carry that same lopsided performance forward until someone deliberately rebalances the data.
Key terms
- Training data
- The set of examples a system learns patterns from before it is used on new cases.
- Bias (in data)
- A systematic imbalance in who or what the training data represents, leading to uneven performance.
- Unbalanced dataset
- A training set where some groups or categories are represented far more than others.
- Underrepresentation
- When a group appears in the training data far less often than it appears in the real population the system will serve.
Watch it explained
Check yourself
End of topic.