TL;DR: Researchers have identified two hidden biases—score context drift and temporal gradient bias—that cripple most dynamic data pruning methods. Their proposed framework, RePB (Resolving Pruning Biases), uses local window pruning and historical loss rescaling to achieve near-full-dataset accuracy while training on 30% to 70% less data across a massive range of architectures and tasks.
The Challenge of Dynamic Data Pruning
Training massive deep learning models is computationally expensive. Data pruning aims to speed this up by identifying and skipping "easy" or redundant samples, focusing only on the most informative ones.
However, "dynamic" pruning (where the subset changes during training) suffers from two major consistency issues:
- Score Context Drift: Importance scores (like loss) change as the model evolves. Comparing a score from Batch 1 to a score from Batch 100 is like comparing apples to oranges because the "context" (the model parameters) has drifted.
- Temporal Gradient Bias: If certain samples are selected more frequently than others over many epochs, the cumulative gradient trajectory shifts away from what it would have been on the full dataset, potentially leading the model to a suboptimal solution.
The RePB Framework
To tackle these issues, the authors introduce RePB (Resolving Pruning Biases), a compute-positive framework built on three primary mechanisms:
- Local Window Pruning (LWP): Instead of comparing importance scores across an entire epoch, RePB only compares scores within a "local window" (often just a single batch). Because the model parameters change very little within a few steps, these local comparisons are statistically valid and "context-consistent."
- Cumulative Temporal Rescaling (CTR): To fix the gradient bias, RePB tracks how many times each sample has been selected throughout the entire training history. It then reweights the loss of a sample by $E/N_i(E)$, where $E$ is the current epoch and $N_i(E)$ is the number of times sample $i$ was included. This "empirical inverse probability weighting" ensures the long-term optimization path aligns with full-dataset training.
- Uniform Resampling: To prevent the model from getting "stuck" on a small subset of hard samples (pool collapse), RePB explicitly reintroduces previously pruned samples with a fixed probability.
Why RePB Works: Key Insights
- The "Context" Matters: The paper's core insight is that importance is relative to the model's current state. Global pruning strategies fail because they ignore the fact that a "hard" sample at Epoch 1 might be "easy" at Epoch 10.
- History vs. Instantaneity: Most existing methods (like InfoBatch) try to make each individual step unbiased. RePB argues it is more important to make the entire trajectory unbiased by looking at cumulative selection frequencies.
- Compute-Positive Design: Pruning is only useful if the overhead of calculating scores doesn't eat up the time saved. RePB reuses existing training losses and uses a simple counting mechanism for rescaling, making its overhead nearly zero (0.004% to 0.011% of backbone time).
Experimental Validation
The authors conducted an exhaustive evaluation across 16 datasets and 13 tasks, spanning image classification (CIFAR, ImageNet), vision-language (COCO, MSR-VTT), text/audio, and specialized tasks like OCR and geo-localization.
- Efficiency & Superiority: RePB consistently achieves accuracy comparable to (or better than) full-dataset training while pruning 30% to 50% of the data. As shown in the CIFAR results, it maintains high performance even at 70% pruning, consistently outperforming state-of-the-art methods like InfoBatch, especially at high pruning rates where other methods' accuracies begin to collapse.
- Architecture Agnostic: The method works seamlessly across CNNs (ResNet), Transformers (ViT, Swin, BERT), and newer State Space Models (Mamba/Vim).
- Generalization: On the 15-million-sample MJ+ST dataset for OCR, RePB pruned 44.4% of the data while maintaining the exact same accuracy as the full-dataset baseline.
Limitations and Future Work
While RePB is robust, the optimal window size ($W$) might vary depending on the dataset or training phase, suggesting adaptive window selection as a fruitful area for future research. Additionally, CTR relies on the Law of Large Numbers for gradient alignment; in highly non-stationary scenarios where the data distribution changes rapidly, the adaptation speed of the historical weights might need further refinement. Finally, while the paper focuses on loss-based pruning, the framework could be extended to other importance metrics like gradient norms or uncertainty scores.
Summary updated