Skip to main content
QUICK REVIEW

[Paper Review] What makes instance discrimination good for transfer learning?

Nanxuan Zhao, Zhirong Wu|arXiv (Cornell University)|Jun 11, 2020
Domain Adaptation and Few-Shot LearningComputer Science55 references83 citations
TL;DR

The paper analyzes why instance-discrimination (contrastive) pretraining transfers well, showing that low-/mid-level representations drive transfer, that intra-class invariance from supervised pretraining can hurt transfer, and that exemplar-based supervision can improve generalization across tasks.

ABSTRACT

Contrastive visual pretraining based on the instance discrimination pretext task has made significant progress. Notably, recent work on unsupervised pretraining has shown to surpass the supervised counterpart for finetuning downstream applications such as object detection and segmentation. It comes as a surprise that image annotations would be better left unused for transfer learning. In this work, we investigate the following problems: What makes instance discrimination pretraining good for transfer learning? What knowledge is actually learned and transferred from these models? From this understanding of instance discrimination, how can we better exploit human annotation labels for pretraining? Our findings are threefold. First, what truly matters for the transfer is low-level and mid-level representations, not high-level representations. Second, the intra-category invariance enforced by the traditional supervised model weakens transferability by increasing task misalignment. Finally, supervised pretraining can be strengthened by following an exemplar-based approach without explicit constraints among the instances within the same category.

Motivation & Objective

  • Understand what aspects of instance discrimination enable strong transfer to downstream tasks.
  • Identify what knowledge is learned and transferred during contrastive pretraining.
  • Evaluate the role of data semantics and image augmentations on transfer performance.
  • Propose a supervised pretraining variant that preserves instance-specific information to improve transfer.
  • Assess the generality of findings across multiple transfer scenarios (detection, segmentation, few-shot, and facial landmark tasks).

Proposed method

  • Compare contrastive (MoCo-based) and supervised pretraining across downstream tasks (VOC07 detection, COCO detection/segmentation, Cityscapes segmentation).
  • Systematically study the impact of image augmentations on transfer performance for both pretraining paradigms.
  • Investigate the effect of pretraining data semantics by training on datasets with varying semantic overlap and sizes.
  • Analyze transfer failures and localization accuracy via detection toolbox and feature inversion to understand what high-level vs. low-/mid-level information is learned.
  • Propose an exemplar-based supervised pretraining objective that filters true negatives using class labels (Exemplar loss) to avoid collapsing intra-class variations.
  • Demonstrate that exemplar-based supervised pretraining improves transfer while maintaining reasonable ImageNet classification performance.
  • Extend analyses to few-shot recognition and facial landmark prediction to test generality.

Experimental results

Research questions

  • RQ1What aspects of instance-discrimination pretraining are responsible for superior transfer performance?
  • RQ2Is high-level semantic content essential for transfer, or do low-/mid-level representations dominate?
  • RQ3How do image augmentations and dataset semantics affect transfer for both contrastive and supervised pretraining?
  • RQ4Can supervision be leveraged without enforcing intra-class invariances to improve transfer?
  • RQ5Do the findings generalize to other transfer scenarios like few-shot learning and facial landmark prediction?

Key findings

  • Low-/mid-level representations are the primary drivers of transfer for visual pretraining.
  • Intra-class invariance from traditional supervised pretraining can misalign with downstream tasks and harm transfer.
  • Exemplar-based supervised pretraining (without forcing positives to be close) improves transfer while maintaining competitive ImageNet accuracy.
  • Contrastive pretraining benefits more from intensive image augmentations than supervised pretraining across tasks.
  • Pretraining on data with semantic content dissimilar to the target task generally does not harm contrastive transfer, whereas supervised transfer can degrade unless task semantics align.
  • Across few-shot recognition and facial landmark prediction, exemplar-based supervision preserves transfer performance and can outperform standard supervised baselines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.