The Role of Pre-training Data in Transfer Learning

Rahim Entezari, Mitchell Wortsman, Olga Saukh, M. Moein Shariatnia, Hanie Sedghi +1 more
2/27/2023
cs.CVcs.LG

No official code found. Best implementation: rahimentezari/DataDistributionTransferLearning (10 stars, last commit 2022-11-29).

Abstract

The transfer learning paradigm of model pre-training and subsequent fine-tuning produces high-accuracy models. While most studies recommend scaling the pre-training size to benefit most from transfer learning, a question remains: what data and method should be used for pre-training? We investigate the impact of pre-training data distribution on the few-shot and full fine-tuning performance using 3 pre-training methods (supervised, contrastive language-image and image-image), 7 pre-training datasets, and 9 downstream datasets. Through extensive controlled experiments, we find that the choice of the pre-training data source is essential for the few-shot transfer, but its role decreases as more data is made available for fine-tuning. Additionally, we explore the role of data curation and examine the trade-offs between label noise and the size of the pre-training dataset. We find that using 2000X more pre-training data from LAION can match the performance of supervised ImageNet pre-training. Furthermore, we investigate the effect of pre-training methods, comparing language-image contrastive vs. image-image contrastive, and find that the latter leads to better downstream accuracy

View on arXivView PDF

Code Implementations(1)

100Shell, PythonNov 1, 20223 years agoNOASSERTION

Similar Papers

Cite this paper

@article{entezari2023role,
  title  = {The Role of Pre-training Data in Transfer Learning},
  author = {Rahim Entezari and Mitchell Wortsman and Olga Saukh and M. Moein Shariatnia and Hanie Sedghi and Ludwig Schmidt},
  year   = {2023},
  eprint = {2302.13602},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.13602v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.13602.svg)](https://codeofpaper.com/paper/2302.13602)

Discussion