Average Odds Difference

Description

Average Odds Difference summarises how differently a model treats two demographic groups, using two error rates. The true positive rate is the share of people whose true outcome is positive whom the model also predicts as positive. The false positive rate is the share of people whose true outcome is negative whom the model wrongly predicts as positive. The score is the mean of the gap in each rate between the groups, usually the unprivileged group minus the privileged group, so 0 means the two gaps are absent or cancel out. Hardt, Price and Srebro (2016) call the stricter requirement that both gaps are zero equalised odds, and a score near 0 does not guarantee it.

Example Use Cases

Fairness

A court-services analytics team audits a pre-trial risk tool on past cases with known outcomes. It reports the average odds difference between racial groups together with the two gaps it averages: how often defendants who later reoffended were rated high risk, and how often those who did not were wrongly rated high risk. The findings go to the oversight board that decides whether the tool stays in use.

A recruitment firm audits its CV-screening tool on past applications whose suitability hiring managers later confirmed. For men and women it compares how often suitable applicants were advanced and how often unsuitable applicants were advanced, and it tracks the average of the two gaps each quarter to decide whether the tool needs retraining.

A hospital compares a sepsis early-warning model across patient ethnic groups before rollout. It checks the share of true sepsis cases flagged and the share of non-sepsis patients falsely flagged, since missed cases and false alarms both carry costs, and uses the average gap to rank candidate models.

Limitations

  • Averaging effect can mask important disparities when false positive and true positive rate differences compensate for each other, potentially hiding significant bias in one direction.
  • The rates are only as trustworthy as the outcome labels, which can differ in quality between groups. Where outcomes are recorded only for people previously approved or hired, such as repayment for granted loans, the gaps describe a selected subset rather than the whole applicant pool. The sensitive attribute must also be available and lawful to use.
  • When groups differ in how many members truly have the positive outcome, equal error rates generally cannot be achieved together with scores that mean the same thing in every group (Hardt et al. discuss this result of Kleinberg et al.). Pushing the metric towards 0 can therefore leave a risk score less well calibrated for one group, a trade-off the metric does not weigh.
  • A score of 0 does not show that the model is fair. The measure uses only predictions, true outcomes and group membership, and Hardt et al. show that situations with very different fairness readings can give identical numbers, so any result needs scrutiny of how the outcome was produced.
  • Closing the gaps can mean degrading the better-served group instead of improving the other. Hardt et al. show that a predictor meeting equalised odds is only as good as the weakest group's performance, so reaching a score of 0 this way can cost accuracy for everyone.

Resources

Research Papers

Equality of Opportunity in Supervised Learning
Moritz Hardt, Eric Price, and Nathan Srebro•Oct 7, 2016

We propose a criterion for discrimination against a specified sensitive attribute in supervised learning, where the goal is to predict some target based on available features. Assuming data about the predictor, target, and membership in the protected group are available, we show how to optimally adjust any learned predictor so as to remove discrimination according to our definition. Our framework also improves incentives by shifting the cost of poor classification from disadvantaged groups to the decision maker, who can respond by improving the classification accuracy. In line with other studies, our notion is oblivious: it depends only on the joint statistics of the predictor, the target and the protected attribute, but not on interpretation of individualfeatures. We study the inherent limits of defining and identifying biases based on such oblivious measures, outlining what can and cannot be inferred from different oblivious tests. We illustrate our notion using a case study of FICO credit scores.

AI Fairness 360: An extensible toolkit for detecting and mitigating algorithmic bias
R. K. E. Bellamy et al.•Jul 1, 2019

Fairness is an increasingly important concern as machine learning models are used to support decision making in high-stakes applications such as mortgage lending, hiring, and prison sentencing. This article introduces a new open-source Python toolkit for algorithmic fairness, AI Fairness 360 (AIF360), released under an Apache v2.0 license (https://github.com/ibm/aif360). The main objectives of this toolkit are to help facilitate the transition of fairness research algorithms for use in an industrial setting and to provide a common framework for fairness researchers to share and evaluate algorithms. The package includes a comprehensive set of fairness metrics for datasets and models, explanations for these metrics, and algorithms to mitigate bias in datasets and models. It also includes an interactive Web experience that provides a gentle introduction to the concepts and capabilities for line-of-business users, researchers, and developers to extend the toolkit with their new algorithms and improvements and to use it for performance benchmarking. A built-in testing infrastructure maintains code quality.

Software Packages

fairlearn
May 15, 2018

A Python package to assess and improve fairness of machine learning models.

AIF360
Aug 22, 2018

A comprehensive set of fairness metrics for datasets and machine learning models, explanations for these metrics, and algorithms to mitigate bias in datasets and models.

Tutorials

AIF360 tutorial: Medical Expenditure (notebook)

Documentations

AIF360: Average Odds Difference Documentation
Aif360 Developers•Jan 1, 2018

Tags

Fairness Dimensions

Other Categories

Data Type:
Evidence Type:
Technique Type: