Responsible AI & Behavioural

Fairness Metrics & Their Conflicts

Understanding mathematical definitions of algorithmic fairness and why satisfying all fairness criteria simultaneously is mathematically impossible.

🔴 advanced5 min readethics
Fairness Metrics & Their Conflicts explores quantitative definitions of algorithmic fairness. Common mathematical definitions include Demographic Parity, Equal Opportunity, and Equalized Odds. The Impossibility Theorem of Fairness proves that when base rates differ across groups, a classifier cannot satisfy Demographic Parity, Equal Opportunity, and Calibration simultaneously, forcing teams to make explicit trade-offs.

Quantitative Definitions of Algorithmic Fairness

How do you mathematically define whether a classification model (for example a credit scoring model) is Fair across protected demographic groups $A$ and $B$?

There is no single definition of fairness. Computer science literature defines Three Core Fairness Metrics:

┌──────────────────────────┬──────────────────────────┬──────────────────────────┐
│ 1. DEMOGRAPHIC PARITY    │ 2. EQUAL OPPORTUNITY     │ 3. PREDICTIVE PARITY     │
├──────────────────────────┼──────────────────────────┼──────────────────────────┤
│ Equal Selection Rates:   │ Equal True Positive Rates│ Equal Precision /        │
│ P(Y_hat=1|A) =           │ (Recall):                │ Calibration:             │
│ P(Y_hat=1|B)             │ P(Y_hat=1|Y=1,A) =       │ P(Y=1|Y_hat=1,A) =       │
│                          │ P(Y_hat=1|Y=1,B)         │ P(Y=1|Y_hat=1,B)         │
└──────────────────────────┴──────────────────────────┴──────────────────────────┘

1. Demographic Parity (Independence)

Requires the overall positive prediction rate to be identical across groups, regardless of true ground truth label distributions:

$$P(\hat{Y} = 1 \mid A) = P(\hat{Y} = 1 \mid B)$$

2. Equal Opportunity (Separation)

Requires the True Positive Rate (Recall) to be identical across groups:

$$P(\hat{Y} = 1 \mid Y = 1, A) = P(\hat{Y} = 1 \mid Y = 1, B)$$

3. Predictive Parity (Sufficiency / Calibration)

Requires predicted probabilities to have equal Precision / Calibration across groups:

$$P(Y = 1 \mid \hat{Y} = 1, A) = P(Y = 1 \mid \hat{Y} = 1, B)$$

The Impossibility Theorem of Fairness

Can we design a model that satisfies Demographic Parity, Equal Opportunity, AND Predictive Calibration simultaneously?

Kleinberg et al. (2016) proved mathematically that this is IMPOSSIBLE!

$$\text{If base rates } P(Y=1 \mid A) \neq P(Y=1 \mid B), \text{ you CANNOT satisfy all 3 metrics simultaneously!}$$

You must choose which fairness metric aligns best with your product goals and regulatory requirements.

Say this out loud

Algorithmic fairness definitions include Demographic Parity, Equal Opportunity, and Predictive Calibration. Demographic Parity requires equal selection rates. Equal Opportunity requires equal True Positive Rates. The Impossibility Theorem of Fairness proves that when base rates differ across groups, a classifier cannot satisfy all fairness metrics simultaneously, requiring explicit tradeoffs.

Followups to expect

  1. What is the 80% Rule (Four-Fifths Rule) in legal employment compliance? A legal guideline stating that selection rates for any protected group must be at least 80% of the selection rate for the highest group to avoid disparate impact findings.
  2. What is Individual Fairness? The principle that similar individuals should receive similar predictions ($d(\hat{y}_i, \hat{y}_j) \le d(x_i, x_j)$), complementing group fairness metrics.

Check yourself

Question 1 of 3

What mathematical definition of fairness requires positive selection rates to be identical across protected groups?

More in Responsible AI & Behavioural

See all →
Telling Your ML Project Story5 minBias & Fairness in ML5 minExplainability: SHAP & LIME4 min