Skip to main content
QUICK REVIEW

[Paper Review] CO2: Consistent Contrast for Unsupervised Visual Representation Learning

Chen Wei, Huiyu Wang|arXiv (Cornell University)|Oct 5, 2020
Domain Adaptation and Few-Shot LearningComputer Science54 references10 citations
TL;DR

CO2 proposes a consistency regularization method for unsupervised visual representation learning that improves contrastive learning by modeling heterogeneous similarities between image crops. By treating the similarity of a query crop to positive crops as pseudo-labels and enforcing consistency between query and positive similarities, CO2 boosts MoCo performance by 2.9% top-1 accuracy on ImageNet linear evaluation and shows consistent gains in semi-supervised and downstream tasks.

ABSTRACT

Contrastive learning has been adopted as a core method for unsupervised visual representation learning. Without human annotation, the common practice is to perform an instance discrimination task: Given a query image crop, this task labels crops from the same image as positives, and crops from other randomly sampled images as negatives. An important limitation of this label assignment strategy is that it can not reflect the heterogeneous similarity between the query crop and each crop from other images, taking them as equally negative, while some of them may even belong to the same semantic class as the query. To address this issue, inspired by consistency regularization in semi-supervised learning on unlabeled data, we propose Consistent Contrast (CO2), which introduces a consistency regularization term into the current contrastive learning framework. Regarding the similarity of the query crop to each crop from other images as "unlabeled", the consistency term takes the corresponding similarity of a positive crop as a pseudo label, and encourages consistency between these two similarities. Empirically, CO2 improves Momentum Contrast (MoCo) by 2.9% top-1 accuracy on ImageNet linear protocol, 3.8% and 1.1% top-5 accuracy on 1% and 10% labeled semi-supervised settings. It also transfers to image classification, object detection, and semantic segmentation on PASCAL VOC. This shows that CO2 learns better visual representations for these downstream tasks.

Motivation & Objective

  • Address the limitation of instance discrimination in contrastive learning, where all negative samples are treated equally despite varying semantic similarities.
  • Mitigate the 'class collision' problem caused by one-hot labeling, where semantically similar crops from different images are incorrectly treated as negatives.
  • Introduce a consistency regularization framework inspired by semi-supervised learning to exploit unlabeled similarities between query and negative crops.
  • Improve representation quality without requiring human-annotated labels, enabling better transfer to downstream tasks like classification, detection, and segmentation.

Proposed method

  • Treat the similarity between a query crop and a positive crop as a pseudo-label for the similarity between the query and other crops.
  • Introduce a consistency regularization term that encourages the model to predict similar similarities for the query and its positive crop when comparing to the same negative crop.
  • Formulate a joint objective combining the standard instance discrimination loss and the consistency regularization term to create a virtual soft label.
  • Use a momentum encoder to stabilize the positive similarity predictions during training, improving consistency learning.
  • Train the model in a self-supervised, bootstrap manner where the model's own predictions guide the learning of more robust representations.
  • Apply data augmentation to generate positive and negative crops, maintaining compatibility with existing contrastive learning frameworks like MoCo.

Experimental results

Research questions

  • RQ1Can consistency regularization improve unsupervised contrastive learning by modeling heterogeneous similarities between image crops?
  • RQ2How does treating positive crop similarities as pseudo-labels affect representation quality compared to standard one-hot instance discrimination?
  • RQ3To what extent does CO2 reduce the negative impact of 'class collision' in contrastive learning?
  • RQ4Does the proposed method generalize across different evaluation protocols, including linear probing, semi-supervised learning, and downstream tasks?
  • RQ5Can consistency regularization be effectively applied to unsupervised pretext tasks traditionally treated as purely supervised?

Key findings

  • CO2 improves MoCo by 2.9% in top-1 accuracy on the ImageNet linear classification protocol, demonstrating significant gains in self-supervised representation learning.
  • On the 1% labeled semi-supervised learning setting, CO2 achieves a 3.8% top-5 accuracy improvement over MoCo, showing strong generalization under low supervision.
  • On the 10% labeled semi-supervised setting, CO2 achieves a 1.1% top-5 accuracy gain over MoCo, indicating consistent improvement across data regimes.
  • CO2 models transfer better to downstream tasks, outperforming MoCo on image classification, object detection, and semantic segmentation benchmarks on PASCAL VOC.
  • The consistency regularization term effectively reduces the impact of semantically similar but incorrectly labeled negative samples, improving feature space clustering.
  • The method maintains compatibility with existing contrastive learning frameworks like MoCo, enabling plug-in improvements without architectural overhaul.

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.