Fairness Metrics: What They Measure and Where They Conflict
Updated: Oct 19
In 2016, ProPublica analysed COMPAS, a risk score used by courts in Broward County, Florida, for more than 7,000 people arrested in 2013 and 2014. Among defendants who did not reoffend, 44.9% of Black defendants had been labelled higher risk, against 23.5% of white defendants. Among those who did reoffend, 47.7% of white defendants had been labelled lower risk, against 28.0% of Black defendants. ProPublica concluded the tool was biased against Black defendants.
Northpointe, the company behind COMPAS, disputed the analysis. Its argument rested on a different test, predictive parity: a given score meant roughly the same chance of reoffending whatever the defendant's race. By that test, the tool was fair.
Both were right about what they measured. A year later, the statistician Alexandra Chouldechova showed why. When reoffending rates differ between groups (51% for Black defendants and 39% for white defendants in that data), a score that satisfies predictive parity cannot also have equal error rates. The disagreement wasn't about the arithmetic. It was about which kind of unfairness to accept.
That's the decision every team measuring fairness ends up making, usually without noticing. This post shows how to see the conflict in your own numbers, why it can't be engineered away, and how to make the choice deliberately.
Build the per-group table first
Every common fairness metric is a ratio from the same four counts: true positives, false positives, true negatives and false negatives, split by group. Before choosing a metric, build that table for your model at the threshold you actually use. The discovery move is to look at all of it before deciding which number matters.
Here is an illustrative example: a lending model that flags applicants as "high risk of default", tested on 1,000 applicants from each of two groups. Group A's default rate is 30%; group B's is 15%. The model has been tuned so that its flags mean the same thing in both groups.
Measure | What it asks | Group A | Group B |
Base rate | How many actually defaulted? | 30% (300) | 15% (150) |
Flag rate (selection rate) | How many were flagged? | 35% (350) | 17.5% (175) |
Precision (positive predictive value) | Of those flagged, how many defaulted? | 60% | 60% |
True positive rate | Of those who defaulted, how many were flagged? | 70% | 70% |
False positive rate | Of those who repaid, how many were wrongly flagged? | 20% (140 of 700) | 8.2% (70 of 850) |
The figures are illustrative, but the arithmetic is exact. The model's flags are equally reliable in both groups, and it catches the same share of defaulters. Yet someone in group A who would have repaid is more than twice as likely to be wrongly flagged as someone in group B. Whether this model is "fair" depends entirely on which row you read.
The test: can you produce this table for your model, by group, at the live threshold, with counts? Include the counts. A rate computed from 40 people can swing by several points from one month to the next, and a gap that small may be noise.
Selection rates and the four-fifths rule
The simplest measure compares flag or selection rates between groups. It's called demographic parity, or statistical parity, when the rates are required to match. In the example, 65% of group A are approved and 82.5% of group B.
US employment law has a long-standing screen for this. The Uniform Guidelines on Employee Selection Procedures treat a selection rate below four-fifths (80%) of the highest group's rate as generally evidence of adverse impact. Here, 65 ÷ 82.5 is 0.79, just under the line. The Guidelines are explicit that this is a rule of thumb: smaller differences can still count if they are statistically and practically significant, and larger ones may not count if they rest on small numbers.
Selection rates are easy to measure and explain, and they need no outcome labels, which matters when outcomes take years to arrive. Their limitation is that they ignore base rates. If the groups really do differ in the outcome, forcing equal selection rates means more errors for someone. If the difference in base rates comes from biased history or biased labels, equal selection rates may be exactly the correction you want. The metric can't tell you which case you're in. Only the data can (see "Check what the labels actually measure" below).
The test: compute the ratio of each group's selection rate to the highest group's rate. Below 0.8, find out why before anyone outside the team asks.
Equal error rates
Equalized odds, defined by Hardt, Price and Srebro in 2016, requires equal true positive rates and equal false positive rates across groups. A weaker version, equal opportunity, requires only equal true positive rates: people who should get the good outcome get it at the same rate whatever their group.
This is the measure ProPublica applied. It takes the outcome into account, so a model can flag more people in a group with a higher base rate. What it can't do is make more mistakes for one group than another. The example model fails it: equal true positive rates, but false positive rates of 20% and 8.2%.
Hardt and colleagues also showed how to fix it after training: choose a threshold for each group so that the error rates match. That moves the cost of the model's imperfection onto the decision maker, who then has a reason to improve the model. The catch is practical: it means using group membership at decision time. In some regulated decisions, such as employment and lending, that may be restricted. Check with counsel before you ship group-specific thresholds.
The test: for your model, compare the false positive and true positive rates across groups. Then name who bears each error: who is wrongly flagged, and who is wrongly cleared.
Predictive parity and calibration
Predictive parity asks the question Northpointe asked: when the model says "high risk", is the chance of the outcome the same for every group? Calibration is the stronger version for scores: among everyone scored 7, the outcome rate should be the same in every group.
This is what makes a score usable by the person reading it. If "high risk" meant a 70% chance for one group and 50% for another, a loan officer or judge reading the label would be misled about some people every time. The example model satisfies predictive parity: 60% of flagged applicants in both groups go on to default.
The test: bucket scores into deciles and plot the actual outcome rate per decile, one line per group. Lines that diverge mean the same score carries different information depending on who receives it.
Why you can't have them all
Chouldechova's paper makes the conflict precise with a single equation linking the base rate (p), precision (PPV), false positive rate (FPR) and false negative rate (FNR):
FPR = p / (1 - p) × (1 - PPV) / PPV × (1 - FNR)
Hold PPV and FNR equal across two groups, and the false positive rate must move with the base rate. In the example: group A, 0.43 × 0.67 × 0.7 = 0.20; group B, 0.18 × 0.67 × 0.7 = 0.08. Different base rates force different false positive rates. If you equalise the false positive rates instead, precision has to diverge.
Kleinberg, Mullainathan and Raghavan proved a related result the same year for risk scores: calibration and balanced error rates can't all hold, except when base rates are equal or prediction is perfect. Neither exception happens in practice. This isn't a limitation of current techniques. Better models don't make it go away.
The test: compute the base rate for each group in your evaluation data. If they differ, you cannot have both equal precision and equal error rates, so decide which one matters more now, not after a journalist decides for you.

Check what the labels actually measure
Every metric above assumes the outcome label is the truth. Often it is a proxy, and the proxy can carry the bias in with it.
In 2019, Obermeyer and colleagues studied an algorithm used by US health systems to pick patients for extra care programmes. At the same risk score, Black patients were considerably sicker than white patients. The cause was the label: the algorithm predicted future healthcare costs, not illness. Because less money is spent on Black patients' care, cost understated their need. Remedying the disparity would raise the share of Black patients selected for extra help from 17.7% to 46.5%. By some measures of accuracy the algorithm looked fine. The problem was in the data before any model was trained.
The same applies whenever the recorded outcome depends on past decisions: an arrest depends on where policing happens, a default depends on who got the loan, and a "good hire" depends on who was hired and who managed them. A biased label makes calibration and error-rate metrics measure agreement with the bias.
The test: write down, in one sentence, what your outcome label actually records and who decided it. If it's a past human decision or a cost, check for gaps between groups with an independent measure of the outcome before trusting any fairness metric built on it.
Choose by the cost of each error
Since the metrics conflict, choose the one that protects people from the error that hurts them most in your context. These are starting points, not rules:
Context | Error that does most harm | Hold this equal across groups | What you accept |
Pretrial detention, fraud holds, account bans | Wrongly flagging someone innocent | False positive rate | Precision may differ by group |
Medical screening, safety checks | Missing someone who needs help | True positive rate (equal opportunity) | More false alarms in some groups |
A score a person reads and acts on, such as a credit score | The same score meaning different things | Calibration, predictive parity | Error rates may differ by group |
Allocating an opportunity when labels are biased or slow | Repeating a biased history | Selection rates, within the four-fifths screen | Some loss of measured accuracy |
Then record the decision where an auditor or a new team member can find it:
Fairness decision: loan default model v3
Decision: hold false positive rates within 2 points across groups
Why: a wrong "high risk" flag denies credit to someone who would repay;
that harm falls on the applicant, not on us
Accepting: precision 60% (group A) vs 52% (group B) at the new thresholds
Label check: default is only observed for approved loans; effect on
group base rates reviewed with the risk team
Monitored, not optimised: selection-rate ratio (alert below 0.8),
calibration by decile (quarterly)
Owner: credit-risk modelling lead. Review: each retrain, or at least
every 6 months
The test: could someone outside the team read your decision record and say which error you chose to minimise, who bears the trade-off, and when it will be reviewed? If the answer lives only in a notebook, the decision hasn't been made, just defaulted.
What to do this week
Pick one model that makes decisions about people. Build the per-group table at its live threshold, with counts. Compute the base rate per group and the selection-rate ratio. Write one sentence on what the label measures. Then draft the decision record, even if the decision is "we're holding predictive parity and accepting unequal error rates", and get the owner to sign it. Bias in Training Data: Where It Hides and How to Find It covers the data checks in more depth, and the AI Governance in the Pipeline checklist covers where those checks belong in your release process.
Final takeaway
ProPublica and Northpointe looked at the same scores and reached opposite conclusions, and both were right about what they measured. When base rates differ between groups, equal precision and equal error rates can't both hold. That's arithmetic, not a gap in technique. So the work is in seeing the trade-off and making it on purpose. Build the per-group table with counts at your live threshold. Check what the label really records before trusting any metric built on it. Choose the metric that protects people from the error that hurts them most in your context, write down what you are accepting, and keep monitoring the metrics you chose not to optimise.
Sources
Angwin, J., Larson, J., Mattu, S. and Kirchner, L., "Machine Bias", ProPublica, 23 May 2016: Broward County, Florida, more than 7,000 people arrested in 2013–2014; labelled higher risk but didn't reoffend, 44.9% (Black) vs 23.5% (white); labelled lower risk but did reoffend, 28.0% vs 47.7%; Northpointe disputed the analysis. https://www.propublica.org/article/machine-bias-risk-assessments-in-criminal-sentencing
Chouldechova, A., "Fair Prediction with Disparate Impact: A Study of Bias in Recidivism Prediction Instruments", Big Data 5(2), 2017, pp. 153–163: equation (2.6) relating prevalence, PPV, FPR and FNR; Northpointe's predictive-parity argument; recidivism rates of 51% (Black) and 39% (white) in the data. https://doi.org/10.1089/big.2016.0047 (preprint: arXiv:1703.00056)
Kleinberg, J., Mullainathan, S. and Raghavan, M., "Inherent Trade-Offs in the Fair Determination of Risk Scores", 2016: "there is no method that can satisfy these three conditions simultaneously" outside highly constrained special cases. https://arxiv.org/abs/1609.05807
Hardt, M., Price, E. and Srebro, N., "Equality of Opportunity in Supervised Learning", Advances in Neural Information Processing Systems 29, 2016: equalized odds and equal opportunity; adjusting a trained predictor to remove discrimination under them. https://arxiv.org/abs/1610.02413
Obermeyer, Z., Powers, B., Vogeli, C. and Mullainathan, S., "Dissecting racial bias in an algorithm used to manage the health of populations", Science 366(6464), 2019, pp. 447–453: the algorithm predicted costs rather than illness; remedying the disparity would raise the share of Black patients receiving additional help from 17.7% to 46.5%. https://doi.org/10.1126/science.aax2342
US Code of Federal Regulations, 29 CFR § 1607.4(D), Uniform Guidelines on Employee Selection Procedures: a selection rate below four-fifths (80%) of the highest group's rate is generally regarded as evidence of adverse impact; smaller differences may still count, and small numbers may not. https://www.law.cornell.edu/cfr/text/29/1607.4
Related reading
Keep learning. This article is part of the AI Governance & Responsible AI path in the ShiftQuality Learning Center. Ship AI you can stand behind — fair, transparent, and accountable.


