Skip to main content
QUICK REVIEW

[Paper Review] Are Two Heads the Same as One? Identifying Disparate Treatment in Fair Neural Networks

Michael Lohaus, Matthäus Kleindeßner|arXiv (Cornell University)|Apr 9, 2022
Ethics and Social Impacts of AISocial Sciences4 citations
TL;DR

This paper demonstrates that fairness-regularized and preprocessed neural networks implicitly learn protected attributes (e.g., race, gender), leading to disparate treatment—illegal under U.S. law. It proposes a two-headed network that explicitly predicts the protected attribute, enabling precise control over demographic parity through merging heads, and shows that existing fairness methods are legally equivalent to this approach in terms of disparate treatment.

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. 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.

Motivation & Objective

  • To investigate whether fairness-regularized and preprocessed neural networks implicitly learn protected attributes like race or gender.
  • To assess whether such implicit learning constitutes disparate treatment under U.S. anti-discrimination law, particularly Title VII.
  • To propose a two-headed neural network architecture that explicitly predicts protected attributes to enable controlled demographic parity.
  • To demonstrate that existing fairness methods are mathematically and legally equivalent to the proposed explicit approach in terms of disparate treatment.
  • To identify individuals systematically disadvantaged by fair models due to inferred protected attributes, revealing hidden bias.

Proposed method

  • Train a deep neural network with a second classification head to explicitly predict the protected attribute (e.g., gender, race) alongside the main task.
  • After training, merge the two heads to create a demographic parity-fair classifier, effectively removing the protected attribute head while preserving fairness.
  • Use the second head’s predictions to reconstruct the decisions of fair models trained with fairness regularizers or preprocessing methods.
  • Recover the unconstrained (unfair) classifier by combining the fair model’s predictions with the protected attribute predictions from the second head.
  • Apply t-SNE visualization to analyze the internal representations of models trained with and without fairness constraints, showing increased separation by protected group.
  • Quantify the extent of disparate treatment by measuring the fraction of predictions that would change if an individual’s inferred protected attribute were altered.

Experimental results

Research questions

  • RQ1Do fairness-regularized and preprocessed neural networks implicitly learn protected attributes like race or gender?
  • RQ2To what extent does stronger enforcement of demographic parity correlate with increased predictability of protected attributes from internal representations?
  • RQ3Can a two-headed network that explicitly predicts protected attributes be used to reconstruct the decisions of fair models trained with regularizers or preprocessing?
  • RQ4Is the decision-making process of a fair classifier mathematically equivalent to a weighted combination of the fair classifier and a protected attribute predictor?
  • RQ5Does the implicit learning of protected attributes in fair models constitute disparate treatment under U.S. anti-discrimination law?

Key findings

  • The internal representations of fairness-regularized and preprocessed models become increasingly predictive of protected attributes as fairness constraints are tightened, indicating strong implicit learning of race or gender.
  • Up to 35% of predictions in fair models trained on CelebA would change if an individual’s inferred gender or race were different, demonstrating significant disparate treatment.
  • The proposed two-headed approach can reconstruct fair models with high fidelity and recover the unconstrained classifier from fair models using the second head’s output.
  • The decisions of fair models trained with regularizers or preprocessing are well-approximated by the proposed explicit two-headed method, showing mathematical equivalence.
  • The unconstrained classifier can be recovered from fair models by combining the fair model’s output with the second head’s prediction, even when the fair model is highly constrained.
  • The method reveals that fair models systematically disadvantage individuals based on inferred protected attributes, confirming that such models engage in disparate treatment under U.S. law.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.