Skip to content
Exit presentation

AI Ethics & Society

Measuring who it gets wrong

A leaf app says whether a leaf is healthy or sick. The app learned from photos of one garden.

The app learned from garden photos only.
Step 1 of 4
  1. The app learned from garden photos only.
  2. Test on 8 garden leaves: all 8 right.
  3. Test on 10 forest leaves: only 6 right.
  4. Add forest photos and test again: 9 of 10.

The rule

Test each group on its own. A good total can hide a group it fails.

The app has one rule. It measures shine, a number it reads from the photo. Healthy leaves shine more than sick ones. The app learned the average shine of healthy and of sick leaves. In garden photos, healthy leaves average 78. Sick leaves average 44. It puts a line halfway between the two. (78 + 44) ÷ 2 = 61. A leaf that shines 61 or more is called healthy.

Forest leaves are duller. Some healthy forest leaves shine less than 61. So the app calls them sick.

All 18 test leaves together: 14 right. That total looks high. It hides the forest score of 6 of 10.

Bias means results that are unfair to one group. It often starts with the examples the AI learned from.

The same app, tested on each group
Learned fromGarden scoreForest score
Garden photos only8 of 86 of 10
Garden and forest photos8 of 89 of 10

More examples helped. With forest photos, healthy leaves average about 67 and sick leaves 37. (67 + 37) ÷ 2 = 52. So the line moved down to about 52. The app still gets one forest leaf wrong.

Switch on the forest photos. Watch both scores.

Loading lab…

Jump to lesson

This track

  1. 0 Start here
  2. 1 Measuring who it gets wrong
  3. 2 What it can work out
  4. 3 When seeing is not believing
  5. 4 The work inside a job
  6. 5 Somebody chose this
  7. 6 The list that knows you
  8. 7 Navigating, not fearing
  9. 8 Who can use AI?
  10. 9 Four rules for AI in health care
  11. 10 Checkpoint: choices, lists, habits, access and health care
  12. 12 The big picture
  13. 11 Track quiz

Other tracks