NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Severing Spurious Correlations with Data Pruning

Varun Mulchandani, Jung-Eun Kim

TL;DR Deep neural networks often rely on "spurious correlations"—unintended shortcuts in training data—because of a tiny handful of samples where the actual underlying signal is hard to learn. By identifying and pruning these specific "hard" samples early in training, models can be prevented from latching onto shortcuts, even when those shortcuts are too subtle for existing detection methods to catch.

What Problem Does This Paper Address?

Deep neural networks are notorious for "shortcut learning." For instance, if most pictures of cows in a dataset feature green grass, a model might incorrectly learn that "green grass = cow." When deployed in the real world and presented with a cow on a beach, the model fails. These are known as spurious correlations: relationships between simple, weakly predictive features and the class label that do not hold true generally.

Existing solutions typically assume the spurious signal is "loud"—meaning it is present in the vast majority (e.g., 95%+) of a class. This high frequency makes it relatively easy to identify which samples are biased and correct for them. However, this paper identifies a more insidious "unidentifiable" setting where the spurious signal is weak or infrequent.

Impact of varying levels of spurious samples on group-wise test accuracy. Notice the sharp decline in accuracy for Group 2 (Female with Spurious Feature) even at just 10% spurious samples.

In these unidentifiable cases, traditional methods that rely on group labels or human intervention to flag biased data fall apart. As shown in the data, even a weak spurious signal can catastrophically tank a model's performance on out-of-distribution data. The authors ask a critical question: How do we stop a model from taking shortcuts when we can't even easily detect the shortcuts ourselves?

The Proposed Method: Data Pruning

The authors propose a surprisingly simple and effective solution: Data Pruning based on sample difficulty.

The core of their method involves measuring how hard it is for the model to learn individual samples. Early in the training process (e.g., after the 1st or 10th epoch), they calculate the training error for every sample. Samples with high error are flagged as "hard" to learn.

  1. In Unidentifiable Settings: The method prunes an equal proportion of the "hardest" samples from every class. The researchers found that while biased samples are spread uniformly across the difficulty spectrum, the ones causing the most harm are specifically those where the "core" (true) feature is difficult to learn.
  2. In Identifiable Settings: If group labels are available, the algorithm prunes the hardest samples specifically within the groups known to contain spurious features.

Crucially, this method requires no inferred domain knowledge, no manual labeling of shortcuts, and no complex architectural changes.

Key Insights

  • The "Hard Core" Hypothesis: The most important discovery is that spurious correlations aren't learned equally from all biased samples. A model only relies on a shortcut if the actual invariant feature is too hard to learn. If a sample has an easy-to-see core feature, the model eventually ignores the shortcut. If the core feature is "hard," the model latches onto the shortcut permanently.
  • Weak Signals are Dangerous: A shortcut doesn't need to be ubiquitous to be deadly. Even if only 10% of a class contains a shortcut, it can ruin the model's generalization capabilities.
  • Pruning is a Scalpel: You don't need to throw away all biased data. Removing just the "hard" samples that contain shortcuts is enough to "sever" the correlation, forcing the model to focus on the real signal for the remainder of the dataset.
  • Simplicity Wins: Unlike previous state-of-the-art methods that require complex re-weighting or representation alignment, simple pruning achieves better results without extensive hyperparameter tuning.

Datasets and Key Results

The researchers evaluated their approach across both vision and language tasks, including a synthetic testbed (CIFAR-10S), real-world image datasets (CelebA, Hard ImageNet, Waterbirds), and natural language inference (MultiNLI).

The pruning technique reached state-of-the-art (SOTA) performance on standard benchmarks:

  • Waterbirds: Achieved 90.93% Worst-Group Accuracy (WGA), outperforming previous methods like DFR and PDE.
  • MultiNLI: Achieved 75.88% WGA, a significant jump over the previous best of ~72.6%.
  • CelebA: In the "unidentifiable" setting (where shortcuts are rare), pruning just a small fraction of the hardest samples significantly improved accuracy on the most vulnerable group ("Female with Eyeglasses") without hurting overall performance.

Furthermore, the method proved efficient across a wide range of pruning "sparsities," meaning it isn't overly sensitive to exactly how much data is removed.

Limitations and Future Work

While pruning "hard" samples is highly effective for severing spurious correlations, it relies on the assumption that we can accurately measure "difficulty" early in training. If a dataset is extremely noisy, the "hardest" samples might simply be mislabeled data rather than samples with hard core features.

The authors also note that while they have successfully tackled spurious correlations, there are other failure modes in deep learning (like severe class imbalance or adversarial vulnerability) that this specific pruning strategy might not fully resolve. Future work will likely explore whether this difficulty-based pruning can be generalized to make models more robust against a broader spectrum of real-world distribution shifts.

Summary updated

BibTeX
@inproceedings{mulchandani2025severing,
  author = {Varun Mulchandani and Jung-Eun Kim},
  title = {{Severing Spurious Correlations with Data Pruning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Bk13Qfu8Ru},
}
Figure