Abstract
Deep learning models often exploit "shortcuts" or spurious correlations in training data, leading to poor generalization on unbiased test sets. While adversarial debiasing aims to mitigate this by making model representations independent of bias variables, we argue that this unconditional constraint is often too restrictive. We propose a conditional adversarial debiasing framework that enforces independence between representations and bias given the true label. Our results on synthetic and real-world datasets demonstrate that this approach effectively removes bias without sacrificing the predictive power of legitimate features.
The Problem of Spurious Correlations
Neural networks are notorious for finding the path of least resistance. If a dataset contains a bias—such as a specific background color or a recurring object—that correlates with the target label, the model may learn to rely on these "shortcuts" rather than the actual features of interest. For example, a skin lesion classifier might learn to detect the presence of a ruler in the image rather than the characteristics of the lesion itself.
Existing adversarial debiasing techniques attempt to solve this by training an "adversary" network to predict the bias from the model's internal representations ($R$). The main model is then penalized if the adversary succeeds, effectively enforcing unconditional independence ($R \perp B$). However, if the label ($L$) and bias ($B$) are naturally correlated in the training data, this constraint can force the model to discard useful, label-relevant information, leading to degraded performance.
Methodology: Conditional Independence
The core contribution of this work is the shift from unconditional to conditional independence ($R \perp B | L$). This allows the model to utilize features that might be correlated with the bias, provided they are fundamentally driven by the true signal.
To implement this as a differentiable loss function, the authors extend three statistical frameworks:
- Conditional Mutual Information (MI): Approximates shared information using kernel density estimation.
- Conditional Hilbert-Schmidt Independence Criterion (HSIC): A kernel-based method for high-dimensional dependence.
- Conditional Maximum Correlation Coefficient (MCC): Uses partial correlations to prevent bias leakage.
Mathematically, the paper provides proof that an optimal, unbiased classifier naturally satisfies this conditional independence criterion, whereas it would fail the traditional unconditional test.
Experimental Evaluation
We evaluated our approach on two distinct datasets:
- Synthetic Shapes: 8x8 pixel images where shapes (cross vs. square) are perfectly correlated with colors (green vs. violet) in the training set but independent in the test set.
- Biased Cats vs. Dogs: A real-world image dataset modified to introduce a fur-color bias (e.g., most dogs have light fur, most cats have dark fur).
Key Results
Our experiments confirm that unconditional debiasing often performs worse than a simple baseline. In contrast, the proposed conditional methods consistently improve accuracy on unbiased test sets.
On the synthetic task, while traditional methods dropped baseline accuracy (~82%) to roughly 74-77%, our conditional MCC method reached 85.4%. Similarly, on the biased Cats vs. Dogs dataset, the conditional methods outperformed all state-of-the-art (SOTA) competitors, maintaining stability even as the level of bias in the training data increased.
Conclusion and Future Work
Conditional adversarial debiasing provides a more nuanced and effective way to handle dataset bias than traditional methods. By framing the problem through conditional independence, we avoid the "too strict" constraints that hamper standard debiasing.
Current limitations include the requirement for known bias labels and the computational cost of kernel-based estimation. Future research will focus on discovering unknown biases and extending these constraints to continuous or high-dimensional bias variables.
Summary updated