An average can hide a pattern #
A classifier can perform well on a dataset dominated by one group even if it fails frequently for another. Imagine two groups with 990 and 10 examples. A system that correctly classifies the entire first group and misclassifies every example of the second reaches 99 percent accuracy. Reporting the group sizes and error counts changes the interpretation immediately.
What Gender Shades measured #
In 2018, Joy Buolamwini and Timnit Gebru tested three commercial systems that classified faces into binary gender categories. They examined error rates across groups defined by perceived gender and skin type. Across the tested systems, darker-skinned women had the highest error rates, reaching 34.7 percent in one system. Lighter-skinned men had a maximum error rate of 0.8 percent. The authors also inspected the composition of two commonly used facial-analysis datasets.
The task was classification from an image. The study’s result belongs to those products, versions and evaluation conditions. It also invites a separate question about whether a person's gender can appropriately be represented or inferred by the labels a product offers.
Make an evaluation interpretable #
Model cards, proposed by Margaret Mitchell and colleagues, document a model’s intended use and relevant performance differences across conditions or groups. Useful reporting identifies the source of group labels, sample sizes and uncertainty. The choice of metric matters to people using the service. For example, missing an eligible applicant and incorrectly accepting an ineligible applicant impose different costs, even when both count as one error.
When reasonable metrics disagree #
Consider a score intended to estimate whether an event will occur. A calibration test checks whether, within each group, events happen about 30 percent of the time among people assigned a 30 percent probability. A different question asks whether people who actually experience the event receive comparable average scores across groups. A third asks the same question about those who do not experience it. These questions concern different subsets of the data.
Kleinberg, Mullainathan and Raghavan showed that their formal versions of these three conditions generally conflict when group event rates differ and prediction is imperfect. The result concerns a specific set of mathematical requirements. It does not choose which goal a particular service ought to prioritize. Reporting the rate of successful appeals, for example, would address a practical consequence of errors that none of those three score conditions measures on its own.
When the training target measures the wrong thing #
Ziad Obermeyer and colleagues studied a commercial algorithm that helped identify patients for extra care. Its score predicted future medical spending. The intended decision depended on patients’ health needs. Patients with similar needs can generate different bills when they have different access to care. In the study population, Black patients at a given score had more chronic illness than White patients at the same score. Checking only how well the algorithm forecast expenditure would have missed that difference.
The researchers also estimated how the selection would change if patients near the cutoff had comparable levels of illness. Among the patients automatically identified for the program at the 97th-percentile threshold, the share who were Black rose from 17.7% to 46.5% in this simulation. That denominator matters. The result describes the composition of a selected group under a hypothetical change in allocation. Establishing how a revised program affected patients’ health would require observing outcomes after deployment.
Sources
- Joy Buolamwini and Timnit Gebru · Gender Shades (2018) proceedings.mlr.press
- Margaret Mitchell and colleagues · Model Cards for Model Reporting (2019) research.google
- Jon Kleinberg, Sendhil Mullainathan and Manish Raghavan · Inherent Trade-Offs in the Fair Determination of Risk Scores (2016 preprint) arxiv.orgCited in
- Ziad Obermeyer, Brian Powers, Christine Vogeli and Sendhil Mullainathan · Dissecting Racial Bias in an Algorithm Used to Manage the Health of Populations (2019) escholarship.org
Step 2 of 4