Introduction
Machine learning models are increasingly used in high-stakes decision-making, from hiring to criminal justice. However, these models are only as good as the data they consume. Real-world datasets often harbor historical biases, under-representation of certain groups, or sample size disparities. When trained on such "unfair" data, models often amplify these biases, leading to discriminatory outcomes.
Existing solutions—categorized as pre-processing, in-processing, or post-processing—frequently face a harsh trade-off: improving fairness often comes at the cost of significant predictive accuracy. Furthermore, simple re-sampling techniques do not address the underlying issue of poor data quality for under-represented groups. This paper introduces a novel framework that leverages generative models and transfer learning to build fair classifiers without sacrificing performance.
Methodology: Generative Fair Data
The proposed approach centers on a three-step pipeline designed to create and utilize perfectly balanced synthetic data.
1. VAE-GAN for Cross-Domain Translation
The core engine is a hybrid model combining a Variational Autoencoder (VAE) and a Generative Adversarial Network (GAN). This architecture allows for the disentanglement of features, enabling the model to "translate" a data point from one domain to another. For instance, it can generate a "female" version of a "male" data point while keeping all other non-sensitive features consistent.
2. Generating Balanced Synthetic Data
Once trained, the generative model produces a massive, perfectly balanced synthetic dataset. This dataset contains an equal number of samples for every combination of target labels and sensitive attributes (e.g., equal numbers of high-income/low-income and male/female samples), effectively eliminating representation bias.
3. Transfer Learning for Fair Classification
To bridge the "sim-to-real" gap, the authors employ a transfer learning strategy. A classifier is first pre-trained on the balanced synthetic data to establish a "fair" baseline. It is then fine-tuned using real-world data, allowing the model to adapt to real-world distributions while retaining the fairness properties learned during pre-training.
Experimental Evaluation
The framework was evaluated on four standard fairness benchmarks:
- Adult (Census Income): Predicting income levels with Sex as the sensitive attribute.
- COMPAS: Predicting recidivism with Sex as the sensitive attribute.
- German Credit: Predicting credit risk with Sex as the sensitive attribute.
- MEPS (Medical Expenditure Panel Survey): Predicting health service utilization with Race as the sensitive attribute.
Key Results and Insights
The proposed method was compared against state-of-the-art fairness techniques, including Adversarial De-biasing and LAFTR.
Fairness and Accuracy
On the COMPAS and MEPS datasets, the model significantly outperformed competitors in reducing the "Equal Opportunity Difference" and "Average Odds Difference." Crucially, unlike many other fair models that suffer from performance drops, this method maintained high Balanced Accuracy, often matching or exceeding the baseline.
The Power of Synthetic Data
By using a generative model, the researchers overcome the "under-representation" problem. They can generate an infinite number of high-quality synthetic samples for minority groups. Quality control using Fréchet Inception Distance (FID) scores confirmed that the synthetic data remained statistically similar to real-world data.
Optimal Data Ratios
The authors found that a 50:50 ratio of real-to-synthetic data during the transfer learning phase generally provided the best balance between fairness and accuracy, though this ratio can be tuned based on specific requirements.
Conclusion and Future Work
This research demonstrates that generative models, combined with transfer learning, provide a robust path toward fair machine learning. By creating balanced synthetic environments for pre-training, models can learn to be fair before they are exposed to the complexities of biased real-world data.
Future work will focus on improving the robustness of the generative process for extremely imbalanced datasets and exploring more holistic evaluation frameworks that account for multiple, sometimes conflicting, fairness metrics.
Summary updated