Learning Adversarially Fair and Transferable Representations

David Madras, Elliot Creager, Toniann Pitassi, Richard S. Zemel

This paper introduces LAFTR (Learned Adversarially Fair and Transferable Representations), a framework designed to ensure that machine learning models remain fair even when the data is handed off to a third party with unknown—or even malicious—intentions.

The Problem: Data Handoffs and Proxy Variables

In the real world, data collection and data analysis are often handled by different entities. A "data owner" (like a hospital) might provide a dataset to a "prediction vendor" (like an insurance company). The data owner wants the vendor to make accurate predictions but fears the vendor might—intentionally or accidentally—discriminate against certain groups.

Existing fairness methods usually focus on constraining the final prediction. However, if the underlying data representation still contains "proxies" for sensitive attributes, a vendor can easily reconstruct that information. The core challenge this paper addresses is: How can we create a representation of data that preserves useful information for many tasks while making it mathematically impossible for a downstream user to be unfair?

The LAFTR Framework

To solve this, the authors introduce LAFTR, which utilizes a four-part neural network architecture to learn "scrubbed" representations.

LAFTR Architecture

The system consists of:

  1. Encoder ($f$): Transforms raw data $X$ into a latent representation $Z$.
  2. Adversary ($h$): Tries to predict the sensitive attribute $A$ (e.g., gender) directly from the representation $Z$.
  3. Classifier ($g$): Tries to predict the actual target $Y$ (e.g., income) from $Z$.
  4. Decoder ($k$): Tries to reconstruct the original data $X$ from $Z$, which is primarily used to ensure the representation retains enough general information for transfer learning.

The "secret sauce" of LAFTR is its adversarial objective. Unlike previous works that used standard cross-entropy loss, the authors use a group-normalized $L_1$ loss. They prove that by minimizing this specific loss, the encoder creates a representation where the "statistical distance" between groups is minimized. This provides a theoretical upper bound on how unfair any future classifier can be. The training is formulated as a min-max game: the encoder tries to help the classifier and decoder while simultaneously trying to "fool" the adversary.

Key Insights

  • The Power of $L_1$: The authors show that cross-entropy loss (common in GANs) is a poor proxy for fairness because it does not handle imbalanced data well. Their group-normalized $L_1$ objective directly maps to formal definitions of fairness like Demographic Parity (DP) and Equalized Odds (EO).
  • Fairness is Transferable: If you learn a representation that is fair for Task A, it tends to remain fair for Task B. This suggests that "fairness" can be a property of the data features themselves, not just the final decision.
  • The "Strategic Vendor" Defense: By allowing the adversary to look directly at the representation $Z$ (rather than just the final prediction $\hat{Y}$), the model guards against "strategic" users who might try to extract sensitive info from the features to build their own biased models.

Key Results

The paper evaluates LAFTR on two primary datasets: the UCI Adult Dataset (predicting income with gender as the sensitive attribute) and the Heritage Health Dataset (predicting medical indices for transfer learning experiments).

Fairness-Accuracy Trade-offs
  • Fair Classification: On the Adult dataset, LAFTR achieved a better "Pareto front"—the trade-off between accuracy and fairness—than previous state-of-the-art adversarial methods across multiple fairness metrics (Demographic Parity, Equalized Odds, and Equal Opportunity).
  • Fair Transfer: On the Health dataset, representations learned via LAFTR reduced unfairness (measured by $\Delta_{EO}$) by approximately 20% on average across 10 unseen tasks compared to standard models, with only a marginal hit to accuracy.
  • Robustness: The models were shown to be fair even when the downstream classifier was "naive" (trained without any fairness constraints).

Limitations and Future Work

While promising, the framework has limitations. Like most adversarial frameworks, LAFTR can be unstable to train; the $L_1$ loss, while theoretically sound, can sometimes provide difficult gradients for optimization. Additionally, there is a delicate reconstruction trade-off: to make representations transferable, a decoder must ensure $Z$ retains general information, but the more information kept, the harder it is to hide the sensitive attribute. Finally, while the paper demonstrates transfer between related medical tasks, it remains an open question how well these fair representations would transfer to completely unrelated domains.

Summary updated

BibTeX
@inproceedings{madras2018learning,
  author = {David Madras and Elliot Creager and Toniann Pitassi and Richard S. Zemel},
  title = {{Learning Adversarially Fair and Transferable Representations}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
  url = {https://openreview.net/forum?id=B1-nLh-O-B},
}
Figure