Bayes-Optimal Fair Classification with Linear Disparity Constraints via Pre-, In-, and Post-processing
Bayes-Optimal Fair Classification with Linear Disparity Constraints via Pre-, In-, and Post-processing
复制标题
通过预处理、中处理和后处理实现具有线性视差约束的贝叶斯最优公平分类
DOI:
--
复制
发表时间:
2024
期刊:
影响因子:
--
通讯作者:
Edgar Dobriban
中科院分区:
文献类型:
--
作者:
Xianli Zeng;Guang Cheng;Edgar Dobriban
Machine learning algorithms may have disparate impacts on protected groups. To address this, we develop methods for Bayes-optimal fair classification, aiming to minimize classification error subject to given group fairness constraints. We introduce the notion of emph{linear disparity measures}, which are linear functions of a probabilistic classifier; and emph{bilinear disparity measures}, which are also linear in the group-wise regression functions. We show that several popular disparity measures -- the deviations from demographic parity, equality of opportunity, and predictive equality -- are bilinear. We find the form of Bayes-optimal fair classifiers under a single linear disparity measure, by uncovering a connection with the Neyman-Pearson lemma. For bilinear disparity measures, Bayes-optimal fair classifiers become group-wise thresholding rules. Our approach can also handle multiple fairness constraints (such as equalized odds), and the common scenario when the protected attribute cannot be used at the prediction phase. Leveraging our theoretical results, we design methods that learn fair Bayes-optimal classifiers under bilinear disparity constraints. Our methods cover three popular approaches to fairness-aware classification, via pre-processing (Fair Up- and Down-Sampling), in-processing (Fair Cost-Sensitive Classification) and post-processing (a Fair Plug-In Rule). Our methods control disparity directly while achieving near-optimal fairness-accuracy tradeoffs. We show empirically that our methods compare favorably to existing algorithms.