TL;DR
This paper introduces a novel adversarial framework to fix machine learning models trained on biased datasets where certain groups are completely missing (e.g., a medical dataset with no data for pregnant women). By using an additional, unlabeled but diverse "deployment set," the authors learn subgroup-invariant representations through a technique called Adversarial Support-Matching, ensuring models generalize to groups they never saw during training.
What Problem Does This Paper Address?
Machine learning models are only as good as the data they ingest. A common failure mode is representational bias, where certain demographics or "subgroups" are underrepresented. Most existing research focuses on imbalanced data, but this paper tackles a more severe scenario: missing sources.
Imagine training a digit classifier on "Colored MNIST" where all purple digits are '2's and all green digits are '4's. A standard model will learn a spurious correlation: "if it's purple, it's a 2." If the model is then deployed in the real world where purple '4's exist, it will fail miserably.
The authors formalize this as a two-level hierarchy: Level 1 is the class (e.g., digit) and Level 2 is the subgroup (e.g., color). The goal is to prevent the model from using Level 2 information to predict Level 1 labels when the training set has "incomplete support" for certain combinations.
Methods
The core idea is to learn a representation $z$ that contains all the information needed to predict the class $y$, but none of the information about the subgroup $s$. To do this, the authors propose a two-step pipeline:
- Constructing "Perfect Bags": Since the deployment set is unlabeled, they use semi-supervised clustering to group samples into potential class-subgroup combinations. They then sample "bags" (small sets of samples) that are balanced across these clusters.
- Adversarial Support-Matching: They train an encoder (the "debiaser") against a discriminator. The discriminator's job is to look at a bag of representations and guess whether it came from the biased training set or the diverse deployment set.
What's new here? Unlike standard domain adaptation that matches individual samples, this method matches the support of the distributions using bags. This is crucial because if a subgroup is entirely missing from the training set, the distributions cannot be matched sample-by-sample without losing class information. By using bags and hierarchical sampling, the model learns to ignore the subgroup features while keeping the class features.
Datasets
The authors evaluated their method on three distinct types of data:
- Colored MNIST: A synthetic image dataset where digits are colored to create extreme spurious correlations.
- CelebA: A real-world image dataset of celebrities. The task was to predict "smiling" while treating "gender" as the biased subgroup.
- Adult Income: A tabular dataset used to predict if an individual earns >$50k, with gender as the subgroup.
Key Insights and Ideas
- Bags over Samples: The use of "bags" (sets) for the discriminator is the "aha moment." It allows the model to detect the absence of a group in a set, which is a much stronger signal for invariance than looking at a single data point.
- Support Matching: The goal isn't just to make the distributions look the same, but to ensure the latent space covers the same ground for both datasets.
- Visualizing Invariance: As training progresses, the UMAP visualizations show that representations of different subgroups (colors) for the same class (digit) eventually merge into a single cluster, effectively "bleaching" the bias out of the latent space.
Key Results
The primary metric used is Robust Accuracy (the minimum accuracy across all subgroups).
- Colored MNIST: In the "missing subgroup" setting, standard Empirical Risk Minimization (ERM) achieved near 0% robust accuracy. The proposed method reached ~95% robust accuracy when using an "Oracle Bag" and remained highly effective even with noisy clustering.
- CelebA: The method consistently outperformed baselines like GEORGE and gDRO. Notably, it performed almost as well as "Label Oracle" methods that had access to ground-truth labels for the deployment set.
- Robustness: The framework proved robust to noise in the clustering process, outperforming baselines even when the deployment set balancing was imperfect.
Limitations and Future Work
- Prior Knowledge: The method currently requires knowing the number of clusters (classes $\times$ subgroups) beforehand, which might not always be known in practice.
- Clustering Sensitivity: While robust, the performance still depends on the quality of the initial semi-supervised clustering. If the clusters are poorly defined, the "bags" won't be truly balanced.
- Future Directions: The authors suggest exploring non-reconstruction-based encoders (like those using contrastive learning) and developing more automated ways to determine the number of hidden subgroups.
Summary updated