BWS: Best Window Selection Based on Sample Scores for Data Pruning across Broad Ranges

Hoyong Choi, Nohyun Ki, Hye Won Chung

TL;DR

Best Window Selection (BWS) is a universal data pruning method that identifies the most informative training subset by sliding a "window" across the spectrum of sample difficulty. Unlike previous methods that only excel at specific pruning ratios, BWS consistently outperforms baselines across the entire range (1% to 90% of data) and offers significant robustness against label noise.

What Problem Does This Paper Address?

Training deep neural networks on massive datasets is computationally expensive. Data pruning aims to find a small, highly informative subset that can achieve performance close to the full dataset.

However, existing techniques suffer from a "regime" problem. Score-based methods (which pick the "hardest" samples) work well when you keep a large portion of the data but fail miserably at high pruning rates because the hardest samples are often too atypical or noisy to represent the whole distribution. Conversely, optimization-based methods (which pick "representative" samples) excel at high pruning rates but plateau early. There has been no "universal" method that works across the entire spectrum—until now.

Methods

The authors propose Best Window Selection (BWS), which treats data selection as a search for the optimal "difficulty interval."

  1. Scoring: Every sample is assigned a difficulty score (e.g., the "Forgetting Score," which tracks how often a model "forgets" a sample's correct label during training).
  2. Windowing: Samples are sorted from hardest to easiest. BWS defines a "window" of a fixed size (the desired subset size) and slides it across this sorted list. This allows the algorithm to choose between "easy," "moderate," or "hard" subsets.
  3. Proxy Evaluation: To avoid the prohibitive cost of training a full model for every possible window position, BWS uses Kernel Ridge Regression (KRR) as a proxy. It solves a simple linear regression problem on features extracted from the subset and evaluates its accuracy on the full training set. This proxy task is grounded in Neural Tangent Kernel (NTK) theory, which suggests that wide neural networks behave similarly to kernel methods.
Figure 1. Overview of the proposed method, Best Window Selection (BWS). BWS is composed of two parts, 1) generating window subsets and 2) evaluating window subsets. We first sort samples by a difficulty score (e.g., Forgetting (Toneva et al., 2019)) and generate window subsets of a fixed size while varying their starting points. We then evaluate the window subsets, by solving kernel ridge regression on the input features of each window subset and obtaining simple (linear) classifiers associated with each window subset. Finally, we evaluate the performance of these classifiers on the full training dataset to identify the best window subset achieving the highest accuracy.

Datasets

The authors evaluated BWS on standard computer vision benchmarks:

  • CIFAR-10 and CIFAR-100: Small-scale image classification.
  • ImageNet: Large-scale image classification.
  • Architectures: ResNet-18, ResNet-50, and Vision Transformers (ViT).

Key Insights and Ideas

  • "Hardest" isn't always "Best": A key "aha moment" is the discovery that the optimal difficulty level shifts based on the selection ratio. When you can only keep 1-10% of the data, "easy" or "moderate" samples are better because they provide a stable foundation. As you keep more data (40%+), "hard" samples become essential for fine-tuning the decision boundary.
  • The Power of Proxies: You don't need to train a ResNet for 200 epochs to know if a subset is good. A simple linear classifier on top of frozen features (KRR) is an incredibly accurate and fast predictor of final model performance.
  • Natural Noise Filtering: Mislabeled samples often have the highest "difficulty" scores. Because BWS searches for the best window rather than just the hardest samples, it naturally learns to slide the window away from the noisy "hardest" tail, making it much more robust than traditional score-based pruning.
Comparison of BWS against various baselines across different selection ratios.

Key Results

  • Universal Performance: BWS consistently matches or exceeds the "Oracle" window ( the best possible window found by brute-force training) across all datasets and ratios.
  • Accuracy Gains: On CIFAR-10 at a 1% selection ratio, BWS achieved ~46% accuracy, while the popular "Forgetting" score method languished at ~30%.
  • Efficiency: BWS is remarkably fast. For CIFAR-10, selecting the best subset takes less than 11 seconds, compared to several minutes or even hours for optimization-based methods like LCMat or AdaCore.
  • Cross-Architecture Robustness: Subsets selected using a ResNet-18 feature extractor remained highly effective when training a completely different architecture, like a Vision Transformer (ViT).

Limitations and Future Work

  • Initial Scoring Cost: Like most score-based methods, BWS requires an initial pass to calculate difficulty scores (though these can often be computed quickly or reused).
  • Feature Dependency: The quality of the KRR proxy depends on the feature extractor. While the authors show that even a feature extractor trained on a small random subset works well, very complex or out-of-distribution data might require more robust features.
  • Future Directions: The authors suggest applying BWS to web-scale multimodal datasets (like those in the DataComp benchmark) to see if these "windowing" insights translate to zero-shot generalization in models like CLIP.

Summary updated

BibTeX
@inproceedings{choi2024bws,
  author = {Hoyong Choi and Nohyun Ki and Hye Won Chung},
  title = {{BWS: Best Window Selection Based on Sample Scores for Data Pruning across Broad Ranges}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=oWYzIodyC4},
}
Figure