Introduction
The rapid scaling of deep learning models, particularly Vision Transformers (ViTs), has led to a "computational wall." Training on massive datasets like ImageNet-21K (14 million images) is resource-intensive and environmentally taxing. Dataset pruning, or coreset selection, seeks to identify a smaller, representative subset of data that maintains model performance. However, existing techniques often struggle with label noise, rely on static model snapshots, or fail to scale to millions of images.
The Dynamic-Uncertainty (Dyn-Unc) Metric
This paper introduces Dynamic-Uncertainty (Dyn-Unc), a computationally efficient metric designed for large-scale dataset pruning. Unlike error-based methods that require complex gradient calculations, Dyn-Unc leverages the inherent fluctuations in a model's predictions during training to identify the most informative samples.
Methodology
The Dyn-Unc score is calculated through three primary steps:
- Sliding Window Observation: During a standard training run on the full dataset, the standard deviation of the model's prediction for each image is tracked over a sliding window of epochs.
- Temporal Averaging: These uncertainty scores are averaged across the entire training trajectory to capture the evolving "training dynamics."
- Selection Strategy: The method prioritizes samples with the highest dynamic uncertainty. This strategy effectively filters out:
- Easy Samples: Low uncertainty and high accuracy; these are redundant as the model learns them quickly.
- Noisy/Mislabeled Samples: Low uncertainty and low accuracy; the model eventually "gives up" on these, leading to stable but incorrect predictions.
Experimental Results
The researchers evaluated Dyn-Unc on ImageNet-1K and the massive ImageNet-21K dataset. The results demonstrate a significant advancement in pruning efficiency.
Lossless Pruning at Scale
A key finding is the achievement of 25% lossless pruning on both ImageNet-1K and ImageNet-21K. This means a quarter of the dataset can be discarded with zero impact on the final Top-1 accuracy.
Comparison with State-of-the-Art
Dyn-Unc consistently outperforms established methods such as Forgetting and EL2N, particularly at higher pruning ratios. For instance, at a 50% pruning ratio on ImageNet-1K, Dyn-Unc maintains a Top-1 accuracy of 77.64%, significantly higher than competing approaches.
Key Insights
- The Uncertainty Sweet Spot: The most valuable data points are those that keep the model "uncertain." By focusing on prediction fluctuations rather than just error, Dyn-Unc distinguishes between "hard-but-learnable" images and outright noise.
- Cross-Architecture Generalization: Subsets pruned using one architecture (e.g., Swin Transformer) were found to be effective for training entirely different architectures (e.g., ConvNeXt or ResNet). This suggests that "informativeness" is a fundamental property of the data itself.
- Improved Robustness: Models trained on Dyn-Unc pruned datasets showed enhanced performance in Out-of-Distribution (OOD) detection, likely due to the removal of confusing, mislabeled noise during the pruning process.
Conclusion and Future Work
Dynamic-Uncertainty provides a scalable and effective solution for reducing the computational burden of large-scale model training. While the current method requires one initial training run on the full dataset to generate scores, it sets a new benchmark for lossless pruning. Future research may explore ways to estimate these dynamic scores more efficiently or combine pruning with synthetic data generation to push the boundaries of data efficiency even further.
Summary updated