What is the difference between equal opportunity and equalized odds?

Quick Overview

Asks how the equal opportunity and equalized odds fairness criteria differ for a binary classifier. Tests the formal definitions in terms of error rates, which people each criterion protects, what it takes to satisfy each, and the limits both share.

What is the difference between equal opportunity and equalized odds?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Equal opportunity and equalized odds are two group fairness criteria for a binary classifier $\hat{Y}$, true label $Y$ and protected attribute $A$. What is the difference between them? ```hint Write them as probabilities Express each criterion as a conditional probability. What does each condition on, and which cells of the confusion matrix does each constrain? ``` ```hint Think about who gets hurt Compare a loan approval with a fraud flag. In each, which kind of error does the most damage, and to whom? ``` ### What a Strong Answer Covers - The formal definition of each criterion and how the two relate - Which people each criterion protects, and the applications where each fits - What it takes to satisfy each in practice, and the cost in accuracy - What the two have in common, including their dependence on the quality of the labels ### Follow-up Questions - How does demographic parity differ from both, and when would you prefer it? - Can a classifier have equalized odds and equal precision across groups at the same time when base rates differ? - How would you post-process a trained model so that it satisfies equal opportunity? - How would you test for a violation when one group has only a few hundred positive examples?

Overview: Asks how the equal opportunity and equalized odds fairness criteria differ for a binary classifier. Tests the formal definitions in terms of error rates, which people each criterion protects, what it takes to satisfy each, and the limits both share.

PracHub logo
General
Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Equal opportunity and equalized odds are two group fairness criteria for a binary classifier Y^\hat{Y}, true label YY and protected attribute AA. What is the difference between them?

What a Strong Answer Covers Guidance

  • The formal definition of each criterion and how the two relate
  • Which people each criterion protects, and the applications where each fits
  • What it takes to satisfy each in practice, and the cost in accuracy
  • What the two have in common, including their dependence on the quality of the labels

Follow-up Questions Guidance

  • How does demographic parity differ from both, and when would you prefer it?
  • Can a classifier have equalized odds and equal precision across groups at the same time when base rates differ?
  • How would you post-process a trained model so that it satisfies equal opportunity?
  • How would you test for a violation when one group has only a few hundred positive examples?