Abstract
Non-discrimination is a recognized objective in algorithmic decision making. In this paper, we introduce a novel probabilistic formulation of data pre-processing for reducing discrimination. We propose a convex optimization for learning a data transformation with three goals: controlling discrimination, limiting distortion in individual data samples, and preserving utility. We characterize the impact of limited sample size in accomplishing this objective, and apply two instances of the proposed optimization to datasets, including one on real-world criminal recidivism. The results demonstrate that all three criteria can be simultaneously achieved and also reveal interesting patterns of bias in American society.
Introduction
As machine learning increasingly governs high-stakes decisions—such as bail hearings or credit approvals—the risk of algorithmic discrimination grows. Even when "protected attributes" (like race or gender) are removed from a dataset, models often pick up on "proxies"—correlated variables like zip codes or education levels—that lead to disparate impact.
Existing pre-processing methods often fall short by focusing solely on group fairness (statistical parity) while ignoring individual fairness (ensuring similar people are treated similarly) or lacking a principled way to maintain data utility. This paper introduces a convex optimization framework designed to "clean" datasets of discriminatory bias before they are used to train machine learning models. By simultaneously balancing group fairness, individual consistency, and data utility, the proposed method provides a model-agnostic way to ensure that downstream algorithms inherit fairness properties without sacrificing predictive power.
Methodology
The core of the proposed approach is a probabilistic data transformation. Instead of simple label flipping, the framework learns a randomized mapping that transforms the original data $(X, Y)$ into a new version $(\hat{X}, \hat{Y})$ while keeping the protected attribute $D$ intact.
The transformation is derived by solving a convex optimization problem with three specific components:
- Utility Preservation: The objective is to minimize the "distance" (e.g., KL-divergence or $L_1$ distance) between the original and transformed probability distributions, ensuring the data remains useful for training.
- Discrimination Control: A constraint ensures that the probability of a positive outcome is nearly independent of the protected attribute $D$.
- Distortion Control: A constraint limits how much any single individual's data can be changed, anchoring the transformation to the reality of the individual.
Because the problem is formulated as a convex optimization, it can be solved efficiently and guarantees a globally optimal transformation for the given constraints.
Experiments and Results
The authors evaluate their method on two well-known benchmarks for algorithmic fairness: the ProPublica COMPAS Recidivism Data and the UCI Adult Dataset.
On the COMPAS dataset, the framework significantly reduced discrimination while keeping the utility loss (measured by KL-divergence) extremely low (around 0.02). In the UCI Adult dataset, the transformation achieved fairness by increasing the "high income" probability for well-educated women—a group statistically undervalued in the raw census data. Furthermore, the authors provide a theoretical proof showing that with sufficient training samples, the fairness and utility guarantees found during pre-processing generalize to unseen test data.
Key Insights
- Model-Agnostic Pre-processing: By fixing the data, the fairness guarantees are "baked into" the training set, making the solution compatible with any future model, from Random Forests to Neural Networks.
- Bias Diagnosis: The optimal mapping acts as a diagnostic tool. For example, in the COMPAS data, the optimizer "recommends" lowering recidivism risk for young African-American males, highlighting where systemic bias is most concentrated.
- Bridging Individual and Group Fairness: The use of distortion constraints demonstrates that group-level parity can be satisfied without unfairly "teleporting" individuals to completely different parts of the feature space.
Limitations and Future Work
While effective, the framework faces the "curse of dimensionality" as the optimization happens over the joint distribution of all variables. For datasets with many continuous features, dimensionality reduction or clustering is required. Additionally, the current framework is primarily designed for discrete data; extending it to high-dimensional continuous features and handling cases where protected attributes are unavailable at test time remain areas for future research.
Summary updated