TL;DR
Data pruning saves compute by removing redundant training samples, but existing methods often inadvertently destroy model fairness by disproportionately dropping "hard" classes. This paper introduces DRoP (Distributionally Robust Pruning), a method that uses error-based quotas to randomly prune data within classes. DRoP not only preserves but actually improves worst-class accuracy compared to training on the full dataset, offering a powerful sweet spot between data efficiency and distributional robustness.
The Hidden Cost of Data Pruning
Deep learning models are notoriously data-hungry, making training incredibly expensive. To combat this, researchers use data pruning—algorithms that score training samples and throw away the "uninformative" ones, allowing models to train faster with minimal loss in overall performance.
However, the authors identify a massive blind spot in the literature: most pruning methods are evaluated solely on average test accuracy. The authors ask: What happens to individual classes when we prune datasets?
It turns out that existing pruning algorithms (like EL2N, GraNd, or Dynamic Uncertainty) can be highly biased. To maintain a high average accuracy, these algorithms often aggressively prune—or entirely delete—the most difficult classes. A model might look great on paper, but underneath, it suffers from catastrophic classification bias, performing terribly on minority or complex groups. This paper tackles the challenge of designing a data pruning method that maintains data efficiency without sacrificing worst-class performance.
Methods: A Theoretical Foundation
To understand why current methods fail, the authors first built a theoretical toy model using a mixture of Gaussians.
Their mathematical analysis revealed a surprising insight: to optimize for worst-class performance, you shouldn't cherry-pick individual "hard" samples. Instead, you should figure out the right proportion of data to keep for each class, and then randomly subsample within those classes.
Based on this, they propose DRoP (Distributionally Robust Pruning). The algorithm is remarkably simple and introduces no extra computational overhead compared to existing methods:
- Train a Query Model: Train a model on the full dataset for a very short time (e.g., 10% of the normal training epochs).
- Measure Class Difficulty: Calculate the validation error rate ($1 - \text{recall}$) for every single class.
- Set Quotas: Assign a target pruning density to each class proportional to its error rate. "Easy" classes get heavily pruned; "hard" classes keep most of their data.
- Randomly Prune: Randomly discard samples within each class until the quotas are met.
Key Insights and Results
The authors evaluated DRoP on standard computer vision benchmarks (CIFAR-10/100, TinyImageNet, ImageNet) as well as datasets specifically designed to test robustness, like Waterbirds.
- High average accuracy hides catastrophic bias: The algorithm Dynamic Uncertainty achieved the best average accuracy on CIFAR-100, but the authors found it literally deleted entire classes at a 10% dataset density. Optimizing for average performance naturally sacrifices the hardest problems.
- Randomness is a feature, not a bug: Existing pruning methods meticulously score and select individual samples. However, the authors' theory and experiments show that cherry-picking specific samples violates class-conditional independence, which hurts generalization. Once you have the right class proportions, randomly picking samples within the class yields better worst-class performance.
- Pruning as a robust optimizer: By throwing away data from easy classes, DRoP acts similarly to cost-sensitive reweighting methods in Distributionally Robust Optimization (DRO). It forces the model to pay attention to hard classes, but with the added benefit of speeding up training because the dataset is smaller.
- Massive boosts to worst-class accuracy: On CIFAR-100 (using VGG-19), pruning 50% of the dataset with DRoP increased worst-class accuracy to 45.4%, up from 35.8% when training on the entire, unpruned dataset. This came at a cost of less than 6% in average accuracy.
- Group Robustness: On the Waterbirds dataset, DRoP matched or outperformed sophisticated, full-dataset debiasing techniques (like Just Train Twice or Learning from Failure) in worst-group accuracy, proving it works for spurious correlations, not just standard class imbalances.
Limitations and Future Work
The authors acknowledge a few limitations. First, their empirical evaluation primarily focuses on classification bias (where groups are defined by their class labels). While they tested on Waterbirds, they note that they have only scratched the surface of broader group robustness and spurious correlations.
For future work, they suggest a deeper investigation into how DRoP and data pruning at large affect worst-group accuracy in datasets with complex, multi-attribute sensitive groups. They also recommend a more extensive comparative study between data pruning techniques and the broader spectrum of Distributionally Robust Optimization (DRO) methods.
Summary updated