Optimal Transport of Classifiers to Fairness

Maarten Buyl, Tijl De Bie
2/8/2022
cs.LGstat.ML

Official code: aida-ugent/OTF (3 stars, Python, MIT, PyTorch, last commit 2023-06-01).

Abstract

In past work on fairness in machine learning, the focus has been on forcing the prediction of classifiers to have similar statistical properties for people of different demographics. To reduce the violation of these properties, fairness methods usually simply rescale the classifier scores, ignoring similarities and dissimilarities between members of different groups.

Show full abstract

Yet, we hypothesize that such information is relevant in quantifying the unfairness of a given classifier. To validate this hypothesis, we introduce Optimal Transport to Fairness (OTF), a method that quantifies the violation of fairness constraints as the smallest Optimal Transport cost between a probabilistic classifier and any score function that satisfies these constraints. For a flexible class of linear fairness constraints, we construct a practical way to compute OTF as a differentiable fairness regularizer that can be added to any standard classification setting. Experiments show that OTF can be used to achieve an improved trade-off between predictive power and fairness.

View on arXivView PDF

Code Implementations(1)

aida-ugent/OTFOfficial100%
PyTorchMIT

Optimal Transport of Classifiers to Fairness (NeurIPS 2022).

31PythonNov 20, 20223 years agoMIT
fairnessoptimal-transportpytorchregularizer

Similar Papers

Cite this paper

@article{buyl2022optimal,
  title  = {Optimal Transport of Classifiers to Fairness},
  author = {Maarten Buyl and Tijl De Bie},
  year   = {2022},
  eprint = {2202.03814},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.03814}
}

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

Discussion