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

Out of Spuriousity: Improving Robustness to Spurious Correlations without Group Annotations

Phuong Quynh Le, Jörg Schlötterer, Christin Seifert

Introduction

Deep neural networks are often "lazy" learners, relying on spurious correlations—features that correlate strongly with a label in training data but lack a causal relationship (e.g., identifying a "cow" by a grassy background). Traditionally, mitigating this requires expensive manual "group annotations" to identify these shortcuts. This paper introduces PruSC (Pruning Spurious Correlations), a novel post-training method that identifies and removes these shortcuts without requiring any manual group labels.

The PruSC Methodology

PruSC operates on a fully trained "dense" network through a three-step pipeline designed to find a robust subnetwork within the biased original model.

  1. Representation Clustering: The authors observe that Empirical Risk Minimization (ERM) naturally causes models to cluster data in latent space based on spurious attributes. PruSC uses unsupervised $k$-means clustering on the penultimate layer to identify these "shortcut groups" automatically.
  2. Subnetwork Extraction (Pruning): Instead of retraining, PruSC searches for a subnetwork (a subset of weights) that ignores these spurious clusters using a learnable binary mask.
  3. Task-Specific Contrastive Loss ($L_{con}$): To "unlearn" shortcuts, the model is optimized to pull together instances of the same class from different clusters while pushing apart samples within the same cluster that share spurious features.
t-SNE visualizations of CelebA representations showing how latent clusters align with spurious attributes like gender, age, and beards.

Key Insights: The Robust Subnetwork Hypothesis

A central finding of this work is that within a standard, biased dense network, there exists a smaller subnetwork that already utilizes invariant, non-spurious features. By intentionally "distorting" the geometric manifolds that shortcuts form in the representation space, PruSC forces the network to rely on the actual causal features of the class.

Visualization of a robust decision boundary achieved by PruSC, effectively separating non-linear data distributions that standard ERM models often fail to capture.

Experimental Evaluation

The method was evaluated on three major benchmarks:

  • CelebA: PruSC achieved a Worst-Group Accuracy (WGA) of 89.7%, a significant improvement over the ERM baseline (49.7%) and other annotation-free methods like DCWP (73.2%).
  • Waterbirds: A standard background-correlation benchmark where PruSC proved competitive with methods using manual annotations.
  • ISIC (Skin Cancer): In a real-world medical context, PruSC improved WGA from 34.4% to 75.1%, demonstrating its potential for clinical AI reliability where benign cases often share spurious visual patches.

Conclusion

PruSC demonstrates that robustness can be achieved post-training by pruning biased weights. By removing roughly 50% of the network, the resulting model is not only more robust to multiple simultaneous spurious correlations but also more computationally efficient. Future work will explore applying this subnetwork approach to larger architectures like Vision Transformers.

Summary updated

BibTeX
@article{le2025out,
  author = {Phuong Quynh Le and Jörg Schlötterer and Christin Seifert},
  title = {{Out of Spuriousity: Improving Robustness to Spurious Correlations without Group Annotations}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
  url = {https://openreview.net/forum?id=OhoE1VOhxs},
}
Figure