Are Two Heads the Same as One? Identifying Disparate Treatment in Fair Neural Networks

Michael Lohaus, Matthäus Kleindessner, Krishnaram Kenthapadi, Francesco Locatello, Chris Russell
4/9/2022
cs.LG

Official code: mlohaus/disparatetreatment (1 star, Jupyter Notebook, MIT, last commit 2022-11-19).

Abstract

We show that deep networks trained to satisfy demographic parity often do so through a form of race or gender awareness, and that the more we force a network to be fair, the more accurately we can recover race or gender from the internal state of the network. Based on this observation, we investigate an alternative fairness approach: we add a second classification head to the network to explicitly predict the protected attribute (such as race or gender) alongside the original task.

Show full abstract

After training the two-headed network, we enforce demographic parity by merging the two heads, creating a network with the same architecture as the original network. We establish a close relationship between existing approaches and our approach by showing (1) that the decisions of a fair classifier are well-approximated by our approach, and (2) that an unfair and optimally accurate classifier can be recovered from a fair classifier and our second head predicting the protected attribute. We use our explicit formulation to argue that the existing fairness approaches, just as ours, demonstrate disparate treatment and that they are likely to be unlawful in a wide range of scenarios under US law.

View on arXivView PDF

Code Implementations(1)

MIT

Code repository for our paper: "Are Two Heads the Same as One? Identifying Disparate Treatment in Fair Neural Networks".

10Jupyter Notebook, PythonSep 29, 20224 years agoMIT

Similar Papers

Cite this paper

@article{lohaus2022heads,
  title  = {Are Two Heads the Same as One? Identifying Disparate Treatment in Fair Neural Networks},
  author = {Michael Lohaus and Matthäus Kleindessner and Krishnaram Kenthapadi and Francesco Locatello and Chris Russell},
  year   = {2022},
  eprint = {2204.04440},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.04440}
}

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

Discussion