Spawrious: A Benchmark for Fine Control of Spurious Correlation Biases
Aengus Lynch, Gbètondji J-S Dovonon, Jean Kaddour, Ricardo Silva
TL;DR
Spawrious introduces a photorealistic, multi-environment benchmark for spurious correlations in image classification, explicitly modeling One-To-One and Many-To-Many relationships between backgrounds and classes across Easy, Medium, and Hard splits. It leverages a generation-pipeline (text-to-image plus image captioning) to create 152k labeled images, enabling controlled evaluation of group-robustness methods like ERM, GroupDRO, IRM, CORAL, CausIRL, and MMD-AAE. The study finds that state-of-the-art methods struggle, particularly on M2M-Hard splits, and that misclassifications are strongly tied to background cues, highlighting the need for methods capable of disentangling background bias from true causal features. The work also analyzes architectural effects, showing that larger models do not guarantee robustness and that ViT-based backbones may underperform CNNs in this setting, motivating broader methodological and modal extensions. Overall, Spawrious provides a rigorous, scalable platform for diagnosing and mitigating spurious-correlation biases in robust learning.
Abstract
The problem of spurious correlations (SCs) arises when a classifier relies on non-predictive features that happen to be correlated with the labels in the training data. For example, a classifier may misclassify dog breeds based on the background of dog images. This happens when the backgrounds are correlated with other breeds in the training data, leading to misclassifications during test time. Previous SC benchmark datasets suffer from varying issues, e.g., over-saturation or only containing one-to-one (O2O) SCs, but no many-to-many (M2M) SCs arising between groups of spurious attributes and classes. In this paper, we present \benchmark-\{O2O, M2M\}-\{Easy, Medium, Hard\}, an image classification benchmark suite containing spurious correlations between classes and backgrounds. To create this dataset, we employ a text-to-image model to generate photo-realistic images and an image captioning model to filter out unsuitable ones. The resulting dataset is of high quality and contains approximately 152k images. Our experimental results demonstrate that state-of-the-art group robustness methods struggle with \benchmark, most notably on the Hard-splits with none of them getting over $70\%$ accuracy on the hardest split using a ResNet50 pretrained on ImageNet. By examining model misclassifications, we detect reliances on spurious backgrounds, demonstrating that our dataset provides a significant challenge.
