Abstract
Ensuring fairness in machine learning models often requires training complex architectures like Fairness-aware Generative Adversarial Networks (FairGANs) from scratch, which is computationally expensive. This paper introduces a novel framework that utilizes Variational Auto-Encoders (VAEs) to "reprogram" pre-trained FairGANs for new tabular data tasks. By mapping new dataset structures onto existing models through a fixed-decoder VAE bridge, the approach enables efficient transfer learning while maintaining data utility and fairness. Experiments on recidivism and hiring datasets demonstrate that the model achieves competitive accuracy and effective bias mitigation across various transfer scenarios.
Introduction
Fairness in AI is a multifaceted challenge, with numerous identified biases and definitions of fairness. FairGANs have emerged as a robust solution by generating synthetic data stripped of correlations with protected attributes. However, these models are resource-intensive and lack flexibility; adapting them to new datasets or tasks typically necessitates retraining. Furthermore, while adversarial reprogramming has succeeded in image and sequence domains, its application to tabular data—prevalent in business and social sciences—has remained limited. This research addresses these gaps by proposing a VAE-based reprogramming method for FairGANs.
Methods: The VAE-Reprogramming Framework
The proposed framework combines adversarial reprogramming with VAEs to bridge the gap between disparate tabular datasets.
- Base Model Architecture: The system leverages a pre-trained FairGAN consisting of a generator and dual discriminators (one for realism, one for fairness).
- The VAE Bridge: To accommodate varying dimensions in tabular data, a VAE is employed as a basic building block. The core innovation involves keeping the VAE's Decoder fixed while training a new Encoder to map the target dataset into the latent space of the pre-trained model.
- Optimization and Hyperparameters: The reprogramming process optimizes only the new Encoder and the discriminators. Two critical hyperparameters govern this process:
- $\gamma$ (Gamma): Balances the trade-off between classification accuracy and data realism.
- $\delta$ (Delta): Controls the fairness constraint, forcing the generator to produce data independent of sensitive attributes.
This architecture allows for "dimension expansion" or "reduction," effectively mapping a new dataset's structure onto the pre-trained model's internal logic.
Experimental Setup
The framework was evaluated using two benchmark datasets:
- COMPAS Recidivism Dataset: 60,843 observations for predicting criminal re-offending, focused on racial bias.
- Candidate Selection Dataset: 31,349 observations regarding hiring decisions, focused on gender bias.
The researchers tested four transfer scenarios: Same Dataset/Same Task (SDST), Same Dataset/Different Task (SDDT), Different Dataset/Same Task (DDST), and Different Dataset/Different Task (DDDT).
Results and Discussion
The experimental results indicate that tabular reprogramming is a viable and efficient alternative to retraining.
Accuracy and Utility
In scenarios without explicit fairness constraints (simple reprogramming), the model matched or even outperformed baselines in three out of four scenarios. Even in the most challenging DDDT scenario, the accuracy remained robust at 74.5%, compared to a 78.8% baseline. The study also highlighted a "three-way tug-of-war" between data realism, classification utility, and fairness. Adjusting $\gamma$ to 100 significantly boosted accuracy but occasionally compromised data realism, as indicated by the red crosses in the results table above.
Fairness Mitigation
The model successfully achieved fairness in complex transfers (DDST and DDDT), where the fairness discriminator's accuracy was reduced to approximately 50%, effectively making the protected attributes indistinguishable from random noise. Interestingly, the fairness constraint appeared more effective during cross-dataset transfers than within the same dataset, suggesting that the complexity of balancing multiple constraints varies by scenario.
Conclusion
This research demonstrates that VAE-based adversarial reprogramming is an effective "shortcut" for deploying fair AI models on new tabular tasks. By reusing knowledge from large-scale datasets, this approach democratizes access to fairness-aware tools for resource-constrained applications. Future work will focus on automating hyperparameter tuning and refining VAE architectures to better preserve semantic meaning during structural transformations.
Summary updated