Deep learning models often "cheat" by learning spurious correlations—such as associating water backgrounds with waterbirds—rather than robust, causal features. Fixing this usually requires expensive human annotations to partition training data into subgroups (e.g., waterbirds on land vs. waterbirds on water) and force the model to perform well across all of them. This paper introduces CoBalT (Concept Balancing Technique), a two-stage method that uses unsupervised object-centric learning to discover visual "concepts" and then balances the training data based on these concepts. It achieves state-of-the-art robustness against spurious correlations entirely without human-labeled subgroup annotations.
The Challenge of Spurious Correlations
Deep neural networks suffer from a well-documented "simplicity bias," latching onto easy but spurious correlations in the training data. For example, if cows are mostly photographed on grass, a model might learn to classify "grass" as "cow," failing completely when shown a cow on a beach.
The standard mitigation involves explicit human annotations for subgroups (using techniques like Group DRO). However, in the real world, this is expensive, unscalable, and sometimes impossible because we don't always know what spurious correlations the model might exploit. The authors tackle the challenge of mitigating these biases without relying on any human-annotated group labels for training or validation.
Methods: CoBalT
The authors propose CoBalT, which operates in two main stages:
- Unsupervised Concept Discovery: Instead of trying to directly guess subgroup labels, CoBalT uses a self-supervised teacher-student architecture equipped with "slot attention" to decompose images into semantic spatial regions (objects, backgrounds, etc.). They introduce a novel concept dictionary using vector quantization (VQ) to cluster these continuous slot representations into discrete, reusable concepts (e.g., "tree," "water," "bird body"). A custom loss function distills the teacher's concept assignments to the student.
- Concept-Aware Robust Training: Once the concepts are discovered, the authors train a standard classifier using a novel importance sampling strategy. The algorithm dynamically adjusts the sampling rate of training examples to ensure an even representation of the discovered concepts, while also balancing the target classes within those concepts.
Crucially, CoBalT introduces a way to perform model selection (early stopping) by inferring the worst-performing groups based on its own discovered concepts, completely removing the need for a labeled validation set.
Key Insights
- Data-driven proxies for subgroups: By forcing a model to decompose images into discrete spatial concepts, it naturally isolates spurious features (like backgrounds) from causal features (like foreground objects). These concepts serve as excellent, free proxies for human subgroup labels.
- Beating the "Whack-a-Mole" problem: Methods that infer groups based on model error often struggle when multiple spurious correlations exist—fixing one bias often amplifies another. CoBalT's spatial decomposition naturally identifies multiple distinct concepts simultaneously.
- Escaping the validation trap: Many "unsupervised" robustness methods secretly rely on human-annotated validation sets to tune hyperparameters or perform early stopping. CoBalT demonstrates that using its own unsupervised concepts for validation group inference prevents the catastrophic performance drops seen in other methods when validation labels are truly removed.
Datasets and Results
The authors evaluated CoBalT across several standard sub-population shift benchmarks, including Waterbirds (land vs. water birds with spurious backgrounds), CelebA (hair color correlated with gender), UrbanCars (vehicles with multiple spurious correlations), and others.
Key Results: * Waterbirds: CoBalT achieved ~89-90.6% worst-group accuracy, outperforming state-of-the-art group-agnostic methods by about 3%. * UrbanCars: In a challenging scenario with multiple spurious correlations, CoBalT outperformed the SPARE baseline by 3% (80.0% vs 76.9% worst-group accuracy). * True Unsupervised Performance: When validation group labels were completely removed for early stopping, CoBalT maintained high worst-group accuracy (89.2% on CelebA). In contrast, baselines like JTT (40.6%) and LfF (24.4%) collapsed to worse-than-baseline ERM performance.
Limitations and Future Work
The method relies heavily on the spatial separability of concepts. It works exceptionally well when spurious correlations are distinct objects or backgrounds (like Waterbirds or UrbanCars) but shows more limited benefits when concepts are spatially entangled (like global color tints in CMNIST or overlapping facial features in CelebA). Future work may explore disentangled representation learning to handle non-spatial concepts and extend the framework to NLP and multi-modal datasets.
Summary updated