Introduction
Deep learning models are notorious for taking the "path of least resistance." If a dataset of "Waterbirds" mostly features birds against a water background, the model might learn that "water = bird" rather than learning the actual features of the bird. This phenomenon is known as a spurious correlation.
When these models encounter a "minority group"—such as a waterbird on land—their accuracy plummets. To fix this, researchers use "Group Robustness" techniques, but these usually require expensive, human-annotated labels identifying which samples belong to which group (e.g., "bird on water" vs. "bird on land"). While some methods try to infer these labels automatically, they are often imprecise. This paper addresses the "precision gap": the fact that current unsupervised group inference is so noisy that it prevents robust learning algorithms from reaching their full potential.
To bridge this gap, the authors introduce GIC (Group Inference via data Comparison), a novel framework that identifies hidden data subgroups affected by spurious correlations without requiring manual group labels. By leveraging a secondary "comparison" dataset to highlight unstable correlations, GIC provides high-precision group inference that significantly closes the performance gap between unsupervised methods and those using perfect human-labeled data.
The GIC Method
The core intuition behind GIC is that while true (invariant) features stay consistent across datasets, spurious features (like backgrounds) are highly correlated with labels in training but vary significantly when the data distribution shifts.
GIC trains a "spurious attribute classifier" using a two-part objective function:
- Correlation Term: Ensures the inferred group labels are highly correlated with the true labels in the training set, capturing the "spurious" nature of the shortcut.
- Spurious Term: Maximizes the difference (KL-divergence) between the training set and a comparison dataset. This forces the model to ignore features that are consistent across both (the "true" features) and focus on features that change (the "spurious" ones).
Crucially, the comparison data doesn't need to be labeled. It can be a validation set, a subset of the test set, or even a cleverly resampled version of the training set. Once GIC identifies the groups, these "pseudo-labels" are plugged into standard robust learning algorithms like Mixup or GroupDRO.
Evaluated Datasets
The authors evaluated GIC on four standard benchmarks for spurious correlations:
- CMNIST: Digits colored red or green, where color is spuriously linked to the digit value.
- Waterbirds: Bird photos where the background (land vs. water) is spuriously linked to the bird type.
- CelebA: A face dataset where hair color is spuriously linked to gender.
- CivilComments-WILDS: A text dataset where toxicity labels are spuriously linked to mentions of specific demographic identities.
Key Insights and Results
Precision is the Bottleneck: The paper demonstrates that the main reason unsupervised robust learning fails isn't the learning algorithm itself, but the poor quality of the inferred groups. Improving inference precision directly boosts final model robustness.
Matching the Oracle and Outperforming SOTA: On the CelebA dataset, GIC achieved a Worst-Group Accuracy (WGA) of 89.5%, nearly matching the 89.8% achieved by models using "Oracle" (perfect human) group labels. Furthermore, GIC consistently outperformed existing unsupervised methods like JTT and EIIL across all datasets, often by 5-10% in WGA.
Semantic Consistency: The authors found that GIC sometimes "misclassifies" samples in a way that actually helps. For example, in the CelebA dataset (hair color vs. gender), GIC might group a woman with short hair into the "male" group. While "wrong" by human labels, this grouping is semantically consistent with how the model sees features. Using these "model-centric" groups actually helps algorithms like Mixup break spurious correlations more effectively than using perfect human labels.
Plug-and-Play Flexibility: GIC proved effective when combined with various downstream methods (Mixup, Subsampling, etc.), showing it is a robust front-end for any group-based learning strategy.
Limitations and Future Work
- Comparison Data Dependency: GIC requires a comparison dataset with a different group distribution than the training set. If the validation/comparison data has the exact same biases as the training data, the "Spurious Term" in the loss function becomes less effective.
- Hyperparameter Tuning: The method relies on a weighting parameter to balance the correlation and spurious terms. While the authors provide a grid-search strategy, this adds a layer of complexity to the training pipeline.
- Future Directions: The authors suggest exploring more sophisticated ways to automatically generate comparison data from the training set itself, potentially removing the need for any external data.
Summary updated