We consider a binary classification problem under group fairness constraints, which can be one of Demographic Parity (DP), Equalized Opportunity (EOp), or Equalized Odds (EO). We propose an explicit characterization of Bayes optimal classifier under the fairness constraints, which turns out to be a simple modification rule of the unconstrained classifier. Namely, we introduce a novel instance-level measure of bias, which we call bias score, and the modification rule is a simple linear rule on top of the finite amount of bias scores.Based on this characterization, we develop a post-hoc approach that allows us to adapt to fairness constraints while maintaining high accuracy. In the case of DP and EOp constraints, the modification rule is thresholding a single bias score, while in the case of EO constraints we are required to fit a linear modification rule with 2 parameters. The method can also be applied for composite group-fairness criteria, such as ones involving several sensitive attributes.
翻译:我们考虑在群体公平约束下的二分类问题,约束类型包括人口统计平等(DP)、机会均等(EOp)或赔率均等(EO)。我们提出了公平约束下贝叶斯最优分类器的显式刻画,结果表明该分类器是对无约束分类器的简单修正规则。具体而言,我们引入了一种新颖的实例级偏差度量方法,称为偏差评分,而修正规则是在有限数量偏差评分基础上采用简单的线性规则。基于这一刻画,我们开发了一种事后处理方法,在保持高精度的同时能够适应公平约束。在DP和EOp约束下,修正规则是对单一偏差评分进行阈值化处理;而在EO约束下,则需要拟合一个包含2个参数的线性修正规则。该方法还可应用于复合群体公平性准则,例如涉及多个敏感属性的场景。