Introduction
Principal Component Analysis (PCA) is a cornerstone of dimensionality reduction, widely used to extract the most informative features from high-dimensional data. However, standard PCA is "fairness-blind," often inadvertently preserving or amplifying biases related to protected attributes such as race, gender, or age. This paper, presented at AAAI 2022, introduces MBF-PCA, a robust and computationally efficient framework designed to balance data utility with social fairness.
The Limitations of Prior Fair PCA
Previous attempts at "Fair PCA" (notably FPCA) faced two significant hurdles. First, they often relied on Gaussian assumptions, attempting only to match the means and covariances of different groups. This approach fails when groups have identical moments but distinct underlying distributions. Second, these methods frequently employed Semidefinite Programming (SDP) relaxations, which are computationally expensive and prone to "variance leakage," where useful information is lost during the reduction process.
Methodology: MMD and Stiefel Manifold Optimization
MBF-PCA addresses these issues through two primary innovations:
- Δ-Fairness via Maximum Mean Discrepancy (MMD): Instead of matching simple statistics, MBF-PCA uses MMD, a kernel-based metric that measures the distance between entire distributions in a high-dimensional feature space. This non-parametric approach ensures that dimensionality-reduced data distributions are nearly identical across protected groups, regardless of their original shape.
- Optimization on the Stiefel Manifold: The principal components of PCA form a Stiefel manifold—a set of matrices with orthonormal columns. Rather than using slow convex relaxations, the authors optimize directly on this manifold using the Riemannian Exact Penalty Method with Smoothing (REPMS). This allows fairness to be treated as a hard constraint: maximizing variance preservation while ensuring the MMD between groups remains near zero.
Experimental Evaluation
The authors evaluated MBF-PCA against several benchmarks, including synthetic "counter-example" datasets and real-world datasets like UCI COMPAS (recidivism), Adult Income (census data), and German Credit (credit scoring).
Key Results
- Superior Fairness and Utility: On the German Credit and Adult Income datasets, MBF-PCA achieved lower MMD and better demographic parity than standard PCA and FPCA. Crucially, it retained significantly more explained variance, leading to higher accuracy in downstream classification tasks.
- Computational Efficiency: MBF-PCA offers a dramatic speedup. While FPCA’s runtime grows exponentially with dimensionality (taking over 25 minutes for $p=100$), MBF-PCA completes the same task in seconds.
- Visual Alignment: As shown in the comparative plots, MBF-PCA effectively "merges" the distributions of protected groups into a single, fair representation, whereas competing methods often leave them clearly separated or significantly distorted.
Conclusion and Future Work
MBF-PCA represents a significant step forward in fair machine learning, providing a tool that is both theoretically rigorous and practically scalable. While the current implementation scales well with dimensionality, the $O(n^2)$ complexity of MMD relative to sample size remains a target for future optimization. The authors suggest that incorporating stochastic (mini-batch) optimization and exploring combinations with "Sparse PCA" are promising avenues for further research.
Summary updated