Learning Bias-Invariant Representation by Cross-Sample Mutual Information Minimization

Wei Zhu, Haitian Zheng, Haofu Liao, Weijian Li, Jiebo LuoICCV 2021

Abstract

Deep learning algorithms mine knowledge from the training data and thus would likely inherit the dataset's bias information. As a result, the obtained model would generalize poorly and even mislead the decision process in real-life applications. We propose to remove the bias information misused by the target task with a cross-sample adversarial debiasing (CSAD) method. CSAD explicitly extracts target and bias features disentangled from the latent representation generated by a feature extractor and then learns to discover and remove the correlation between the target and bias features. The correlation measurement plays a critical role in adversarial debiasing and is conducted by a cross-sample neural mutual information estimator. Moreover, we propose joint content and local structural representation learning to boost mutual information estimation for better performance. We conduct thorough experiments on publicly available datasets to validate the advantages of the proposed method over state-of-the-art approaches.

Introduction

Deep learning models often exploit "shortcuts"—spurious correlations between target labels and bias attributes—rather than learning the underlying causal features. For instance, a model might identify "grass" as a proxy for "dog" if most dog images in the training set are outdoors. In critical domains like healthcare, this can lead to dangerous outcomes, such as predicting Parkinson’s Disease based on a patient's age rather than their symptoms.

Existing adversarial debiasing methods typically attempt to remove correlations within a single sample. However, this paper argues that such local approaches are insufficient. Bias attributes, like color or age, represent broader concepts shared across many samples. Standard methods often fail to capture this rich cross-sample information and ignore the local structural relationships between data points in the feature space.

The CSAD Framework

The authors introduce Cross-Sample Adversarial Debiasing (CSAD), a framework designed to move beyond simple label-based debiasing through three primary innovations:

  1. Explicit Disentanglement: The architecture utilizes a feature extractor followed by two distinct "disentanglers" ($D^y$ and $D^b$). These split the latent representation into target features ($h^y$, e.g., digit shape) and bias features ($h^b$, e.g., color).
  2. Cross-Sample Mutual Information (MI) Minimization: CSAD employs a neural MI estimator to measure the correlation between the target features of one sample and the bias features of other samples sharing the same bias. By minimizing this cross-sample MI, the model is forced to ensure the target representation is truly invariant to the bias.
  3. Joint Content and Structure Learning: To enhance MI estimation, the framework incorporates Random Walk with Restart (RWR) to capture the "topological structure" of the data. This ensures that a sample's target representation cannot be inferred from the bias representations of its neighbors in the feature space.
The CSAD framework architecture showing the disentanglement of target and bias features and the adversarial debiasing loop.

Key Insights

  • The "Cross-Sample" Advantage: Traditional debiasing is often too localized. By analyzing correlations across different samples, CSAD captures a global definition of bias, making it significantly harder for the model to retain leaked bias information.
  • Feature-to-Feature Independence: Unlike many state-of-the-art methods that focus on making features independent of a discrete label, CSAD ensures independence between target and bias features. This approach bridges the "domain gap" between continuous latent spaces and discrete labels.
  • Topology Matters: Integrating local structural information prevents the model from hiding bias within the clustering of samples, resulting in a more "pure" target representation.
Illustration of cross-sample mutual information estimation using both content and local structural information.

Experimental Results

The researchers evaluated CSAD across five diverse benchmarks, demonstrating its robustness in various scenarios:

  • Colored MNIST: On the most heavily biased version, CSAD achieved 94.3% accuracy, significantly outperforming the previous state-of-the-art (86.4%).
  • Medical Utility (mPower): In Parkinson’s Disease detection, CSAD improved the Area Under the Curve (AUC) from a 0.735 baseline to 0.772, indicating it successfully ignored age-related biases to focus on disease symptoms.
  • CelebA: For target attributes like BlondHair and HeavyMakeup, CSAD consistently outperformed baselines and other debiasing methods (like Group DRO and LfF) in both unbiased and bias-conflicting test sets.
  • Fairness-Accuracy Balance: On the Adult tabular dataset, CSAD maintained high accuracy (80.4%) while providing competitive fairness results, avoiding the massive accuracy drops seen in some specialized fairness models.

Conclusion

CSAD presents a powerful method for learning bias-invariant representations by leveraging cross-sample mutual information and structural data. While the current framework requires known bias attributes during training, its superior performance in severe bias scenarios and real-world medical datasets highlights its potential for creating more reliable and fair AI systems.

Summary updated

BibTeX
@inproceedings{zhu2021learning,
  author = {Wei Zhu and Haitian Zheng and Haofu Liao and Weijian Li and Jiebo Luo},
  title = {{Learning Bias-Invariant Representation by Cross-Sample Mutual Information Minimization}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  url = {https://openreview.net/forum?id=5tHnSAS3X52},
}
Figure