English

Tradeoffs Between Contrastive and Supervised Learning: An Empirical Study

Computer Vision and Pattern Recognition 2021-12-13 v1 Machine Learning

Abstract

Contrastive learning has made considerable progress in computer vision, outperforming supervised pretraining on a range of downstream datasets. However, is contrastive learning the better choice in all situations? We demonstrate two cases where it is not. First, under sufficiently small pretraining budgets, supervised pretraining on ImageNet consistently outperforms a comparable contrastive model on eight diverse image classification datasets. This suggests that the common practice of comparing pretraining approaches at hundreds or thousands of epochs may not produce actionable insights for those with more limited compute budgets. Second, even with larger pretraining budgets we identify tasks where supervised learning prevails, perhaps because the object-centric bias of supervised pretraining makes the model more resilient to common corruptions and spurious foreground-background correlations. These results underscore the need to characterize tradeoffs of different pretraining objectives across a wider range of contexts and training regimes.

Keywords

Cite

@article{arxiv.2112.05340,
  title  = {Tradeoffs Between Contrastive and Supervised Learning: An Empirical Study},
  author = {Ananya Karthik and Mike Wu and Noah Goodman and Alex Tamkin},
  journal= {arXiv preprint arXiv:2112.05340},
  year   = {2021}
}

Comments

NeurIPS 2021 Workshop: Self-Supervised Learning - Theory and Practice

R2 v1 2026-06-24T08:11:49.283Z