Threshold Optimiser

Description

Threshold Optimiser adjusts decision thresholds for different demographic groups after model training to satisfy specific fairness constraints. This post-processing technique optimises group-specific thresholds by analysing the probability distribution of model outputs, allowing practitioners to achieve fairness goals like demographic parity or equalised opportunity without modifying the underlying model. The optimiser finds optimal threshold values for each group that balance fairness requirements with overall model performance, making it particularly useful when fairness considerations arise after model deployment.

Example Use Cases

Fairness

Adjusting hiring decision thresholds in a recruitment system to ensure equal opportunity rates across gender and ethnicity groups, where the model outputs probability scores but different demographic groups require different thresholds to achieve equitable outcomes.

Optimising credit approval thresholds for different demographic groups in loan applications to satisfy regulatory requirements for equal treatment whilst maintaining acceptable default rates across all groups.

Calibrating medical diagnosis thresholds across age and gender groups to ensure diagnostic accuracy is maintained whilst preventing systematic over-diagnosis or under-diagnosis in specific populations.

Limitations

  • Requires a held-out dataset with known group memberships to determine optimal thresholds for each demographic group.
  • Threshold values may need recalibration when input data distributions shift or model performance changes over time.
  • Using different decision thresholds per group can raise legal or ethical concerns in deployment contexts where equal treatment is mandated.
  • Performance depends on the quality and representativeness of the calibration dataset for each demographic group.
  • May lead to reduced overall accuracy as the optimisation trades off individual accuracy for group fairness.

Resources

Group-Aware Threshold Adaptation for Fair Classification
Research PaperJang, Taeuk, Shi, Pengyi, and Wang, XiaoqianNov 8, 2021

Introduces a novel post-processing method for learning adaptive classification thresholds for each demographic group by optimising confusion matrices estimated from model probability distributions.

Equality of Opportunity in Supervised Learning
Research PaperHardt, Moritz, Price, Eric, and Srebro, NathanOct 7, 2016

Foundational work introducing threshold optimisation techniques to achieve equalized opportunity and demographic parity in supervised learning.

AIF360: A comprehensive set of fairness metrics and algorithms
Software Package

Open-source library containing threshold optimisation implementations for various fairness constraints including equalized odds and demographic parity.

Fairlearn: A toolkit for assessing and improving fairness in AI
Software Package

Python library providing threshold optimisation methods and post-processing algorithms for achieving fairness in machine learning models.

HolisticAI: Randomized Threshold Optimizer
Documentation

Documentation for the Randomized Threshold Optimizer implementation that achieves statistical parity through group-aware threshold adjustment with randomization.

Tags

Applicable Models:
Data Requirements:
Data Type:
Evidence Type:
Expertise Needed:
Fairness Approach:
Lifecycle Stage:
Technique Type: