Abstract
Machine learning models often inherit and amplify biases present in training data. While statistical fairness methods aim to balance outcomes, they frequently fail to account for the underlying causal mechanisms that define "fairness" in a specific context. This paper introduces CFGAN (Causal Fairness GAN), a framework that integrates structural causal models into a generative adversarial network. By employing a dual-generator architecture synchronized through parameter sharing, CFGAN produces synthetic data that satisfies complex causal fairness criteria—such as counterfactual fairness and path-specific effects—while maintaining high data utility.
Introduction
The perpetuation of historical bias in automated decision-making systems is a critical challenge. Traditional "fair" data generators often rely on statistical parity, which ensures balanced outcomes across sensitive groups (e.g., gender or race). However, statistical parity is "causally blind." It cannot distinguish between fair paths (e.g., income differences explained by education) and unfair paths (e.g., direct discrimination). To address this, fairness must be framed as a causal problem. The goal is to create generative models that understand the why behind data distributions to enforce fairness more precisely without stripping away legitimate, non-discriminatory information.
The CFGAN Architecture
The core innovation of CFGAN is the mapping of Pearl’s structural causal models directly onto the GAN framework. Unlike standard GANs, CFGAN utilizes a dual-generator and dual-discriminator setup.
Dual-Generator System
- Observational Generator ($G^1$): This component simulates the real-world causal model. It is trained to generate data that matches the distribution of the original, potentially biased dataset.
- Interventional Generator ($G^2$): This component simulates a "counterfactual" world where an intervention on a sensitive attribute has occurred (e.g., changing a subject's gender).
To ensure these generators learn the same underlying causal mechanisms, they share neural network parameters and receive the same input noise. This synchronization allows the model to perform counterfactual reasoning.
Dual-Discriminator System
- Utility Discriminator ($D^1$): Ensures that the data generated by $G^1$ is indistinguishable from real-world data, preserving the utility and statistical properties of the original set.
- Fairness Discriminator ($D^2$): Challenges $G^2$ to produce outcomes in the interventional world that are indistinguishable across different sensitive groups. This effectively enforces the chosen causal fairness criterion.
Causal Graph Mapping and Fairness Criteria
CFGAN is designed to be flexible, supporting various causal fairness definitions, including Total Effect (TE), Path-Specific Effect (PSE), and Counterfactual Fairness (CF). The sub-networks within the generators are wired to match the edges of a pre-defined causal graph, ensuring the model respects known structural relationships between variables.
Experimental Evaluation
The researchers evaluated CFGAN using the UCI Adult Income Dataset (65,123 samples, 11 variables), focusing on the sensitive attribute "Sex" and the task of predicting whether an individual's income exceeds $50k/year.
Key Results
- Utility vs. Fairness: By adjusting a hyperparameter ($\lambda$), the model can balance data realism against fairness. CFGAN achieved near-zero discrimination with minimal loss in predictive accuracy.
- Performance: In Total Effect tests, CFGAN reduced gender-based income bias from 0.1936 to 0.0102 while maintaining ~81% classifier accuracy. It consistently outperformed "causally blind" baselines like FairGAN in terms of data utility (measured by $\chi^2$ distance).
- Path-Specific Fairness: When removing discrimination through specific paths (e.g., marital status), CFGAN achieved a near-zero effect (0.0030), demonstrating its precision in handling complex causal structures.
Conclusion and Future Work
CFGAN represents a significant step toward integrating causal reasoning into deep generative models. By using causal structure as a regularizer, the model learns more meaningful representations than purely statistical approaches. However, the framework's reliance on a pre-defined, accurate causal graph remains a limitation. Future research may focus on simultaneously learning the graph structure and the generator parameters, as well as scaling the method to handle high-dimensional continuous data.
Summary updated