Skip to main content
QUICK REVIEW

[Paper Review] Bayes-Optimal Classifiers under Group Fairness

Xianli Zeng, Edgar Dobriban|arXiv (Cornell University)|Feb 20, 2022
Ethics and Social Impacts of AISocial Sciences5 citations
TL;DR

This paper proposes a unified framework for deriving Bayes-optimal classifiers under group fairness constraints using a novel connection to the Neyman-Pearson lemma. It introduces FairBayes, a group-based thresholding method that explicitly controls disparity levels, achieving optimal fairness-accuracy tradeoffs without distributional assumptions on features, and outperforms existing methods in accuracy, fairness control, and efficiency across multiple datasets.

ABSTRACT

Machine learning algorithms are becoming integrated into more and more high-stakes decision-making processes, such as in social welfare issues. Due to the need of mitigating the potentially disparate impacts from algorithmic predictions, many approaches have been proposed in the emerging area of fair machine learning. However, the fundamental problem of characterizing Bayes-optimal classifiers under various group fairness constraints has only been investigated in some special cases. Based on the classical Neyman-Pearson argument (Neyman and Pearson, 1933; Shao, 2003) for optimal hypothesis testing, this paper provides a unified framework for deriving Bayes-optimal classifiers under group fairness. This enables us to propose a group-based thresholding method we call FairBayes, that can directly control disparity, and achieve an essentially optimal fairness-accuracy tradeoff. These advantages are supported by thorough experiments.

Motivation & Objective

  • To address the lack of a unified theoretical framework for Bayes-optimal fair classifiers under general group fairness constraints.
  • To explicitly model the dependence of optimal classifiers on arbitrary levels of disparity, enabling direct control over fairness violations.
  • To extend existing work by deriving fair Bayes-optimal classifiers for previously unexplored fairness measures, such as overall accuracy equality.
  • To develop a practical, efficient algorithm (FairBayes) that achieves optimal fairness-accuracy tradeoffs without requiring distributional assumptions on features.
  • To validate the method empirically across binary and multi-class protected attributes, demonstrating superior performance in fairness control, accuracy, and computational efficiency.

Proposed method

  • Leverages the Neyman-Pearson argument for optimal hypothesis testing to derive a unified theoretical framework for fair Bayes-optimal classification.
  • Derives explicit, closed-form expressions for group-wise thresholding rules that depend directly on user-specified disparity levels.
  • Introduces FairBayes, a post-processing method that applies group-specific thresholds to unconstrained predictions to enforce desired fairness levels.
  • Handles boundary cases via careful randomization, ensuring optimal performance even when feature distributions lie exactly on fairness boundaries.
  • Uses logistic regression to estimate group-wise conditional probabilities in practice, enabling scalable implementation.
  • Supports multi-class protected attributes by extending the framework to measure disparity via demographic parity deviation (DDP).

Experimental results

Research questions

  • RQ1How can we systematically derive Bayes-optimal classifiers under various group fairness constraints, including those not previously studied, such as overall accuracy equality?
  • RQ2Can we establish an explicit, direct dependence of the optimal classifier on the level of disparity, enabling users to specify fairness targets directly?
  • RQ3How does the proposed framework perform in practice compared to existing fair learning methods in terms of fairness, accuracy, and computational efficiency?
  • RQ4What is the impact of feature distribution assumptions on the optimality and robustness of fair classifiers?
  • RQ5Can the framework be extended to multi-class protected attributes while maintaining theoretical optimality and practical efficiency?

Key findings

  • FairBayes achieves the best fairness-accuracy tradeoff across all datasets tested, with classification accuracy of 0.831 (±0.001) on the Adult dataset with multi-class protected attributes.
  • The method reduces disparity (DDP) to 0.030 (±0.013), significantly outperforming KDE-based (0.039 ± 0.024) and adversarial methods (0.221 ± 0.190).
  • FairBayes runs in 57 seconds on average to generate a fairness-accuracy tradeoff curve, compared to 197 and 213 seconds for KDE and adversarial baselines, respectively.
  • On synthetic data with |A|=10, FairBayes achieves 0.615 accuracy and 0.190 DDP, closely tracking the theoretical fair Bayes-optimal classifier (0.615 accuracy, 0.190 DDP).
  • The method maintains low standard deviation in performance metrics (e.g., 0.001 for accuracy on Adult), indicating high stability and reproducibility.
  • FairBayes can reuse outputs from unconstrained learning to generate fair classifiers under multiple fairness criteria, enabling multi-fairness analysis efficiently.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.