TL;DR
This paper introduces a highly efficient pre-processing algorithm that transforms datasets to guarantee fairness in machine learning models before training even begins. By leveraging optimal affine transport and Wasserstein geodesics, the authors provide a mathematically rigorous way to navigate the "Pareto frontier"—the optimal trade-off between prediction accuracy and statistical fairness—without needing access to sensitive attributes during model deployment.
What Problem Does This Paper Address?
As machine learning increasingly drives critical decisions like credit scoring, hiring, and legal sentencing, preventing algorithmic bias is vital. Existing approaches to group fairness (specifically statistical parity) typically fall into three categories: pre-processing, in-processing, and post-processing.
While post-processing methods using Wasserstein barycenters offer strong mathematical guarantees for fairness, they suffer from major practical flaws: they require explicit access to sensitive attributes (like race or gender) during inference, making them vulnerable to privacy leaks, and they are computationally expensive, failing to scale to high-dimensional data. Conversely, traditional pre-processing methods are flexible but often lack rigorous utility guarantees.
This paper bridges the gap by developing a pre-processing framework that enjoys both the mathematical rigor of post-processing barycenters and the flexibility of data representation.
Methods
The authors formulate the problem as a constrained optimization task aimed at minimizing $L^2$ prediction loss while enforcing independence from a sensitive variable $Z$. To make this computationally tractable for high-dimensional data, they introduce several key innovations:
- Optimal Affine Transport Relaxation: Instead of calculating exact, infinite-dimensional transport maps, the authors restrict the data deformation maps to be affine (linear transformations plus translations). This relaxes the strict independence constraint to the first two moments (mean and covariance).
- Post-Processing Pseudo-Barycenter: They define a "pseudo-barycenter" using matrix calculations that perfectly coincides with the true Wasserstein barycenter for Gaussian distributions and serves as an optimal affine approximation for general distributions.
- McCann Interpolation along Geodesics: To trace the Pareto frontier (the trade-off curve between accuracy and fairness), the authors use McCann displacement interpolation to linearly move data distributions from their original states toward the fair pseudo-barycenter.
They provide two main algorithms: Algorithm 1 for transforming independent variables ($X$) and Algorithm 2 for dependent variables ($Y$).
Datasets
The authors evaluated their approach using four standard fairness benchmarks:
- UCI Adult: 162,805 samples, 16 features. Task: Predict if gross annual income exceeds \$50k (Sensitive attribute: Gender).
- COMPAS: 26,390 samples, 7 features. Task: Predict violent recidivism (Sensitive attribute: Race).
- LSAC (Law School Admission Council): 20,454 samples, 9 features. Task: Predict student GPA (Sensitive attribute: Race).
- CRIME (Communities and Crime): 1,994 samples. Evaluated as both a univariate task (97 features to predict crime rate) and a multivariate task (87 features to predict an 11-dimensional vector of local housing and economic metrics; Sensitive attribute: Race).
Key Insights and Ideas
- A Linear Pareto Frontier: The authors prove that when utility loss is measured by $L^2$ distance and disparity is measured by the average pairwise Wasserstein-2 distance, the optimal trade-off path (Pareto frontier) on the Wasserstein space is strictly linear.
- Model Independence: Because the data is desensitized before training, the fairness guarantee is completely decoupled from the downstream ML model. A practitioner can swap out a linear regression for a random forest or a deep neural network without re-running the fairness optimization.
- Geometric Intuition of Fairness: On a point-wise scale, the optimal fair learning outcome acts as a geometric matcher. It aligns data points with similar relative positions within their respective sensitive groups and represents them by their Euclidean average, effectively removing structural bias while preserving individual merit.
Key Results
- Massive Speedups: The affine pseudo-barycenter approach is dramatically faster than exact post-processing methods. It achieved a 7,836x speedup on the LSAC dataset and a 21x speedup on the CRIME dataset during a single train-test cycle.
- Preserved Utility: In classification tests on the Adult and COMPAS datasets, the proposed method consistently outperformed state-of-the-art pre-processing baselines (like Calmon or Zemel), achieving lower discrimination metrics while maintaining higher AUC values.
- Multivariate Capability: Unlike previous exact Wasserstein methods that only work for one-dimensional targets, this method successfully scaled to multivariate regression (e.g., the 11-dimensional target vector in the CRIME dataset), effectively neutralizing bias where standard "drop the sensitive variable" approaches failed completely.
Limitations and Future Work
- Affine Simplification: The primary limitation is the reliance on affine maps. While computationally elegant and highly effective for tabular data, pure affine transformations may be too simple to capture the complex, non-linear dependencies present in highly structured data like text or images.
- Future Directions: The authors suggest that this $L^2$ space framework can serve as a foundational starting point for extending fair data representation to more complex, non-linear manifolds using deep generative AI models.
Summary updated