Introduction
In the quest for algorithmic fairness, simply "hiding" a sensitive attribute like race or gender from a model is often insufficient. Hidden correlations, or proxies, frequently allow bias to persist. To truly address fairness, we must understand how information flows through a system. The FairTrade framework, introduced by Helwegen, Louizos, and Forré, leverages causal modeling and variational inference to build predictive models that are fair by design, even when influential factors remain unobserved.
The Challenge of Causal Fairness
Most fairness metrics are observational, focusing on statistical correlations like "Statistical Parity," which requires a model's output to be independent of a sensitive attribute. However, these metrics often fail to capture the underlying reasons for disparity.
Counterfactual fairness offers a more robust causal alternative, asking: "Would the outcome for this individual have changed if their sensitive attribute had been different, holding all else constant?" Implementing this is difficult due to:
- Unobserved Confounders: Real-world data rarely includes every variable. Hidden factors can influence both sensitive attributes and outcomes, muddling causal estimates.
- Path Specificity: Sensitive attributes may affect outcomes through both "unfair" paths (discrimination) and "fair" paths (legitimate resolving variables).
The FairTrade Methodology
FairTrade addresses these challenges through a three-step process:
- Causal Structure Modeling: A Directed Acyclic Graph (DAG) is defined based on domain knowledge to identify "fair" and "unfair" paths.
- Learning Causal Mechanisms: A Causal Effect Variational Autoencoder (CEVAE) uses a latent space ($Z$) to represent unobserved confounders, estimating the data's underlying causal mechanisms.
- Fair Prediction Training: An auxiliary "fair" model is trained using inputs from the CEVAE that block unfair causal paths while preserving information from fair ones.
Experimental Evaluation
The authors evaluated FairTrade on two primary datasets:
- IHDP (Infant Health and Development Program): A benchmark for causal inference involving medical treatment effects.
- Unlawful Social Welfare Dataset: A real-world Dutch dataset (94,274 profiles) used to detect risk for unlawful welfare claims while ensuring counterfactual fairness regarding ethnicity.
Key Results and Insights
The FairTrade model demonstrates a significant improvement in fairness with minimal impact on predictive performance. In the social welfare experiment, while baseline models achieved ~69% accuracy with lower fairness, FairTrade reached 66.8% accuracy while substantially improving the Statistical Parity Score (moving it closer to 1.0).
Key insights include:
- Latent Variable Utility: Variational Inference allows the model to estimate hidden confounders, making causal fairness practical for messy, real-world data.
- Path-Specific Control: By allowing information from "fair" resolving variables to flow through, FairTrade preserves more predictive accuracy than a total attribute ban.
- Black Box Auditing: The generative model can create "counterfactual datasets" to audit the fairness of existing non-causal models.
Discussion and Limitations
While FairTrade provides a powerful tool for causal control, it relies heavily on the accuracy of the initial DAG. If the assumed causal structure is incorrect, the resulting "fair" predictions will be flawed. Additionally, as a variational approximation, CEVAE offers fewer theoretical guarantees than exact causal methods. Finally, "data leakage"—where labels like fraud convictions influence covariates—must be carefully managed through temporal filtering.
Ultimately, FairTrade highlights that while technical frameworks can mitigate bias, the ethical justification of "fair" vs. "unfair" paths remains a complex task requiring domain expertise.
Summary updated