Inferensys

Glossary

Equalized Odds

A fairness criterion requiring a classifier to achieve equal true positive rates and equal false positive rates across different protected groups.
Stylish WeWork-like workspace with hot desks and document wall, professional searching through enterprise knowledge base on a mounted ultrawide display, warm industrial pendants overhead.
FAIRNESS METRIC

What is Equalized Odds?

A strict statistical fairness criterion requiring a classifier to achieve identical true positive rates and false positive rates across all protected groups.

Equalized Odds is a fairness definition that requires a predictive model to have the same true positive rate (TPR) and false positive rate (FPR) for all demographic groups defined by a protected attribute. Unlike simpler metrics, it penalizes models that compensate for high false positives in one group with high true positives in another, ensuring errors are balanced across both the qualified and unqualified subpopulations.

Formally, a classifier satisfies equalized odds if P(Ŷ=1|Y=y, A=a) = P(Ŷ=1|Y=y, A=b) for all groups a and b, and for both y=0 and y=1. This criterion, introduced by Hardt et al., is a relaxation of the stricter equal calibration standard but is often preferred because it is achievable even when base rates differ between groups, making it a practical target for bias mitigation algorithms.

FAIRNESS METRIC

Key Characteristics of Equalized Odds

Equalized Odds is a rigorous fairness criterion that constrains a classifier's error rates to be independent of protected group membership. It demands parity in both sensitivity and specificity, ensuring the model is equally accurate for all groups.

01

Dual Error Rate Parity

Equalized Odds requires simultaneous equality of True Positive Rates (TPR) and False Positive Rates (FPR) across all protected groups. This is stricter than Demographic Parity, which only cares about prediction rates. A classifier satisfies Equalized Odds if, for any two groups A and B:

  • P(Ŷ=1 | Y=1, A) = P(Ŷ=1 | Y=1, B)
  • P(Ŷ=1 | Y=0, A) = P(Ŷ=1 | Y=0, B) This ensures the model's mistakes are not systematically biased against one group.
TPR & FPR
Required Constraints
02

Separation Criterion

In the fairness taxonomy, Equalized Odds is formally known as the Separation criterion. It mandates that the model's score distribution be independent of the protected attribute, conditional on the true outcome. This means the classifier's output can only correlate with group membership through the target variable itself. Any residual correlation after conditioning on the true label constitutes a violation.

Conditional Independence
Statistical Property
03

COMPAS Case Study Application

The COMPAS recidivism prediction tool became the canonical example for Equalized Odds. A ProPublica investigation found that while the tool had similar AUC across racial groups, it failed Equalized Odds:

  • False Positive Rate for Black defendants: 44.9%
  • False Positive Rate for White defendants: 23.5%
  • False Negative Rate for White defendants: 47.7%
  • False Negative Rate for Black defendants: 28.0% This disparity meant Black defendants were nearly twice as likely to be incorrectly flagged as high-risk.
44.9% vs 23.5%
FPR Disparity in COMPAS
04

Incompatibility with Calibration

A fundamental theoretical result shows that Equalized Odds and Calibration (predictive value parity) are mutually incompatible outside of trivial cases where base rates are equal across groups. If a classifier is well-calibrated—meaning a score of 0.7 represents a 70% chance of recidivism for all groups—it cannot simultaneously satisfy Equalized Odds when base rates differ. Practitioners must choose which fairness definition aligns with their ethical and legal context.

Mutually Exclusive
With Calibration
05

Post-Processing Mitigation

Equalized Odds can be enforced through post-processing techniques that adjust decision thresholds independently for each group. The seminal approach by Hardt et al. (2016) derives optimal ROC-based threshold classifiers that minimize error while satisfying the Equalized Odds constraint. This method does not require retraining the model, making it suitable for auditing and correcting existing black-box classifiers without access to the training pipeline.

Hardt et al., 2016
Seminal Mitigation Paper
06

Equal Opportunity Variant

Equal Opportunity is a relaxed variant of Equalized Odds that only constrains the True Positive Rate across groups, ignoring the False Positive Rate. Formally:

  • P(Ŷ=1 | Y=1, A) = P(Ŷ=1 | Y=1, B) This is appropriate in scenarios like hiring or college admissions where the primary concern is ensuring equally qualified candidates from all groups have the same chance of being selected, without necessarily equalizing rejection errors.
TPR Only
Constraint Scope
FAIRNESS METRIC COMPARISON

Equalized Odds vs. Other Fairness Metrics

A technical comparison of Equalized Odds against Statistical Parity and Equal Opportunity across key definitional and operational dimensions.

FeatureEqualized OddsStatistical ParityEqual Opportunity

Core Definition

Equal TPR and FPR across groups

Equal positive prediction rate across groups

Equal TPR across groups

Conditions on True Outcome

Penalizes Lazy Classifiers

Allows Perfect Prediction

Matches FPR Across Groups

Matches TPR Across Groups

Satisfies Separation Criterion

Typical Use Case

Recidivism prediction, medical diagnosis

College admissions, hiring pipelines

Loan approval, fraud detection

EQUALIZED ODDS EXPLAINED

Frequently Asked Questions

Clear, technical answers to the most common questions about the equalized odds fairness criterion, its mathematical definition, and its practical implications for machine learning model evaluation.

Equalized odds is a fairness criterion that requires a classifier to achieve equal true positive rates (TPR) and equal false positive rates (FPR) across all protected groups. Formally, for a predictor Ŷ and protected attribute A, the condition holds when P(Ŷ=1 | Y=y, A=a) = P(Ŷ=1 | Y=y, A=b) for all groups a, b and for both y ∈ {0,1}. This means the model's errors are distributed equally—qualified individuals have the same chance of being correctly selected, and unqualified individuals have the same chance of being incorrectly selected, regardless of group membership. Unlike demographic parity, equalized odds explicitly conditions on the true outcome Y, making it compatible with scenarios where base rates differ between groups. The criterion was formalized in the 2016 paper "Equality of Opportunity in Supervised Learning" by Hardt, Price, and Srebro.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.