A Broad Study on the Transferability of Visual Representations with Contrastive Learning

Ashraful Islam, Chun-Fu Chen, Rameswar Panda, Leonid Karlinsky, Richard Radke +1 more
3/24/2021
136 citations
cs.CV
contrastive-ssl

Official code: asrafulashiq/transfer_broad (36 stars, Python, last commit 2022-03-14).

Abstract

Tremendous progress has been made in visual representation learning, notably with the recent success of self-supervised contrastive learning methods. Supervised contrastive learning has also been shown to outperform its cross-entropy counterparts by leveraging labels for choosing where to contrast.

Show full abstract

However, there has been little work to explore the transfer capability of contrastive learning to a different domain. In this paper, we conduct a comprehensive study on the transferability of learned representations of different contrastive approaches for linear evaluation, full-network transfer, and few-shot recognition on 12 downstream datasets from different domains, and object detection tasks on MSCOCO and VOC0712. The results show that the contrastive approaches learn representations that are easily transferable to a different downstream task. We further observe that the joint objective of self-supervised contrastive loss with cross-entropy/supervised-contrastive loss leads to better transferability of these models over their supervised counterparts. Our analysis reveals that the representations learned from the contrastive approaches contain more low/mid-level semantics than cross-entropy models, which enables them to quickly adapt to a new task. Our codes and models will be publicly available to facilitate future research on transferability of visual representations.

View on arXivView PDF

Code Implementations(1)

Pytorch Code for "A Broad Study on the Transferability of Visual Representations with Contrastive Learning" (ICCV 2021)

362Python, ShellMar 24, 20214 years ago
contrastive-learningcross-domain-learningiccv2021self-supervised-learningtransfer-learning

Similar Papers

Cite this paper

@article{islam2021broad,
  title  = {A Broad Study on the Transferability of Visual Representations with Contrastive Learning},
  author = {Ashraful Islam and Chun-Fu Chen and Rameswar Panda and Leonid Karlinsky and Richard Radke and Rogerio Feris},
  year   = {2021},
  eprint = {2103.13517},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.13517}
}

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/2103.13517.svg)](https://codeofpaper.com/paper/2103.13517)

Discussion