Mental model
Equalized Odds & Opportunity
Examines how to ensure an algorithm's prediction errors, like false approvals and false rejections, are balanced across different demographic groups.
Discover
An AI system screens resumes for a tech job. It can make two kinds of mistakes. Which error should it prioritize avoiding to be considered 'fair'?
Choose the more critical error to minimize:
This choice reveals a core tension in defining fairness.
Understand
Understand
Equal Opportunity and Equalized Odds are two ways to measure if an AI system is fair. Equal Opportunity demands that for people who are actually qualified (e.g., would repay a loan), the AI gives them a positive outcome (approves the loan) at the same rate, regardless of their group. Equalized Odds is stricter: it requires this and demands that for people who are not qualified, the AI gives them a negative outcome at the same rate across groups.
Think of a spam filter: Equal Opportunity means it correctly marks real emails as 'not spam' at the same rate for all senders. Equalized Odds adds that it must also correctly mark actual spam as 'spam' at the same rate.
Ask this: When evaluating an automated system, are its mistakes distributed evenly across different groups?
Full explanation
Full explanation
When an algorithm makes predictions, it can make two kinds of mistakes: false positives (incorrectly saying 'yes') and false negatives (incorrectly saying 'no'). Equal Opportunity and Equalized Odds are fairness criteria that focus on whether these error rates are equal across different demographic groups.
Equal Opportunity
This metric focuses on fairness for those who deserve a positive outcome. It states that the probability of correctly getting a positive prediction should be the same for all groups. This is the same as saying the false negative rate must be equal. It's about not disadvantaging qualified individuals.
For example, if an AI screens for a scholarship, Equal Opportunity requires that among all students who are truly qualified, the same percentage from each demographic group gets recommended. It doesn't want qualified candidates from one group to be overlooked more often than those from another.
Equalized Odds
This is a stronger condition that builds on Equal Opportunity. It requires that both the false negative rate and the false positive rate be equal across groups. In addition to giving qualified people a fair shot, it also ensures that unqualified people are treated similarly.
Consider an AI used in pre-trial risk assessments to recommend bail. A false negative is releasing someone who reoffends. A false positive is detaining someone who would not have. Equalized Odds would demand that for both people who would and would not reoffend, the algorithm's error rates are the same regardless of race. This prevents one group from being disproportionately exposed to either type of mistake.
Research
Research
Equalized Odds and Opportunity are statistical 'group fairness' definitions that constrain an algorithm's error rates to be equal between groups based on protected characteristics like race or gender [1, 2].
- These metrics were developed to provide a more nuanced approach than simpler criteria like demographic parity, which only considers the overall rate of positive predictions and can be satisfied by models that harm qualified individuals from a protected group [1, 4]. [1] (2016)
- By conditioning on the ground truth outcome, these definitions force a model to perform consistently across groups for both individuals who are qualified for a positive outcome (true positives) and those who are not (true negatives) [1, 5]. [2] (2019)
Limitations
Limitations
These metrics have significant limitations. First, they require access to a 'ground truth' label (e.g., who actually would repay a loan), which is often unavailable or reflects the very historical biases the model is intended to correct [2]. Second, satisfying these group-level statistical criteria does not guarantee fairness for any given individual. Finally, it is often impossible to satisfy multiple fairness criteria simultaneously, and enforcing these constraints can reduce the overall accuracy of the model, creating a direct 'fairness-accuracy' tradeoff that must be carefully navigated [3].
Try it
Synthesize
Choose a pattern from the guide, then pick an action to try with it.
Which pattern stands out?
What will you try?
Choose a pattern above to select an action.
Sources
Sources
- [1] Equality of Opportunity in Supervised LearningMoritz Hardt, Eric Price, & Nathan Srebro - 2016
- [2] Fairness and Machine Learning: Limitations and OpportunitiesSolon Barocas, Moritz Hardt, & Arvind Narayanan - 2019
- [3] Inherent Trade-Offs in the Fair Determination of Risk ScoresJon Kleinberg, Sendhil Mullainathan, & Manish Raghavan - 2016
- [4] Fairness Definitions ExplainedSahil Verma & Julia Rubin - 2018
- [5] Attacking discrimination with smarter machine learningGoogle People + AI Research (PAIR) - 2022
Try it
Check your understanding
A city uses an AI to predict which restaurants are likely to have health code violations. To comply with **Equal Opportunity**, what must be true?
Show the guide's explanation
Answer: Among restaurants that *truly have* violations, the AI flags them at the same rate regardless of neighborhood.
Equal Opportunity focuses on ensuring that the 'true positives' (correctly identifying a violation) happen at the same rate for all groups (neighborhoods). It ensures those who *should* be identified are identified at equal rates.
When would choosing the stricter **Equalized Odds** metric be more important than just Equal Opportunity?
Show the guide's explanation
Answer: When an AI flags travelers for extra airport security screening.
Equalized Odds considers both false positives and false negatives. In airport security, a false positive (flagging a safe traveler) has a high cost, so it's critical to balance that error rate across groups, not just the false negative rate.
A hiring team is most worried about unfairly rejecting qualified candidates from underrepresented groups. Which fairness metric directly addresses this primary concern?
Show the guide's explanation
Answer: Equal Opportunity
Equal Opportunity specifically requires that the true positive rate is the same across groups. This directly translates to ensuring qualified candidates from all groups have an equal chance of being correctly identified and not being passed over (a false negative).
Keep exploring
Find another idea for the decision in front of you.
The complete Reframo library is free to read. Explore another guide whenever you are ready.