Fairness Is Not One Number
A risk score can mean the same thing for everyone and still be wrong about one group twice as often. That is not a bug in COMPAS; it is a theorem. Here are the three fairness criteria, the proof that you cannot have them all, and the numbers from the cases that made the field.
In May 2016 ProPublica published an analysis of COMPAS, a commercial tool that scores criminal defendants for risk of re-offending. Among Broward County defendants who were not re-arrested within two years, 44.85% of Black defendants had been labelled medium or high risk, against 23.45% of white defendants. Among those who were re-arrested, 47.72% of white defendants had been labelled low risk, against 27.99% of Black defendants [1]. The tool, ProPublica concluded, was biased against Black defendants.
Northpointe, the vendor, replied within weeks that the scores were equally accurate for both groups: a given score predicted about the same probability of re-arrest whether the defendant was Black or white, and the area under the ROC curve was 0.69 for white defendants and 0.70 for Black defendants [5, 6]. The tool, Northpointe concluded, was fair.
Both sides had the arithmetic right. What they disagreed about was the definition, and within months two independent papers proved that the disagreement could not be settled by a better model, because the two notions of fairness they were using are mathematically incompatible whenever the groups have different base rates [2, 4]. That result is the spine of this post. Everything else, from the COMPAS case to the fairness of language models, is about living with it.
Three criteria, stated precisely
Let A be a protected attribute, Y the true outcome, R a score and Ŷ a binary decision made from it. The fairness literature has converged on three families of criterion, each an independence statement about the joint distribution of these variables [3].
Independence, usually called demographic or statistical parity, asks that the decision not depend on the group at all: Ŷ ⟂ A. The positive rate is the same for everyone. It is the oldest criterion and the one most easily satisfied by a bad model, since a coin flip satisfies it.
| Separation asks that the decision be independent of the group given the truth: Ŷ ⟂ A | Y. Hardt, Price and Srebro named the two-sided version equalized odds, meaning equal true positive rates and equal false positive rates across groups, and the one-sided version equal opportunity, meaning equal true positive rates only [3]. The intuition is that people who deserve a positive decision should get one at the same rate regardless of group, and likewise for people who do not. |
| Sufficiency, usually called calibration, asks that the truth be independent of the group given the score: Y ⟂ A | R. A score of 7 means the same probability of the outcome for everyone. This is the criterion Northpointe invoked, and it is what a statistician would check first, because it says the score is an honest probability. |
Hardt et al. showed that any score can be post-processed into a predictor satisfying equalized odds or equal opportunity by choosing group-specific thresholds, randomising between two thresholds where necessary, and that this is the best derived predictor available [3]. They also attached the caveat that gets quoted least often: all three criteria are oblivious. They depend only on the joint statistics of (R, Y, A). Two scoring systems with identical statistics, one of which encodes a genuinely informative signal and one of which encodes a bigoted one, are indistinguishable to any oblivious test. Statistical fairness has a ceiling, and the ceiling is built into the definitions.
The cost ladder
The same paper contains the cleanest demonstration I know of what each criterion costs. Hardt et al. took 301,536 TransUnion credit scores from 2003, grouped by race, with default defined as any account 90 or more days late within the following 18 to 24 months, and asked how much profit a lender makes under each fairness constraint, assuming a loan breaks even when the repayment probability is 82% [3].
The unconstrained optimum uses a different threshold per group and is, for that reason, politically unusable in most jurisdictions. A single race-blind threshold costs 0.7% of maximum profit. Equal opportunity costs 7.2%. Equalized odds, which requires two thresholds per group with randomisation between them, costs 19.8%. Demographic parity costs 30.2%. These are not abstract: in the equalized-odds solution, two applicants with identical scores can receive different decisions by coin flip, which is the kind of procedure courts and customers find hard to accept even when the aggregate statistics are better.
Corbett-Davies and colleagues made the same point on the COMPAS data, framing fairness as constrained optimisation [8]. For every common constraint the optimal rule is a group-specific threshold, and the unconstrained optimum is a single threshold. On 3,377 Broward defendants, with a policy of detaining 30%, a single threshold detains 40% of Black and 18% of white defendants. Imposing statistical parity means 17% of the detained are low-risk and the estimated violent-crime rate rises by about 9%; imposing equal false positive rates (“predictive equality”) gives 14% and 7%; conditional statistical parity gives 10% and 4%. The paper’s title calls this the cost of fairness, and whatever one thinks of the framing, the lesson is that the choice between criteria is a priced policy decision, not an engineering detail.
Why you cannot have all of them
Chouldechova’s argument [2] fits on one line. For any classifier and any group, the false positive rate, false negative rate, positive predictive value (PPV) and prevalence p are linked by the identity
Northpointe’s claim of predictive parity is that PPV is the same for both groups. In the ProPublica data the two-year re-arrest rate is 51% for Black defendants and 39% for white defendants [2]. Plug those in: with equal PPV, the ratio FPR / (1 − FNR) must be about 1.6 times larger for Black defendants than for white ones. Equal PPV with unequal base rates forces unequal error rates. ProPublica’s finding is not evidence of a bug; it is a consequence of the property Northpointe was defending.
Kleinberg, Mullainathan and Raghavan proved the general version for scores rather than binary decisions [4]. Take three conditions: (A) calibration within each group, (B) balance for the negative class, meaning the average score of people who do not have the outcome is equal across groups, and (C) balance for the positive class, the same for people who do. All three hold simultaneously only if the groups have equal base rates or the score is perfect, and approximate versions of the three force an approximate version of one of those two escapes. The theorem applies to any risk score, human or algorithmic.
They do not say demographic parity is incompatible with calibration; that is a much easier fact, since any calibrated score with unequal base rates violates parity by construction. The real content is that calibration, equal false positive rates and equal false negative rates cannot coexist unless base rates match or prediction is perfect. The choice among them is a value judgement that the mathematics cannot make for you.
COMPAS, four ways
The COMPAS argument is worth replaying in order because each party was measuring something real.
ProPublica’s methodology article [1] reported the error rates above, an overall accuracy of about 61%, and for violent recidivism a false positive rate of 38.14% for Black and 18.46% for white defendants. Northpointe’s rebuttal [5] argued accuracy equity (equal AUC) and predictive parity (equal PPV). Flores, Bechtel and Lowenkamp [6], writing in Federal Probation, added that ProPublica had used a pretrial population the instrument was not designed for, dichotomised a three-level scale, and treated a p-value of 0.058 as significant, and reported base rates of 52% versus 39% for general recidivism and AUCs of 0.69 and 0.70 by race. They also showed that the size of the error-rate gap depends on where you cut: splitting the scale between “low” and “medium or high” gives false positive rates of 0.42 against 0.22, whereas splitting between “medium” and “high” gives 0.14 against 0.05.
Then Dressel and Farid asked a different question: is the tool any good [7]? They showed 400 crowd workers seven facts about each of 1,000 defendants, with no race information, and asked whether the person would re-offend. Individual workers were right 62.1% of the time, a majority vote of twenty workers 67.0%, and COMPAS, on the same defendants, 65.2%. A logistic regression on seven features scored 66.6%; a linear classifier on two, age and number of priors, was statistically indistinguishable from COMPAS. Showing workers the defendant’s race changed nothing (66.5%).
The error rates are the striking part. Humans, who were not told race, produced a false positive rate of 37.1% for Black and 27.2% for white defendants, against 40.4% and 25.4% for COMPAS. The disparity lives in the data, in the relationship between priors, age and re-arrest, not in the 137 features Northpointe collects. Any predictor that uses the number of prior arrests, which is both the most predictive feature and one that depends on policing patterns, will inherit it.
So four groups looked at one dataset and reached four conclusions, all of them correct: the error rates differ; the scores are calibrated; the analysis had methodological problems; and the tool is barely better than a two-variable rule. The impossibility theorems explain why the first two cannot both be fixed. Dressel and Farid’s result raises the question of whether a tool this weak should be making the decision at all.
Bias you cannot see in the features
The COMPAS debate is about an outcome you can measure. A subtler class of failure comes from training on a proxy for the outcome you care about.
Obermeyer, Powers, Vogeli and Mullainathan audited a commercial algorithm used to enrol patients in high-risk care management programmes, applied to around 200 million people in the United States [9]. The algorithm predicted future health-care cost, on the reasonable assumption that sicker patients cost more. Race was not among its 149 inputs. But at every level of predicted risk, Black patients were sicker than white patients: at the 97th percentile, where patients are auto-enrolled, Black patients had 26.3% more active chronic conditions. The reason is that less money is spent on Black patients at the same level of illness, about $1,800 per year less in the authors’ data, so cost under-measures need for exactly the group the programme was supposed to help.
The fix was not a fairness constraint. Retraining to predict active chronic conditions instead of cost raised the Black share of the highest-risk group from 14.1% to 26.7%, and the paper’s counterfactual estimate is that a fully unbiased label would raise the share of auto-enrolled Black patients from 17.7% to 46.5%. “Fairness through unawareness”, the practice of removing the protected attribute from the features, did nothing here, because the bias entered through the label.
Buolamwini and Gebru’s Gender Shades study [10] found a different mechanism: the benchmark. Commercial gender classifiers were being evaluated on face datasets that were 79.6% (IJB-A) and 86.2% (Adience) lighter-skinned. On a new benchmark balanced by gender and Fitzpatrick skin type, three commercial systems had error rates of at most 0.8% on lighter-skinned men and of 20.8%, 34.5% and 34.7% on darker-skinned women.
The study established two practices that are now routine. Evaluation must be intersectional, because an aggregate accuracy of 90% can hide a subgroup at 65%. And public audits move vendors: all three updated their systems within months, which is the ancestor of today’s external red-teaming. The datasheets-for-datasets and model-card proposals that followed in 2018–19 are the institutional version of the same idea, and disaggregated evaluation is now a standard section of a model release.
Fairness in language models
For classifiers the fairness question is about decisions. For language models it has gone through three generations, each measuring something the previous one missed.
The first generation measured stereotypes. BBQ [11] is a hand-built question-answering benchmark of 58,492 examples across nine social categories, each with an ambiguous context, where the correct answer is “unknown”, and a disambiguated one. Models’ accuracy on the ambiguous questions was at most 67.5%, and the wrong answers were not random: the fraction of ambiguous-context errors that aligned with the stereotype rose from 56% for RoBERTa-base to 76–77% for UnifiedQA, the most capable model tested. More capable models were more stereotyped, not less. Even with a disambiguating context, accuracy fell by up to 3.4 points when the truth contradicted the stereotype.
The second generation measured decisions. Anthropic’s Discrim-Eval [12] generated 70 high-stakes scenarios, from loan approval to visa decisions, and varied age, gender and race explicitly (9,450 prompts) or implicitly through names. Without intervention Claude 2.0 showed positive discrimination in favour of women, non-binary and non-white applicants and negative discrimination against people over 60. A single instruction in the prompt, stating that discrimination is illegal or that demographics should be ignored, reduced the discrimination score to about 0.15 while preserving 92% of the correlation with the original decisions. The paper is explicit that this is a measurement, not a licence to use the model for such decisions.
The third generation measured what the second might hide. Hofmann, Kalluri, Jurafsky and King [13] used matched-guise prompts, presenting the same content in African American English and Standard American English without naming any group, and found that models across five families assigned the AAE-guise speakers lower-prestige jobs, more convictions and more death sentences. The covert associations matched the adjectives of a 1933 stereotype survey more closely than modern ones, while the models’ overt statements about Black people were positive. Scale and alignment training reduced the overt bias and left the covert bias intact. The honest reading, which the authors give, is that current alignment teaches models to suppress the association in explicit statements rather than to lose it, and that is the strongest argument that Discrim-Eval’s prompt-level fixes are a floor, not a solution.
Two NeurIPS 2024 papers push fairness below the prediction layer. MAGNET [14] addresses tokenisation: byte-pair tokenisers over-segment non-Latin scripts, so speakers of those languages pay more per query and get worse utility, and MAGNET learns script-specific segmentation inside the model to equalise granularity. Group Robust Preference Optimization [15] does worst-group DPO over groups of annotators so that alignment does not improve the majority’s preferences at the expense of a minority’s; it is not to be confused with the reinforcement-learning algorithm that shares the acronym.
What the law asks, briefly
The European Union’s AI Act, Regulation (EU) 2024/1689, treats credit scoring, employment, education, access to essential services and law-enforcement risk assessment as high-risk uses and requires providers to examine training data for bias and permits processing of protected attributes for that purpose. Its obligations phase in over several years, and the high-risk deadlines moved: the Digital Omnibus on AI, tabled in November 2025 and adopted in mid-2026, deferred the stand-alone high-risk obligations from August 2026 to 2 December 2027 and the product-embedded ones to August 2028, while leaving the prohibitions, the general-purpose model duties and the transparency rules on their original schedule (see the law-firm summaries from Gibson Dunn and Hogan Lovells [16, 17]. The operative dates should still be checked against the current text rather than this post. In the United States there is no federal equivalent; enforcement runs through existing anti-discrimination law and a patchwork of state and city rules, several of which have themselves had their effective dates moved. The durable point is independent of the calendar: regulators are asking for exactly the disaggregated, documented evaluation that Gender Shades and the model-card proposals introduced, and for a stated choice of which fairness criterion a system targets.
Choosing, and saying so
The impossibility results are sometimes read as a counsel of despair. I read them the other way. They turn “is this model fair?” into three answerable questions: Is it calibrated across groups? Are its error rates equal across groups? Is its positive rate equal across groups? A system cannot answer yes to all three, so whoever deploys it has made a choice, and the theorems make that choice visible. The failure in the COMPAS case was not that Northpointe chose calibration; it was that the choice was never stated, costed or defended until a newspaper forced the issue.
- There are three families of fairness criterion, independence, separation and sufficiency, and when base rates differ you can satisfy at most one of calibration, equal false positive rates and equal false negative rates. Which one is a policy decision.
- Every criterion has a cost that can be measured, from under 1% of profit for a race-blind threshold to 30% for demographic parity in the FICO data.
- All statistical criteria are oblivious: they cannot distinguish an informative score from a biased one with the same error statistics. Audit the label and the benchmark, where Obermeyer and Gender Shades found the real problems.
- For language models, prompt-level mitigations reduce measured discrimination but leave covert dialect bias intact. Measure both.
References
- Larson, Mattu, Kirchner, Angwin. How We Analyzed the COMPAS Recidivism Algorithm. ProPublica, 2016. propublica.org
- Chouldechova. Fair prediction with disparate impact: A study of bias in recidivism prediction instruments. Big Data 2017 (arXiv 2016). arXiv:1610.07524
- Hardt, Price, Srebro. Equality of Opportunity in Supervised Learning. NeurIPS 2016. arXiv:1610.02413
- Kleinberg, Mullainathan, Raghavan. Inherent Trade-Offs in the Fair Determination of Risk Scores. ITCS 2017 (arXiv 2016). LIPIcs 67
- Dieterich, Mendoza, Brennan (Northpointe). COMPAS Risk Scales: Demonstrating Accuracy Equity and Predictive Parity. Northpointe technical report, 2016. equivant.com
- Flores, Bechtel, Lowenkamp. False Positives, False Negatives, and False Analyses: A Rejoinder to "Machine Bias". Federal Probation 80(2), 2016. uscourts.gov
- Dressel, Farid. The accuracy, fairness, and limits of predicting recidivism. Science Advances 2018. Dartmouth Digital Commons
- Corbett-Davies, Pierson, Feller, Goel, Huq. Algorithmic decision making and the cost of fairness. KDD 2017. arXiv:1701.08230
- Obermeyer, Powers, Vogeli, Mullainathan. Dissecting racial bias in an algorithm used to manage the health of populations. Science 366(6464), 2019. PubMed
- Buolamwini, Gebru. Gender Shades: Intersectional Accuracy Disparities in Commercial Gender Classification. FAT* 2018, PMLR 81. PMLR
- Parrish, Chen, Nangia et al. BBQ: A Hand-Built Bias Benchmark for Question Answering. Findings of ACL 2022. ACL Anthology
- Tamkin, Askell, Lovitt et al. Evaluating and Mitigating Discrimination in Language Model Decisions. arXiv 2023. arXiv:2312.03689
- Hofmann, Kalluri, Jurafsky, King. AI generates covertly racist decisions about people based on their dialect. Nature 2024. nature.com
- Ahia, Kumar, Gonen et al. MAGNET: Improving the Multilingual Fairness of Language Models with Adaptive Gradient-Based Tokenization. NeurIPS 2024. NeurIPS proceedings
- Ramesh, Hu, Chaimalas et al. Group Robust Preference Optimization in Reward-free RLHF. NeurIPS 2024. NeurIPS proceedings
- Gibson Dunn. EU AI Act Omnibus Agreement: Postponed High-Risk Deadlines and Other Key Changes. Client alert, 2026. gibsondunn.com
- Hogan Lovells. EU legislators agree to delay for high-risk AI rules. 2026. jdsupra.com