arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.08270cs.CVcs.LG
收藏

评估和减轻图像分类器中的偏差:使用反事实的因果观点

Evaluating and Mitigating Bias in Image Classifiers: A Causal Perspective Using Counterfactuals

Microsoft Research(微软研究院);Indian Institute of Technology Hyderabad(印度理工学院海得拉巴分校)

Saloni Dash, Vineeth N Balasubramanian, Amit Sharma

摘要:

输入的反事实示例-改变特定特征但不改变其他特征的扰动-已被证明可用于评估机器学习模型的偏差,例如,针对特定人口群体。然而,由于图像的各种特征的潜在因果结构,为图像生成反事实示例是不平凡的。为了有意义,生成的扰动需要满足因果模型隐含的约束。我们提出了一种方法,通过将结构因果模型(SCM)的逆向学习推理(ALI),生成反事实,根据图像的属性之间的因果关系的改进的变体生成反事实。基于生成的反事实,我们展示了如何解释预训练的机器学习分类器,评估其偏差,并使用反事实正则化器减轻偏差。在Morpho-MNIST数据集上,我们的方法生成的反事实在质量上与之前基于SCM的反事实(DeepSCM)的工作相当,而在更复杂的CelebA数据集上,我们的方法在生成高质量的有效反事实方面优于DeepSCM。此外,生成的反事实与人类评估实验中的重建图像无法区分,我们随后使用它们来评估在CelebA数据上训练的标准分类器的公平性。我们表明,分类器是有偏见的w.r.t.皮肤和头发的颜色,以及反事实正则化如何消除这些偏见。

英文摘要:

Counterfactual examples for an input -- perturbations that change specific features but not others -- have been shown to be useful for evaluating bias of machine learning models, e.g., against specific demographic groups. However, generating counterfactual examples for images is non-trivial due to the underlying causal structure on the various features of an image. To be meaningful, generated perturbations need to satisfy constraints implied by the causal model. We present a method for generating counterfactuals by incorporating a structural causal model (SCM) in an improved variant of Adversarially Learned Inference (ALI), that generates counterfactuals in accordance with the causal relationships between attributes of an image. Based on the generated counterfactuals, we show how to explain a pre-trained machine learning classifier, evaluate its bias, and mitigate the bias using a counterfactual regularizer. On the Morpho-MNIST dataset, our method generates counterfactuals comparable in quality to prior work on SCM-based counterfactuals (DeepSCM), while on the more complex CelebA dataset our method outperforms DeepSCM in generating high-quality valid counterfactuals. Moreover, generated counterfactuals are indistinguishable from reconstructed images in a human evaluation experiment and we subsequently use them to evaluate the fairness of a standard classifier trained on CelebA data. We show that the classifier is biased w.r.t. skin and hair color, and how counterfactual regularization can remove those biases.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑