Counterfactual Fairness by Combining Factual and Counterfactual Predictions

Zeyu Zhou, Tianci Liu, Ruqi Bai, Jing Gao, Murat Kocaoglu +1 more
9/3/2024
cs.LG

No official code found. Best implementation: inouye-lab/pcf (0 stars, last commit 2024-11-08).

Abstract

In high-stake domains such as healthcare and hiring, the role of machine learning (ML) in decision-making raises significant fairness concerns. This work focuses on Counterfactual Fairness (CF), which posits that an ML model's outcome on any individual should remain unchanged if they had belonged to a different demographic group. Previous works have proposed methods that guarantee CF. Notwithstanding, their effects on the model's predictive performance remains largely unclear. To fill in this gap, we provide a theoretical study on the inherent trade-off between CF and predictive performance in a model-agnostic manner. We first propose a simple but effective method to cast an optimal but potentially unfair predictor into a fair one without losing the optimality. By analyzing its excess risk in order to achieve CF, we quantify this inherent trade-off. Further analysis on our method's performance with access to only incomplete causal knowledge is also conducted. Built upon it, we propose a performant algorithm that can be applied in such scenarios. Experiments on both synthetic and semi-synthetic datasets demonstrate the validity of our analysis and methods.

View on arXivView PDF

Code Implementations(1)

inouye-lab/pcfCommunity100%
00Python, Jupyter NotebookOct 25, 20241 years ago

Similar Papers

Cite this paper

@article{zhou2024counterfactual,
  title  = {Counterfactual Fairness by Combining Factual and Counterfactual Predictions},
  author = {Zeyu Zhou and Tianci Liu and Ruqi Bai and Jing Gao and Murat Kocaoglu and David I. Inouye},
  year   = {2024},
  eprint = {2409.01977},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2409.01977},
  url    = {http://arxiv.org/abs/2409.01977v3},
  journal = {NEURIPS 2024 2024}
}

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/2409.01977.svg)](https://codeofpaper.com/paper/2409.01977)

Discussion