Severing Spurious Correlations with Data Pruning
Varun Mulchandani, Jung-Eun Kim
TL;DR
This work tackles the problem of spurious correlations in deep neural networks when spurious signals are weak and hard to identify. It shows that a small subset of hard-core samples primarily drives spuriosity and introduces a straightforward data-pruning approach that removes these samples without relying on domain knowledge or sample-level annotations. The method achieves state-of-the-art robustness on benchmarks where spuriosity is identifiable (e.g., Waterbirds, MultiNLI) and unidentifiable (e.g., CelebA, CIFAR-10S), often with minimal or no hyperparameter tuning. The findings suggest that carefully pruning a tiny fraction of training data can substantially reduce reliance on spurious correlations, offering a practical path toward more reliable deployment under distribution shifts.
Abstract
Deep neural networks have been shown to learn and rely on spurious correlations present in the data that they are trained on. Reliance on such correlations can cause these networks to malfunction when deployed in the real world, where these correlations may no longer hold. To overcome the learning of and reliance on such correlations, recent studies propose approaches that yield promising results. These works, however, study settings where the strength of the spurious signal is significantly greater than that of the core, invariant signal, making it easier to detect the presence of spurious features in individual training samples and allow for further processing. In this paper, we identify new settings where the strength of the spurious signal is relatively weaker, making it difficult to detect any spurious information while continuing to have catastrophic consequences. We also discover that spurious correlations are learned primarily due to only a handful of all the samples containing the spurious feature and develop a novel data pruning technique that identifies and prunes small subsets of the training data that contain these samples. Our proposed technique does not require inferred domain knowledge, information regarding the sample-wise presence or nature of spurious information, or human intervention. Finally, we show that such data pruning attains state-of-the-art performance on previously studied settings where spurious information is identifiable.
