There is growing concern that the rise of algorithmic decision-making can lead to discrimination against legally protected groups, but measuring such algorithmic discrimination is often hampered by a fundamental selection challenge. We develop new quasi-experimental tools to overcome this challenge and measure algorithmic discrimination in the setting of pretrial bail decisions. We first show that the selection challenge reduces to the challenge of measuring four moments: the mean latent qualification of white and Black individuals and the race-specific covariance between qualification and the algorithm’s treatment recommendation. We then show how these four moments can be estimated by extrapolating quasi-experimental variation across as-good-as-randomly assigned decision-makers. Estimates from New York City show that a sophisticated machine learning algorithm discriminates against Black defendants, even though defendant race and ethnicity are not included in the training data. The algorithm recommends releasing white defendants before trial at an 8 percentage point (11 percent) higher rate than Black defendants with identical potential for pretrial misconduct, with this unwarranted disparity explaining 77 percent of the observed racial disparity in algorithmic recommendations. We find a similar level of algorithmic discrimination with regression-based recommendations, using a model inspired by a widely used pretrial risk assessment tool.

More on this topic

BFI Working Paper·Jan 28, 2025

Drive Down the Cost: Learning by Doing and Government Policies in the Global EV Battery Industry

Panle Jia Barwick, Hyuk-soo Kwon, Shanjun Li Nahim, and Bin Zahur
Topics: Energy & Environment, Technology & Innovation
BFI Working Paper·Dec 10, 2024

Learning Fundamentals from Text

Alex G. Kim, Maximilian Muhn, Valeri Nikolaev, and Yijing Zhang
Topics: Technology & Innovation
BFI Working Paper·Oct 7, 2024

12 Best Practices for Leveraging Generative AI in Experimental Research

Samuel Chang, Andrew Kennedy, Aaron Leonard, and John List
Topics: Technology & Innovation