Understanding AI · lesson 8 of 60 · about 5 minutes
Who's Missing from the Data
When some people are missing from the data, AI works worse for them. See how it happens and why it matters.
What you'll learn
- Explain how missing groups lead to worse AI for those groups
- Find who is under-represented in a data set
- Suggest how to fix gaps in data
Gaps become blind spots
AI only learns about what's in its data. If a voice assistant learned mostly from adults with one accent, it will understand children, older people and other accents less well.
Nobody has to intend this. It happens whenever some people are missing or rare in the data.
Real effects
Face recognition has been found to make more mistakes on darker skin, because many training photos showed lighter-skinned faces. Medical AI trained mostly on one group of patients can miss illness in others.
The fix starts with the data: check who's in it, and add the people who are missing.
Checking who is in some voice data. `len()` counts all the items; `count()` counts one kind.
speakers = ["adult", "adult", "adult", "adult", "adult", "child"]
total = len(speakers)
children = speakers.count("child")
print(children, "of", total, "are children")Output
1 of 6 are childrenTip
If a group is missing from the data, ask who collected it and who they left out.
Now try it yourself
This lesson is free in Codiqo, with 6 questions on what you just read. You can only learn to code by writing code, so it ends with a short program you write yourself, which we run and check straight away.