ASPIRE: Language-Guided Data Augmentation for Improving Robustness Against Spurious Correlations
Sreyan Ghosh, Chandra Kiran Reddy Evuru, Sonal Kumar, Utkarsh Tyagi, Sakshi Singh, Sanjoy Chowdhury, Dinesh Manocha
TL;DR
ASPIRE tackles the problem of neural image classifiers leveraging spurious correlations by introducing a language-guided data augmentation pipeline that does not require minority-group labels. It identifies spurious cues via a six-step process that uses image captions and LLMs to extract foreground and background features, edits images to remove these cues, and personalizes a diffusion model to generate non-spurious in-domain augmentations. The augmented data are used to re-train classifiers, yielding consistent improvements in worst-group accuracy across four datasets and nine baselines, with particularly large gains on Hard ImageNet. This approach demonstrates a practical, annotation-free path to robust vision systems and complements existing robust-training methods, albeit with notable computational and captioning-quality considerations for future work.
Abstract
Neural image classifiers can often learn to make predictions by overly relying on non-predictive features that are spuriously correlated with the class labels in the training data. This leads to poor performance in real-world atypical scenarios where such features are absent. This paper presents ASPIRE (Language-guided Data Augmentation for SPurIous correlation REmoval), a simple yet effective solution for supplementing the training dataset with images without spurious features, for robust learning against spurious correlations via better generalization. ASPIRE, guided by language at various steps, can generate non-spurious images without requiring any group labeling or existing non-spurious images in the training set. Precisely, we employ LLMs to first extract foreground and background features from textual descriptions of an image, followed by advanced language-guided image editing to discover the features that are spuriously correlated with the class label. Finally, we personalize a text-to-image generation model using the edited images to generate diverse in-domain images without spurious features. ASPIRE is complementary to all prior robust training methods in literature, and we demonstrate its effectiveness across 4 datasets and 9 baselines and show that ASPIRE improves the worst-group classification accuracy of prior methods by 1% - 38%. We also contribute a novel test set for the challenging Hard ImageNet dataset.
