The TWIML AI Podcast
The TWIML AI Podcast

The Measure and Mismeasure of Fairness with Sharad Goel - #363

Today we’re joined by Sharad Goel, Assistant Professor at Stanford. Sharad, who also has appointments in the computer science, sociology, and law departments, has spent recent years focused on applying ML to understanding and improving public policy. In our conversation, we discuss Sharad’s extensiv

Featured Speakers

Sharad Goel Guest

Topics Discussed

Episode Summary

Executive Summary: Stanford professor Sharad Goel discusses how machine learning can reveal bias in policing and why formal mathematical definitions of fairness in ML often fall short. He explains the Stanford Open Policing Project, the threshold test for search discrimination, and argues that fairness depends less on abstract metrics than on the policy actions taken using model outputs.

Main Topics: From math to policy-oriented machine learning: Goel traces his path from math and industry data science into social science and policy, motivated by real-world issues like policing and constitutional rights. Stanford Open Policing Project and police bias measurement: He describes building a national dataset of traffic stops and using statistical methods to detect racial disparities in police searches. Limitations of outcome-based fairness tests: The interview explains why hit-rate or outcome tests can be misleading due to inframarginality, motivating the threshold test. Fair machine learning definitions and their tradeoffs: Goel critiques common fairness notions such as equal error rates, anti-classification, and calibration as incomplete or potentially misleading. Fairness as a policy question, not just a mathematical one: He argues that the ethicality of an algorithm depends on how its predictions are used, contrasting punitive detention with supportive interventions. Need for local use and continued data infrastructure: Goel emphasizes local journalism, community oversight, and sustained effort to keep collecting and standardizing policing data.

Key Arguments: Machine learning can add value to policy debates by quantifying patterns that traditional case-by-case legal processes cannot measure at scale. The Stanford Open Policing Project found statistical evidence that Black and Hispanic drivers face lower search thresholds than white drivers after being stopped. Simple hit-rate analyses can mislead because they ignore inframarginality: a group can have a higher search success rate even if officers use a lower search threshold against them. Fairness definitions such as equal false positive rates, blindness to protected attributes, and calibration are all useful but insufficient as universal standards. Sometimes using protected attributes can improve decision quality and equity, as in affirmative action or risk prediction where group-level differences are relevant. The real fairness question is what action follows the prediction; the same risk score may be unjust when used for punishment but equitable when used to provide support. A better approach is to evaluate downstream consequences and policy context rather than relying on a single mathematical fairness metric.

Data Points: Traffic stops released by Stanford Open Policing Project: Over 200 million - Publicly released stop records from jurisdictions across the U.S. Traffic stops statistically analyzable: About 100 million - Subset of the released stops in sufficiently usable form for statistical analysis. Project duration: About 6 years - Time Goel says the Open Policing Project has been ongoing. Workforce on the project: About 10-11 people - Approximate team size mentioned for data collection and analysis. Total work spent: Over 10,000 hours - Estimated labor invested in compiling and standardizing policing data. New York stop-and-frisk volume: Half a million people stopped per year - Scale of NYPD stop activity during the period discussed. Estimated unconstitutional stops: About 40% - Estimated share of people stopped with less than 1% chance of having a weapon. Likelihood of having a weapon: Less than 1% - Threshold used to illustrate unreasonable suspicion in stop-and-frisk analysis. Search rate range: About 1% to 10% - Typical frequency of discretionary searches depending on jurisdiction. Relative search frequency: Black drivers searched about twice as often - Average national comparison after accounting for context. Jurisdictions represented: About 100 - Scale of national analysis across police departments.

Pivotal Quotes: "We estimated that something like 40% of people were being stopped with less than 1% chance of having a weapon on them." — Sharad Goel: Describing the early stop-and-frisk analysis and its constitutional implications. "It is not so much how accurate your algorithm is, but what you use that information to do." — Sharad Goel: Summarizing the paper’s central claim that fairness is determined by downstream use of predictions. "The answer is not another mathematical approach. It is taking a step back from the math." — Sharad Goel: Explaining why the paper critiques formal fairness definitions as incomplete.

Implications: For practitioners, fairness cannot be reduced to a single metric. Policymakers and ML teams should examine context, downstream use, and local outcomes, especially in high-stakes domains like policing and criminal justice.

🔓 Sign Up for Unlimited Episode Search

About The TWIML AI Podcast

View all episodes from The TWIML AI Podcast