Provably Fair Representations

Daniel McNamara, Cheng Soon Ong, Robert C. WilliamsonarXiv 2017

Abstract

This paper presents a novel framework for learning "cleaned" data representations that provide rigorous mathematical guarantees for both group and individual fairness. By decoupling data production from downstream usage, the authors demonstrate how to bound potential discrimination by untrusted data users. The approach is validated on standard fairness benchmarks, showing that provable fairness can be achieved with minimal impact on predictive utility.

Introduction: The Challenge of Algorithmic Bias

As machine learning models increasingly influence critical life outcomes—such as credit scoring and recidivism prediction—the demand for fair algorithms has intensified. A primary hurdle is that simply excluding sensitive attributes (e.g., race or gender) is often insufficient; other features frequently serve as proxies, leading to indirect discrimination. Furthermore, most existing fairness interventions assume a single trusted entity manages the entire pipeline. This paper addresses the "separation of concerns," exploring how a data producer can provide data to a potentially untrusted user while ensuring the user cannot discriminate, even if they intend to maximize profit.

The Governance Model: Separation of Concerns

The authors propose a tripartite governance structure involving a Data Producer, a Data User, and a Data Regulator.

The proposed governance model (b) separates concerns between the data producer and user, compared to a traditional baseline (a).
  1. Representation Learning: The Data Producer uses a neural autoencoder to transform raw input $X$ into a cleaned representation $X_f$. The training objective balances two goals: maintaining data utility (minimizing reconstruction error for individual fairness) and maximizing the entropy of the sensitive variable $S$ within $X_f$ (to ensure group fairness).
  2. Regulatory Oversight: The Data Regulator sets performance guarantees, such as bounds on group fairness metrics like Statistical Parity ($SP$) and Disparate Impact ($DI$).

Theoretical Guarantees and the Cost of Mistrust

The central contribution is the derivation of upper bounds on unfairness. The authors prove that if the conditional entropy of the sensitive variable is sufficiently high in the cleaned data, the Statistical Parity of any downstream model is guaranteed to remain low.

A key concept introduced is the Cost of Mistrust ($R_{YS}$), which quantifies the performance loss incurred when a data user is restricted to cleaned data $X_f$ instead of the original data $X$.

Comparison of optimal decisions under 'No cost' and 'Maximum cost' scenarios, illustrating how data cleaning affects decision-making.

By linking fairness to information-theoretic principles, the framework turns social objectives into an optimization problem with a provable ceiling on bias. The trade-off between group fairness and individual fairness (data fidelity) is controlled by a single hyperparameter, $\lambda$.

Experimental Evaluation

The framework was tested on two prominent datasets:

  • UCI Adult Dataset: Predicting income levels with gender as the sensitive variable.
  • ProPublica COMPAS Dataset: Predicting recidivism with ethnicity as the sensitive variable.

Results confirmed that increasing the fairness penalty $\lambda$ consistently reduced Statistical Parity and Disparate Impact as predicted by the theoretical bounds. Notably, on the Adult dataset, predictive accuracy for the target task remained stable even as fairness improved, suggesting that discriminatory information was largely redundant.

Conclusion

This research provides a robust mathematical foundation for pre-processing data to ensure fairness. By shifting the focus to the data representation itself, it enables the creation of "fair-by-design" datasets suitable for multiple downstream tasks. While challenges remain regarding the choice of similarity metrics and practical regulatory implementation, this work offers a significant step toward provably unbiased machine learning systems.

Summary updated

BibTeX
@misc{mcnamara2017provably,
  author = {Daniel McNamara and Cheng Soon Ong and Robert C. Williamson},
  title = {{Provably Fair Representations}},
  year = {2017},
  eprint = {1710.04394},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.04394},
}
Figure