Abstract
Generating data that satisfies specific conditional independence (CI) constraints is a fundamental challenge in causal inference and algorithmic fairness. This paper introduces a novel framework for CI-enforcing data generation by leveraging a new theoretical characterization of CI based on divergence identities. The authors propose an end-to-end differentiable GAN architecture that utilizes multiple discriminators to minimize the difference between two Jensen-Shannon divergences. Unlike prior methods, this approach avoids the "perfect sampler" trap by requiring only an imperfect reference distribution. Empirical evaluations on the Adult Census Income dataset demonstrate that the framework effectively enforces fairness criteria like equalized odds and conditional statistical parity with minimal loss in predictive accuracy.
Introduction
Conditional independence (CI)—the statement that variable $X$ is independent of $Y$ given $Z$ ($X \perp Y | Z$)—is a cornerstone of machine learning. While testing for CI has been extensively studied, the generation of data satisfying desired CI constraints is less explored. This capability is critical for algorithmic fairness, where many definitions are essentially CI statements. For instance, "Equalized Odds" requires predictions to be independent of a sensitive attribute given the true outcome. Modifying "unfair" datasets to satisfy these constraints without losing utility is difficult in high-dimensional spaces, as standard methods often rely on hard-to-build perfect conditional samplers.
Theoretical Characterization of CI
The core contribution of this work is a theoretical characterization of CI through the equality of two divergences. Specifically, the authors prove that $X \perp Y | Z$ if and only if the divergence between the joint distribution and a specifically constructed reference distribution equals the divergence between their marginals. This identity transforms a logical constraint into a differentiable objective suitable for gradient-based optimization.
CI-Enforcing GAN Architecture
Based on this theoretical insight, the authors propose a CI-enforcing GAN architecture. Unlike standard GANs, this model employs three discriminators:
- $D_{\phi_1}$: Ensures the generated distribution remains close to the original input data.
- $D_{\phi_2}$ and $D_{\phi_3}$: These discriminators work in tandem to estimate the two divergences required by the theoretical identity.
The generator is trained to minimize a weighted sum of the standard GAN loss ($L_1$) and a novel "CI loss" ($L_4$), defined as the squared difference between the outputs of $D_{\phi_2}$ and $D_{\phi_3}$. A significant advantage of this approach is its robustness; it only requires an "imperfect" reference sampler (e.g., a uniform distribution) rather than a perfectly trained conditional generator.
Applications in Algorithmic Fairness
The framework is particularly well-suited for enforcing fairness constraints. The authors demonstrate its utility in two primary areas:
Conditional Statistical Parity (CSP)
CSP requires that a prediction be independent of a sensitive attribute $S$ given a set of admissible variables $A$. Existing methods often struggle with high-dimensional or continuous admissible variables. This GAN-based approach handles multiple conditioning variables naturally. On the Adult Census Income dataset, the method reduced the Maximum Conditional Statistical Disparity (MCSD) from ~38% to ~15%, with only a ~3% drop in classification accuracy.
Equalized Odds (EO)
Equalized Odds requires independence between the prediction and sensitive attribute given the true label. The authors compared their method against standard Adversarial Debiasing (AD).
While both methods can achieve fairness, the CI-enforcing GAN exhibited superior stability. As the fairness penalty increased, the CI method showed a graceful decline in accuracy, whereas the AD method's performance often became erratic or collapsed.
Key Insights and Limitations
A major breakthrough of this work is turning a logical independence constraint into a differentiable objective. By avoiding the need for perfect conditional samplers, the authors solve a "chicken-and-egg" problem inherent in many previous CI enforcement strategies.
However, limitations remain. Like most GAN-based models, the architecture can be sensitive to hyperparameters and training instability. Additionally, while a uniform reference sampler works for bounded variables, selecting optimal samplers for complex, unbounded data is an area for future research. Beyond fairness, this framework holds promise for invariant prediction and improving the robustness of CI testing itself.
Summary updated