Abstract
Algorithms are now regularly used to decide whether defendants awaiting trial are too dangerous to be released back into the community. In some cases, black defendants are substantially more likely than white defendants to be incorrectly classified as high risk. To mitigate such disparities, several techniques recently have been proposed to achieve algorithmic fairness. Here we reformulate algorithmic fairness as constrained optimization: the objective is to maximize public safety while satisfying formal fairness constraints designed to reduce racial disparities. We show that for several past definitions of fairness, the optimal algorithms that result require detaining defendants above race-specific risk thresholds. We further show that the optimal unconstrained algorithm requires applying a single, uniform threshold to all defendants. The unconstrained algorithm thus maximizes public safety while also satisfying one important understanding of equality: that all individuals are held to the same standard, irrespective of race. Because the optimal constrained and unconstrained algorithms generally differ, there is tension between improving public safety and satisfying prevailing notions of algorithmic fairness. By examining data from Broward County, Florida, we show that this trade-off can be large in practice. We focus on algorithms for pretrial release decisions, but the principles we discuss apply to other domains, and also to human decision makers carrying out structured decision rules.
Introduction
As algorithms increasingly assist judges in pretrial release decisions, a fierce debate has erupted over potential racial bias. A prominent analysis of the COMPAS tool found that Black defendants were twice as likely as White defendants to be incorrectly labeled "high risk"—a disparity in the False Positive Rate (FPR). This paper addresses the core of this tension: Can an algorithm be both "fair" (by equalizing error rates) and "optimal" for public safety? The authors frame this as a conflict between two intuitions of equality: treating every individual by the same risk threshold (Equal Standards) versus ensuring error rates are identical across groups (Equal Outcomes).
Methods: Fairness as Constrained Optimization
The authors treat algorithmic fairness as a constrained optimization problem. They define a utility function that balances the benefit of preventing violent crime against the social and economic costs of detention.
- The Unconstrained Baseline: To maximize public safety (utility) without fairness constraints, an algorithm should apply a single, uniform risk threshold to all individuals.
- The Constrained Optimum: The authors mathematically prove that for fairness definitions like statistical parity (equal detention rates) or predictive equality (equal FPR), the optimal algorithm must use multiple, race-specific thresholds.
The Threshold Paradox and Infra-marginality
A key insight of the study is the concept of "infra-marginality." Error rates like the FPR depend on the entire distribution of risk for people above the threshold. If one group has a higher concentration of high-risk individuals, their FPR will naturally be higher even if the decision threshold is identical for everyone.
As shown in Figure 1, disparate outcomes emerge naturally from different underlying risk distributions. To satisfy "fairness" by equalizing these rates, one is forced to be "unfair" at the individual level by holding different groups to different standards—potentially releasing higher-risk individuals from one group while detaining lower-risk individuals from another to balance the statistics.
Empirical Results: The Cost of Fairness
To quantify these trade-offs, the authors analyzed a dataset of 3,377 defendants from Broward County, Florida. They compared the safety-optimized rule against rules constrained by various fairness definitions while holding the total number of detainees constant at 30%.
The results, summarized in Figure 6, demonstrate a significant "cost of fairness." Enforcing statistical parity led to an estimated 9% increase in violent crime among released defendants compared to the safety-optimized rule. Predictive equality led to a 7% increase. Conversely, the safety-optimized (single-threshold) rule resulted in stark disparities: 40% of Black defendants were detained compared to only 18% of White defendants.
Conclusion
The study proves that mathematical definitions of fairness often conflict with social utility and the principle of uniform standards. While "calibration" (ensuring risk scores mean the same thing for all groups) is often cited as a solution, the authors show it is insufficient to prevent discrimination. Ultimately, the "cost of fairness" is a quantifiable trade-off that policymakers must navigate, recognizing that mathematical constraints on algorithms may have real-world consequences for public safety.
Summary updated