Skip to main content
QUICK REVIEW

[Paper Review] What Makes for Good Views for Contrastive Learning?

Yonglong Tian, Chen Sun|arXiv (Cornell University)|May 20, 2020
Adult and Continuing Education TopicsSocial Sciences87 references527 citations
TL;DR

This paper proposes the InfoMin principle: optimal views for contrastive learning minimize mutual information between views while preserving task-relevant information, achieving state-of-the-art ImageNet results with strong data augmentation and a semi-supervised view-learning framework.

ABSTRACT

Contrastive learning between multiple views of the data has recently achieved state of the art performance in the field of self-supervised representation learning. Despite its success, the influence of different view choices has been less studied. In this paper, we use theoretical and empirical analysis to better understand the importance of view selection, and argue that we should reduce the mutual information (MI) between views while keeping task-relevant information intact. To verify this hypothesis, we devise unsupervised and semi-supervised frameworks that learn effective views by aiming to reduce their MI. We also consider data augmentation as a way to reduce MI, and show that increasing data augmentation indeed leads to decreasing MI and improves downstream classification accuracy. As a by-product, we achieve a new state-of-the-art accuracy on unsupervised pre-training for ImageNet classification ($73\%$ top-1 linear readout with a ResNet-50). In addition, transferring our models to PASCAL VOC object detection and COCO instance segmentation consistently outperforms supervised pre-training. Code:http://github.com/HobbitLong/PyContrast

Motivation & Objective

  • Define and analyze how the choice of views affects contrastive representation learning.
  • Propose that optimal views minimize mutual information between views while preserving task-relevant information.
  • Demonstrate a task-dependent, typically reverse-U relationship between MI of views and downstream performance.
  • Develop unsupervised and semi-supervised methods to learn effective views under the InfoMin principle.
  • Show state-of-the-art ImageNet linear readout results and transfer gains on downstream tasks.

Proposed method

  • Formalize multiview contrastive learning with a mutual information objective via InfoNCE.
  • Define sufficient and minimal sufficient encoders for views (f1, f2).
  • Propose the InfoMin proposition: optimal views minimize I(v1; v2) subject to I(v1; y)=I(v2; y)=I(x; y).
  • Demonstrate a reverse-U relationship between I(v1; v2) and downstream accuracy (I_NCE as proxy).
  • Introduce unsupervised and semi-supervised view-learning methods to synthesize views that reduce MI while preserving label-relevant information.
  • Show data augmentation strategies (InfoMin Aug) that reduce MI and improve downstream performance.

Experimental results

Research questions

  • RQ1How does the choice of views in contrastive learning influence the information captured and downstream task performance?
  • RQ2Is there a sweet spot in the mutual information between views that maximizes transfer performance, and how task-dependent is this?
  • RQ3Can we learn views in unsupervised or semi-supervised ways that align with the InfoMin principle to improve representations?
  • RQ4Do stronger data augmentations, aimed at reducing mutual information, yield better downstream accuracy and transfer?
  • RQ5Can the InfoMin framework explain observed improvements in state-of-the-art self-supervised learning on ImageNet and downstream tasks?

Key findings

  • Optimal views are task-dependent.
  • There is a reverse-U relationship between mutual information of views and representation quality across settings.
  • Unsupervised and semi-supervised view learning can produce effective views under the InfoMin principle.
  • Stronger data augmentations that reduce MI improve downstream accuracy and can reach state-of-the-art ImageNet linear readout results (73.0% top-1 with ResNet-50).
  • InfoMin augmented views transfer better to object detection and segmentation tasks than supervised pre-training in several COCO/PASCAL VOC settings.

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.