{"course":{"slug":"ai-and-you","title":"AI, Safety and What Goes Wrong","url":"https://addaly.com/learn/ai-and-you","level":"beginner","track":"start"},"lesson":{"slug":"three-definitions-of-fair","title":"Three definitions of fair, stated precisely","url":"https://addaly.com/learn/ai-and-you/three-definitions-of-fair","position":12,"of":73,"minutes":9,"answer":"Demographic parity compares overall decision rates. Equalized odds compares decision rates within each true outcome. Calibration checks whether the observed outcome frequency matches the probability score in each group.","keyIdea":"Demographic parity compares overall decision rates. Equalized odds compares decision rates within each true outcome. Calibration checks whether the observed outcome frequency matches the probability score in each group."},"body":{"format":"markdown","text":"## \"Fair\" is not one thing\n\nOnce you can compute the rates, the word \"fair\" splits into several claims that sound alike in English and are different in arithmetic. Here are three common measures. Each asks a different question. Choose the question that matches the harm you are trying to prevent.\n\n## Definition one: equal outcomes\n\n**Demographic parity**, sometimes called statistical parity or independence. The proportion of each group receiving the favourable decision is the same. If 60% of Group A applicants are approved, 60% of Group B applicants are approved.\n\nWhat it is good for: cases where the outcome itself is the thing being distributed and you doubt the ground truth. Advertising, outreach, shortlisting for interview, allocation of scarce places. If you believe the historical labels are contaminated (that \"did well in the job\" was itself measured by biased managers) then insisting on equal outcomes is a way of refusing to inherit that.\n\nWhat it costs: equal approval rates can hide different error rates. If the groups have different readiness rates, a rule that uses readiness alone may produce different approval rates. You can also reach parity with a bad rule: invite 40% of each group by drawing names at random. Check the quality of the decisions separately.\n\n## Definition two: equal error rates\n\n**Equalized odds** (also spelled **equalised odds**) checks a yes-or-no decision. Among people who would in fact repay, the approval rate is equal across groups; among people who would in fact default, the approval rate is equal too. In the language of [Counting the four ways to be right and wrong](/learn/ai-and-you/the-confusion-matrix-by-group): equal true positive rates *and* equal false positive rates.\n\nA weaker version, **equal opportunity**, requires only the first: qualified people have the same chance regardless of group.\n\nWhat it is good for: this matches most people's intuition about individual fairness in a system where the outcome is real. It says: if you would have repaid, your group should not change your odds of being believed. ProPublica compared the two error rates in its [COMPAS analysis](https://www.propublica.org/article/how-we-analyzed-the-compas-recidivism-algorithm).\n\nWhat it costs: it requires you to trust the labels. If \"defaulted\" or \"reoffended\" is itself measured unequally (and rearrest is a famously unequal measurement of reoffending) then equalising errors against a contaminated target encodes the contamination more evenly.\n\n## Definition three: the score means the same thing\n\n**Calibration by group** checks a probability score. Of the people given a 70% chance of repaying, about 70 in 100 should repay in each group with enough observations. Repeat that check at other score levels. If the rate is 50% in both groups at a score of 70%, the groups match each other and the score is still miscalibrated.\n\nWhat it is good for: this is what a decision-maker needs in order to use a score sensibly at all. If a score labelled 70% corresponds to an observed risk of 60% for one group and 30% for another, it cannot be interpreted as 70% for either group.\n\nWhat it costs: calibration is compatible with large disparities in who is wrongly labelled. A well-calibrated score can still produce different error rates when it is turned into a decision. Matching one rate does not show that the other rate matches.\n\n## Also on the list, briefly\n\n**Individual fairness** (similar people should be treated similarly) sounds like the cleanest principle of all and hides the whole problem in the word \"similar\". Defining similarity requires deciding which differences are legitimate, which is the original question.\n\n**Counterfactual fairness** (the decision should be unchanged if the person's group membership had been different, holding everything else fixed) is philosophically attractive and usually unmeasurable, because group membership is upstream of half the other variables. Change someone's caste and you change their school, their neighbourhood and their surname.\n\n## How to choose\n\nA usable procedure, which will not make anyone comfortable and is better than the alternative of choosing by accident:\n\n1. **Name the harm you most want to avoid.** Wrongly denying an opportunity, or wrongly granting one, or a visible gap in aggregate outcomes.\n2. **Ask whether you trust the label.** If the ground truth is itself a record of unequal treatment, definitions that condition on it inherit that, and parity-style definitions become more defensible.\n3. **Ask whether a human will read the score.** If yes, calibration is close to mandatory, because a miscalibrated score silently misleads every reader.\n4. **Write down the definition you chose, and what you are therefore giving up, and why.** Dated, in a file, next to the model.\n\nStart with [Hardt, Price and Srebro on equalized odds](https://arxiv.org/abs/1610.02413), then work through the denominators in [Why you cannot have all three](/learn/ai-and-you/why-you-cannot-have-all-three)."},"check":{"question":"A hospital displays a probability of needing follow-up. Which check tells whether a displayed 70% is a trustworthy probability for each patient group?","options":[{"text":"Demographic parity, so that follow-up appointments are spread equally across groups","correct":false,"tempting":"Equalises the visible outcome, but a clinician reading a score needs it to mean something. Parity can be met by a score that misleads every reader."},{"text":"Equalized odds, so the decision rule has the same true and false positive rates in each group","correct":false,"tempting":"A serious candidate and often desirable. It does not stop the displayed number from meaning different real risks for different patients."},{"text":"Calibration by group: about 70% of people given 70% need follow-up in each group","correct":true},{"text":"Individual fairness, because clinical decisions are about individuals, not groups","correct":false,"tempting":"Appeals to the individual, but the definition depends on a similarity measure nobody has specified, so it constrains nothing in practice."}],"why":"Compare the observed follow-up rate at that score with 70%, separately for each group."},"prev":{"slug":"the-confusion-matrix-by-group","title":"Counting the four ways to be right and wrong","url":"https://addaly.com/learn/ai-and-you/the-confusion-matrix-by-group"},"next":{"slug":"why-you-cannot-have-all-three","title":"Why you cannot have all three","url":"https://addaly.com/learn/ai-and-you/why-you-cannot-have-all-three"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'Three definitions of fair, stated precisely', in AI, Safety and What Goes Wrong. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-and-you/three-definitions-of-fair (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"Three definitions of fair, stated precisely","courseTitle":"AI, Safety and What Goes Wrong","module":{"index":2,"slug":"bias-and-fairness","title":"Bias, and how to measure it"},"answer":null,"keyIdea":"Demographic parity compares overall decision rates. Equalized odds compares decision rates within each true outcome. Calibration checks whether the observed outcome frequency matches the probability score in each group.","hero":{"kind":"plate","image":null,"alt":null,"caption":null},"blocks":[{"t":"h2","id":"fair-is-not-one-thing","runs":[{"text":"“Fair” is not one thing"}]},{"t":"p","runs":[{"text":"Once you can compute the rates, the word “fair” splits into several claims that sound alike in English and are different in arithmetic. Here are three common measures. Each asks a different question. Choose the question that matches the harm you are trying to prevent."}]},{"t":"h2","id":"definition-one-equal-outcomes","runs":[{"text":"Definition one: equal outcomes"}]},{"t":"p","runs":[{"text":"Demographic parity","b":true},{"text":", sometimes called statistical parity or independence. The proportion of each group receiving the favourable decision is the same. If 60% of Group A applicants are approved, 60% of Group B applicants are approved."}]},{"t":"p","runs":[{"text":"What it is good for: cases where the outcome itself is the thing being distributed and you doubt the ground truth. Advertising, outreach, shortlisting for interview, allocation of scarce places. If you believe the historical labels are contaminated (that “did well in the job” was itself measured by biased managers) then insisting on equal outcomes is a way of refusing to inherit that."}]},{"t":"p","runs":[{"text":"What it costs: equal approval rates can hide different error rates. If the groups have different readiness rates, a rule that uses readiness alone may produce different approval rates. You can also reach parity with a bad rule: invite 40% of each group by drawing names at random. Check the quality of the decisions separately."}]},{"t":"h2","id":"definition-two-equal-error-rates","runs":[{"text":"Definition two: equal error rates"}]},{"t":"p","runs":[{"text":"Equalized odds","b":true},{"text":" (also spelled "},{"text":"equalised odds","b":true},{"text":") checks a yes-or-no decision. Among people who would in fact repay, the approval rate is equal across groups; among people who would in fact default, the approval rate is equal too. In the language of "},{"text":"Counting the four ways to be right and wrong","href":"https://addaly.com/learn/ai-and-you/the-confusion-matrix-by-group"},{"text":": equal true positive rates "},{"text":"and","i":true},{"text":" equal false positive rates."}]},{"t":"p","runs":[{"text":"A weaker version, "},{"text":"equal opportunity","b":true},{"text":", requires only the first: qualified people have the same chance regardless of group."}]},{"t":"p","runs":[{"text":"What it is good for: this matches most people’s intuition about individual fairness in a system where the outcome is real. It says: if you would have repaid, your group should not change your odds of being believed. ProPublica compared the two error rates in its "},{"text":"COMPAS analysis","href":"https://www.propublica.org/article/how-we-analyzed-the-compas-recidivism-algorithm"},{"text":"."}]},{"t":"p","runs":[{"text":"What it costs: it requires you to trust the labels. If “defaulted” or “reoffended” is itself measured unequally (and rearrest is a famously unequal measurement of reoffending) then equalising errors against a contaminated target encodes the contamination more evenly."}]},{"t":"h2","id":"definition-three-the-score-means-the-same-thing","runs":[{"text":"Definition three: the score means the same thing"}]},{"t":"p","runs":[{"text":"Calibration by group","b":true},{"text":" checks a probability score. Of the people given a 70% chance of repaying, about 70 in 100 should repay in each group with enough observations. Repeat that check at other score levels. If the rate is 50% in both groups at a score of 70%, the groups match each other and the score is still miscalibrated."}]},{"t":"p","runs":[{"text":"What it is good for: this is what a decision-maker needs in order to use a score sensibly at all. If a score labelled 70% corresponds to an observed risk of 60% for one group and 30% for another, it cannot be interpreted as 70% for either group."}]},{"t":"p","runs":[{"text":"What it costs: calibration is compatible with large disparities in who is wrongly labelled. A well-calibrated score can still produce different error rates when it is turned into a decision. Matching one rate does not show that the other rate matches."}]},{"t":"h2","id":"also-on-the-list-briefly","runs":[{"text":"Also on the list, briefly"}]},{"t":"p","runs":[{"text":"Individual fairness","b":true},{"text":" (similar people should be treated similarly) sounds like the cleanest principle of all and hides the whole problem in the word “similar”. Defining similarity requires deciding which differences are legitimate, which is the original question."}]},{"t":"p","runs":[{"text":"Counterfactual fairness","b":true},{"text":" (the decision should be unchanged if the person’s group membership had been different, holding everything else fixed) is philosophically attractive and usually unmeasurable, because group membership is upstream of half the other variables. Change someone’s caste and you change their school, their neighbourhood and their surname."}]},{"t":"h2","id":"how-to-choose","runs":[{"text":"How to choose"}]},{"t":"p","runs":[{"text":"A usable procedure, which will not make anyone comfortable and is better than the alternative of choosing by accident:"}]},{"t":"ol","start":1,"items":[[{"text":"Name the harm you most want to avoid.","b":true},{"text":" Wrongly denying an opportunity, or wrongly granting one, or a visible gap in aggregate outcomes."}],[{"text":"Ask whether you trust the label.","b":true},{"text":" If the ground truth is itself a record of unequal treatment, definitions that condition on it inherit that, and parity-style definitions become more defensible."}],[{"text":"Ask whether a human will read the score.","b":true},{"text":" If yes, calibration is close to mandatory, because a miscalibrated score silently misleads every reader."}],[{"text":"Write down the definition you chose, and what you are therefore giving up, and why.","b":true},{"text":" Dated, in a file, next to the model."}]]},{"t":"p","runs":[{"text":"Start with "},{"text":"Hardt, Price and Srebro on equalized odds","href":"https://arxiv.org/abs/1610.02413"},{"text":", then work through the denominators in "},{"text":"Why you cannot have all three","href":"https://addaly.com/learn/ai-and-you/why-you-cannot-have-all-three"},{"text":"."}]}],"check":{"question":[{"text":"A hospital displays a probability of needing follow-up. Which check tells whether a displayed 70% is a trustworthy probability for each patient group?"}],"options":[{"text":[{"text":"Demographic parity, so that follow-up appointments are spread equally across groups"}],"correct":false,"tempting":[{"text":"Equalises the visible outcome, but a clinician reading a score needs it to mean something. Parity can be met by a score that misleads every reader."}]},{"text":[{"text":"Equalized odds, so the decision rule has the same true and false positive rates in each group"}],"correct":false,"tempting":[{"text":"A serious candidate and often desirable. It does not stop the displayed number from meaning different real risks for different patients."}]},{"text":[{"text":"Calibration by group: about 70% of people given 70% need follow-up in each group"}],"correct":true,"tempting":null},{"text":[{"text":"Individual fairness, because clinical decisions are about individuals, not groups"}],"correct":false,"tempting":[{"text":"Appeals to the individual, but the definition depends on a similarity measure nobody has specified, so it constrains nothing in practice."}]}],"order":[3,1,0,2],"why":[{"text":"Compare the observed follow-up rate at that score with 70%, separately for each group."}]},"prev":{"slug":"the-confusion-matrix-by-group","title":"Counting the four ways to be right and wrong","minutes":9},"next":{"slug":"why-you-cannot-have-all-three","title":"Why you cannot have all three","minutes":9}}}