Introduction
In modern machine learning, the prevailing wisdom suggests that larger pre-training datasets invariably lead to better downstream performance. However, this "more is better" approach treats source datasets, such as ImageNet, as monolithic entities. This paper challenges that assumption by investigating the granular impact of individual source classes on transfer learning. By introducing a framework to measure "transfer influence," the authors demonstrate that the composition of pre-training data is as critical as its scale, and that certain data can actively degrade performance on target tasks.
Methodology: Computing Transfer Influence
To quantify the impact of specific source data, the researchers developed a framework for computing transfer influences. The core objective is to determine how a model's prediction on a target example would change if a specific source class were omitted from the pre-training set.
Given the scale of ImageNet, measuring the effect of removing a single class is computationally difficult. The authors employed a massive subsampling strategy:
- Ensemble Training: 7,540 ResNet-18 models were trained on random 50% subsets of ImageNet classes.
- Transfer: Each model was fine-tuned on one of 11 target datasets (e.g., CIFAR-10, Birdsnap, SUN397).
- Influence Estimation: The influence of a source class was calculated by comparing the average performance of models that included the class against those that did not.
A positive influence indicates the class aids the target task, while a negative influence indicates it hinders performance.
Insights from Transfer Influence
The framework reveals that source data influence extends beyond simple semantic overlap. While some positive influencers are intuitive, others highlight the model's reliance on low-level features like shape and color. For example, the "starfish" class helps identify similarly shaped objects in target tasks, regardless of their category.
Conversely, the study identified "negative influencers"—classes that consistently hinder downstream accuracy. In the case of CIFAR-10, classes such as "bookshop" and "jigsaw puzzle" were found to be detrimental.
The framework also serves as a diagnostic tool. Highly positive influences often pointed to data leakage (near-duplicate images across sets), while negative influences helped explain specific misclassifications by identifying misleading source features.
Empirical Results
The most significant finding is that "less is more": removing detrimental data from the pre-training set consistently improves transfer performance. By excluding the most negatively influential classes, the authors achieved performance gains across all 11 target tasks.
On CIFAR-10, removing the bottom influencers boosted accuracy from 81.16% to 83.64%, a 2.5% absolute gain. This automated data selection significantly outperformed manual baselines based on WordNet hierarchies, proving that data relationships in deep networks are often non-obvious to humans. Furthermore, these influence values proved robust across different architectures, such as ResNet-50.
Conclusion and Future Work
This research shifts the focus of transfer learning from model architecture to data composition. By demonstrating that "bad" data exists even in curated sets like ImageNet, it opens new avenues for dataset pruning and optimization. While the current computational cost of calculating influences is high, future work aims to develop more efficient approximation methods and explore these dynamics in large-scale generative models.
Summary updated