Bias & ethics

Who pays for the errors?

Two working modules. The first shows how an accuracy number can hide complete failure on most categories. The second asks you to judge three situations — there is no score, only the considerations that follow from your answer.

A. Class imbalance demonstration

Move the slider to change how much of a fictional 1,000-image dataset belongs to the largest class. The 'model' below is the laziest possible one: it always predicts the majority class.

Dataset composition (fictional)

  • Neutral-type (majority class)700
  • Smiling-type100
  • Frowning-type100
  • Surprised-type100

“Always predict the majority class”

70.0%

overall accuracy

ClassRecall
Neutral-type (majority class)100%
Smiling-type0%
Frowning-type0%
Surprised-type0%

The headline number can look respectable while three of four categories are never predicted at all. That is why per-class recall and a confusion matrix matter: they show where the errors land, not just how many there are.

Class balance is not the same as demographic fairness. A perfectly balanced set of expression categories can still be collected mostly from one age group, one region or one lighting setup — and a model can score well on every class while failing for particular groups of people. These need to be measured separately.

Fictional teaching data. No real dataset is described here.

B. Scenario judgement

Choose a position for each scenario. There is no moral score: the point is to surface consent, the right to opt out, privacy, the cost of errors, and what a less invasive alternative would look like.

Ranking student attention in a classroom

A school installs software that scores each student's attention from facial video and ranks the class weekly.

Public advertising screens inferring passers-by emotion

A screen in a station selects adverts based on the inferred mood of people walking past.

A voluntary, correctable communication aid

An individual chooses to use an app that suggests phrases, can be corrected, and can be switched off at any time.