Repairing without Retraining: Avoiding Disparate Impact with Counterfactual Distributions

Hao Wang, Berk Ustun, Flavio P. Calmon
1/29/2019
cs.LGcs.CYcs.IT

Official code: ustunb/ctfdist (10 stars, Python, BSD-3-Clause, last commit 2019-02-19).

Abstract

When the performance of a machine learning model varies over groups defined by sensitive attributes (e.g., gender or ethnicity), the performance disparity can be expressed in terms of the probability distributions of the input and output variables over each group. In this paper, we exploit this fact to reduce the disparate impact of a fixed classification model over a population of interest.

Show full abstract

Given a black-box classifier, we aim to eliminate the performance gap by perturbing the distribution of input variables for the disadvantaged group. We refer to the perturbed distribution as a counterfactual distribution, and characterize its properties for common fairness criteria. We introduce a descent algorithm to learn a counterfactual distribution from data. We then discuss how the estimated distribution can be used to build a data preprocessor that can reduce disparate impact without training a new model. We validate our approach through experiments on real-world datasets, showing that it can repair different forms of disparity without a significant drop in accuracy.

View on arXivView PDF

Code Implementations(1)

ustunb/ctfdistOfficial100%
BSD-3-Clause

repair classifiers with disparate impact

102PythonOct 15, 20187 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{wang2019repairing,
  title  = {Repairing without Retraining: Avoiding Disparate Impact with Counterfactual Distributions},
  author = {Hao Wang and Berk Ustun and Flavio P. Calmon},
  year   = {2019},
  eprint = {1901.10501},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.10501}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1901.10501.svg)](https://codeofpaper.com/paper/1901.10501)

Discussion