The Impact of Coreset Selection on Spurious Correlations and Group Robustness

Amaya Dharmasiri, William Yang, Polina Kirichenko, Lydia Liu, Olga Russakovsky

TL;DR

Coreset selection reduces training dataset sizes to save compute, but how does it affect hidden dataset biases? This paper presents the first comprehensive study showing that data pruning can severely amplify spurious correlations and tank model robustness. Crucially, the authors reveal that while prioritizing "difficult" samples reduces dataset bias, it can fail catastrophically when data budgets are tight.

What Problem Does This Paper Address?

Training modern deep learning models requires massive datasets, demanding immense computational power. To combat this, researchers use coreset selection (or data pruning) to identify and train only on a highly informative subset of the data. Traditionally, these selection algorithms are evaluated purely on their ability to maintain average accuracy.

However, real-world datasets are riddled with spurious correlations—like a model classifying an image as a "waterbird" based entirely on a water background rather than the bird itself. If we prune data blindly using standard metrics, do we accidentally amplify these biases? This paper investigates how data reduction impacts a model's group robustness (its performance on rare, bias-conflicting groups, such as a landbird mistakenly placed on water).

Figure 1: Left: Performance of randomly selected core- sets from Waterbirds [20] reveals an increasing discrep- ancy between worst-group accuracy and average accu- racy as coreset size decreases. Right: Distribution of average and worst-group accuracy for current coreset se- lection algorithms shows large variation in worst-group accuracies even for similar average accuracies.

Methods

The authors systematically analyze the interplay between data pruning and dataset bias across several dimensions:

  • 5 Sample Characterization Scores: They test learning-based metrics that track model training dynamics (EL2N, Uncertainty, Forgetting) and embedding-based metrics that evaluate feature space geometry (SelfSup, SupProto).
  • 5 Selection Policies: They evaluate different ways to sample based on those scores: Difficult (keep highest scores), Easy (keep lowest scores), Median, Stratified (binned sampling), and Random.
  • Class Balancing: To isolate the effects of spurious correlations from standard class imbalances, they ensure equal proportions of samples are selected from each class.
  • Evaluation: They measure the resulting coreset's statistical bias level and evaluate downstream models using both average accuracy and worst-group accuracy (the lowest accuracy among all sub-groups).

Datasets

The authors evaluate their framework across 10 diverse vision and NLP benchmarks containing known spurious correlations:

  • Vision: cMNIST, Waterbirds, Metashift, Nico-spurious, and three variants of Urbancars (Urbancars-A, B, and C).
  • NLP: Civilcomments and MultiNLI.
  • Attributes: Celeb-A hair.

Key Insights and Ideas

  • Embedding-Based Scores are "Safer": Embedding-based metrics (like SelfSup) achieve near-random average precision when trying to identify bias-conflicting samples. Because they are largely blind to dataset bias, they run a much lower risk of inadvertently exacerbating it compared to learning-based metrics.
Figure 2: Classifying bias-conflicting samples using characterization scores. We measure the Average Precision of three learning-based methods (EL2N [27], Uncertainty [14] and Forgetting [15]) and two embedding- based methods (SelfSup [13] and SupProto [12]) at classifying bias-conflicting vs bias-aligning samples across 5 datasets. On the more challenging real-world datasets (Urbancars-C [30], Metashift [31], and Civilcom- ments [34]), embedding-based methods do not appear to order the samples according to their bias levels (i.e., have near-random AP); even finetuning these embeddings (depicted by the shaded bars) does not change these findings. (Please refer Appendix C.1 for more results on other datasets)
  • The "Difficult" Dilemma: Learning-based scores (like EL2N) easily flag bias-conflicting samples as "difficult." While a policy that selects only these "Difficult" samples successfully minimizes the coreset's bias level, it does not guarantee downstream robustness.
  • The Small-Data Trap: In ultra-low data budgets (e.g., keeping only 2% to 10% of the data), the "Difficult" policy fails catastrophically. The model overfits to extreme outliers and suffers from poor data coverage. Conversely, the "Easy" policy yields deceptively high average accuracy but abysmal worst-group accuracy because it completely purges minority groups.
Figure 3: Data bias and classifier accuracies for Difficult (highest-scoring) and Easy (lowest-scoring) scoring samples using EL2N scores. Selecting the Difficult samples typically results in less biased coresets and corresponding more robust (highest worst-group accuracy) classifiers than Easy samples. The Difficult samples also tend to be more robust than those with Random selection. However, for small coreset sizes, we see a drop in average and worst-group accuracies for Difficult samples, which we examine further in Section 4.3. (Please refer Appendix C.2 for more results on other datasets.)
  • Group Balancing Isn't Enough: Even when using an "oracle" to perfectly balance the sub-groups, prioritizing the most difficult samples within each group still degrades robustness. Sample difficulty and group balance have a complex, confounding relationship.

Key Results

  • Moderate Budgets (40% Data): The "Difficult" selection policy using EL2N scores consistently yields the most robust classifiers. For example, on cMNIST, it achieves 87.2% worst-group accuracy compared to 62.0% for random selection.
  • Small Budgets (2%–10% Data): The performance of the "Difficult" policy plummets. On Metashift at a 2% selection rate, its worst-group accuracy drops to a dismal 7.9% (compared to 61.0% for random selection).
  • Mitigation Strategies: To fix the small-budget collapse, the authors show that excluding a tiny fraction (3%) of the absolute hardest samples (a policy called Difficult*) or using Stratified and Median policies dramatically restores robustness by ensuring better data coverage.
Quantitative breakdown of worst-group accuracies at a 40% selection rate across different policies and datasets.

Limitations and Future Work

The authors acknowledge that worst-group accuracy is a coarse and limited proxy for the broader concept of fairness. Additionally, their study is entirely empirical and focused on datasets with well-defined, known spurious attributes.

As a primary direction for future work, they highlight the need to design coreset selection algorithms that can explicitly optimize for group robustness without requiring explicit group labels, particularly in ultra-low data regimes where standard pruning methods fail.

Summary updated

Abstract

Coreset selection methods have shown promise in reducing the training data size while maintaining model performance for data-efficient machine learning. However, as many datasets suffer from biases that cause models to learn spurious correlations instead of causal features, it is important to understand whether and how dataset reduction methods may perpetuate, amplify, or mitigate these biases. In this work, we conduct the first comprehensive analysis of the implications of data selection on the spurious bias levels of the selected coresets and the robustness of downstream models trained on them. We use an extensive experimental setting spanning ten different spurious correlations benchmarks, five score metrics to characterize sample importance/ difficulty, and five data selection policies across a broad range of coreset sizes. Thereby, we unravel a series of nontrivial nuances in interactions between sample difficulty and bias alignment, as well as dataset bias and resultant model robustness. For example, we find that selecting coresets using embedding-based sample characterization scores runs a comparatively lower risk of inadvertently exacerbating bias than selecting using characterizations based on learning dynamics. Most importantly, our analysis reveals that although some coreset selection methods could achieve lower bias levels by prioritizing difficult samples, they do not reliably guarantee downstream robustness.
BibTeX
@inproceedings{dharmasiri2025impact,
  author = {Amaya Dharmasiri and William Yang and Polina Kirichenko and Lydia Liu and Olga Russakovsky},
  title = {{The Impact of Coreset Selection on Spurious Correlations and Group Robustness}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=t7QJDaQsrI},
}
Figure