Introduction
Machine learning models are notorious for the "garbage in, garbage out" phenomenon—if the training data contains historical or systemic biases, the resulting model will likely amplify them. While researchers have developed "fair" learning algorithms, a more robust and foundational solution is to fix the data itself.
DECAF (DEbiasing CAusal Fairness) is a novel GAN-based framework designed to generate high-quality synthetic data while allowing users to "dial in" fairness requirements after the model is trained. By embedding a causal graph directly into the generator's architecture, DECAF can strategically remove biased relationships at inference time, ensuring that any downstream model trained on this data remains fair.
The Fairness-Utility Trade-off
Generating fair synthetic data is notoriously difficult. Existing methods often struggle with a "fairness-utility trade-off," where making the data fair significantly degrades its quality or usefulness for downstream tasks. Furthermore, most current tools operate as "black boxes" that fail to account for the underlying causal mechanisms of the data. If you don't know why a bias exists—for instance, whether it is a direct discriminatory link or an indirect correlation through an explanatory factor—it is incredibly hard to remove it precisely without destroying the data's overall integrity.
A Causally-Aware Approach
To solve this, the authors introduce DECAF, which moves away from the standard GAN architecture where a single generator produces an entire data row at once. Instead, DECAF utilizes a causally-aware generator:
- Causal Structure: DECAF requires a Directed Acyclic Graph (DAG) representing the data-generating process. If the true graph isn't known, it can be estimated using causal discovery algorithms.
- Modular Generation: The generator is composed of smaller sub-generators (one for each variable). Each variable is generated sequentially, conditioned only on its "causal parents" in the graph.
- Inference-time Debiasing: Because the model learns the causal conditionals, users can intervene at the generation stage. To satisfy a specific fairness definition (like Demographic Parity or Fairness Through Unawareness), DECAF performs a "surrogate do-operation"—it effectively cuts the biased edges in the graph and replaces them with neutral surrogate values.
- Versatility: This modular approach allows a single trained DECAF model to produce multiple different datasets tailored to different legal or ethical definitions of fairness without needing to be retrained.
Key Insights and Results
The researchers evaluated DECAF on two primary tabular datasets: the classic Adult Dataset (Census Income), known for gender-based income bias, and a Credit Approval Dataset, used to test how well the model could "unlearn" synthetically injected biases based on ethnicity.
- Causality is the Key to Precision: By using a DAG, DECAF distinguishes between "fair" correlations (explanatory factors) and "unfair" ones. This allows for surgical debiasing rather than the "sledgehammer" approach of simply deleting columns.
- Superior Data Quality: On the Adult dataset, DECAF-ND (no debiasing) achieved an AUROC of 0.781, nearly matching the original data (0.807) and significantly outperforming standard GANs (0.567). By respecting the causal structure, DECAF maintains higher data fidelity than previous fair generators like FairGAN, which often produce unrealistic samples.
- Effective Bias Removal: When debiasing was activated (DECAF-DP), the "Demographic Parity" violation dropped from 0.180 (original data) to a near-perfect 0.001, while still maintaining a respectable AUROC of 0.672.
- Robustness to Injected Bias: In the Credit Approval experiments, DECAF consistently outperformed FairGAN across all metrics (Precision, Recall, and AUROC) as the strength of the injected bias increased. It successfully recovered the "ground truth" unbiased distribution even when the training data was heavily corrupted.
Limitations and Future Work
While DECAF represents a significant step forward, it has limitations. It relies on having a reasonably accurate causal graph; errors in the DAG specification can lead to imperfect debiasing or lower data quality. Additionally, the model assumes "causal sufficiency," meaning there are no unobserved hidden variables (confounders) influencing the system—an assumption that is often difficult to guarantee in real-world social scenarios.
Currently, the method is designed for tabular data. Extending this to high-dimensional data like images, where a "protected attribute" isn't a single discrete variable, remains a non-trivial challenge for future research. Finally, training separate sub-generators can be more computationally intensive than training a single large generator, especially as the number of features grows.
Summary updated