Training deep neural networks on massive datasets is computationally expensive and environmentally taxing. Data pruning (or subset selection) aims to find a small, highly informative subset that can train a model to nearly the same accuracy as the full dataset.
However, existing methods tend to be "specialists." Score-based methods prioritize "hard" samples, working well at high selection ratios (e.g., keeping 50% of data) but failing at low ratios (e.g., 5%) because the model lacks the "easy" examples needed to learn basic features. Conversely, optimization-based methods find representative samples that excel at tiny budgets but struggle to scale up.
To address this, researchers introduce Best Window Selection (BWS), a universal data pruning method that identifies the optimal subset of training data for any given budget, from 1% to 90%.
The BWS Approach
BWS operates in three main steps to find the most informative data subset without the massive cost of training a full neural network for every candidate:
- Difficulty Sorting: All samples in the dataset are ranked by a difficulty score (e.g., how often a model "forgets" the correct label during training).
- Window Generation: Instead of just taking the top-$N$ hardest samples, BWS considers "windows"—contiguous blocks of data from the sorted list. A window could contain the easiest 10%, the hardest 10%, or a "moderate" 10% from the middle.
- The KRR Proxy: To efficiently evaluate these windows, BWS uses Kernel Ridge Regression (KRR). KRR provides a closed-form mathematical solution that approximates how a wide neural network would perform. BWS solves a KRR problem for each window and selects the one that yields the highest accuracy on the training set.
Key Insights: The Phase Transition of Data Needs
The researchers evaluated BWS on standard computer vision benchmarks (CIFAR-10, CIFAR-100, and ImageNet) across a wide range of selection ratios and architectures.
The most surprising finding is a "phase transition" in data needs. At low selection ratios (sample-deficient regimes), models actually perform better when trained on easier or moderate samples. As the budget increases (sample-sufficient regimes), the optimal window shifts toward harder samples.
The authors provide a formal theorem proving that for linear classifiers, the optimal subset changes from easy to hard as the subset size grows relative to the data dimension.
Beyond this phase transition, BWS demonstrated several other critical advantages:
- Efficiency: Optimization-based pruning methods are notoriously slow. BWS is remarkably efficient; for CIFAR-10, it can select the best subset in under 11 seconds on a single GPU, compared to hours for competing methods.
- Robustness to Noise: Hard-sample miners often accidentally pick up "noisy" data (mislabeled images) because they appear "hard" to the model. Because BWS can choose moderate windows, it naturally filters out these outliers, making it much more robust to label noise than traditional score-based methods.
Performance and Results
BWS consistently identified windows that performed almost as well as the "Oracle" window (the absolute best window found by brute-force training every possibility). On CIFAR-10 at a 10% selection ratio, BWS achieved ~82% accuracy, outperforming the standard "Forgetting" baseline by nearly 30%.
Furthermore, the method exhibits strong cross-architecture success. Subsets chosen using a simple ResNet-18 were still the optimal subsets when training a much larger Vision Transformer (ViT), proving that the "informativeness" of the selected windows is largely model-agnostic.
Limitations and Future Work
While highly effective, BWS has a few limitations:
- Initial Scoring Dependency: BWS requires an initial difficulty score to rank the data. While robust to which score is used, it still inherits the initial computational cost of generating those scores.
- Feature Extractor Training: The method relies on a feature extractor trained on a small random subset of data. More sophisticated ways of obtaining these features could further improve window selection.
- Beyond Classification: The current work focuses on supervised image classification. Extending this "window" logic to self-supervised learning or generative modeling remains an open challenge for future research.
Summary updated