Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

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. 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.

Ashraful Islam, Chun-Fu Chen, Rameswar Panda, Leonid Karlinsky, Richard Radke, Rogerio Feris• 2021

Related benchmarks

TaskDatasetResultRank
Object DetectionCOCO 2017 (val)
AP40.1
2454
ClassificationSVHN (test)--
182
Image ClassificationDTD (test)
Accuracy75.43
181
Image ClassificationFlowers-102 (test)
Top-1 Accuracy95.1
124
Image ClassificationSketch (test)
Top-1 Acc95.9
16
Image ClassificationCross-Domain Classification Suite (12 datasets) (test)
ChestX Accuracy48.08
14
ClassificationISIC (test)
Top-1 Accuracy97.23
13
ClassificationResisc45 (test)
Top-1 Acc0.9125
12
ClassificationOmniglot (test)
Top-1 Acc87.35
11
Few-shot classification12 Downstream Datasets (ChestX, CropDisease, Deep Weeds, DTD, EuroSAT, Flowers 102, Kaokore, Omniglot, Resisc45, Sketch, SVHN, ISIC)
ChestX Accuracy (FS)31.2
8
Showing 10 of 16 rows

Other info

Follow for update