Abstract
The prevailing paradigm in deep learning suggests that larger datasets inevitably lead to better performance. However, training foundation models on massive datasets like ImageNet-21K is computationally exhausting. While Dataset Pruning (DP) has emerged as a strategy to reduce training costs, existing methods are primarily optimized for in-domain tasks and often falter in transfer learning contexts. This paper presents a novel framework that utilizes source-target domain mapping via small surrogate models to prune up to 80% of pretraining data. The results demonstrate that this approach can achieve a 2–5× speedup in pretraining while maintaining or even enhancing downstream task accuracy across diverse datasets.
Introduction
The development of foundation models has sparked a "data arms race," where performance gains are often bought with massive computational resources. Dataset Pruning (DP) seeks to alleviate this by identifying and retaining only the most informative samples. However, a significant gap exists: standard DP metrics (like GraNd or EL2N) are designed for scenarios where the training and testing distributions are identical. In transfer learning—the backbone of modern computer vision—pretraining occurs on a source dataset (e.g., ImageNet) to benefit a different target task (e.g., medical imaging or specialized object detection). In these cases, traditional pruning methods frequently underperform, sometimes failing to beat simple random sampling.
Methodology: Source-Target Domain Mapping
The authors propose that the importance of a source sample for transfer learning is determined by its relevance to the target domain. They introduce two primary strategies for this mapping:
- Label Mapping (LM): For supervised pretraining, a small "surrogate" model (e.g., ResNet-18) is pretrained on the source dataset and then used to classify images from the target dataset. By aggregating these predictions, the method identifies which source classes are most frequently associated with target data. Source classes with low mapping frequency are pruned.
- Feature Mapping (FM): In self-supervised learning (SSL) settings where labels are absent, the framework employs deep clustering to generate pseudo-labels for the source data. It then measures the feature distance between target images and source cluster centroids to determine relevance.
A critical innovation is the use of a Surrogate Model. The researchers found that a computationally inexpensive model (like ResNet-18) can effectively identify the "winning subset" of data for much larger architectures, such as ResNet-101 or Vision Transformers (ViT). This implies that data relevance is a fundamental property of the distribution rather than being tied to a specific model's capacity.
Experimental Evaluation
The framework was evaluated using ImageNet-1K as the source dataset and eight diverse downstream tasks, including OxfordPets, Flowers102, and StanfordCars. The study also looked at specialized tasks like action recognition (UCF101) and scene understanding (SUN397), as well as robustness to image corruption (CIFAR-10C).
Key Results and Insights
The experiments yielded several counter-intuitive and highly promising results:
Efficiency and Speedups
The most immediate benefit is the reduction in training time. By pruning the source dataset, the authors achieved a 2–5× speedup in the pretraining phase. This is particularly impactful for adversarial training, which is traditionally very slow.
Performance Preservation and Regularization
Surprisingly, pruning does not just maintain performance; it often improves it. On the OxfordPets dataset, removing 80% of ImageNet actually led to a slight increase in final accuracy. This suggests that irrelevant source data acts as "noise" that can distract the model from learning features pertinent to the target task. Pruning effectively serves as a form of data-centric regularization.
Superiority Over Baselines
As shown in the comparative plots, the proposed LM and FM methods consistently outperformed random pruning and established DP baselines like GraNd and Moderate. While traditional methods' performance plummeted as the pruning ratio increased, the domain-mapping approach remained robust even at 80% compression.
Conclusion and Future Directions
This research challenges the "more is better" dogma in dataset curation for transfer learning. By focusing on source-target relevance through surrogate mapping, it is possible to drastically reduce the environmental and financial costs of pretraining without sacrificing model quality.
The primary limitation is the task-specific nature of the current pruning process; a subset optimized for one task may not be ideal for another. Future work will likely focus on "multi-target" pruning to create more versatile compressed datasets. Nonetheless, this work provides a powerful blueprint for more sustainable and efficient foundation model development.
Summary updated