Skip to main content
QUICK REVIEW

[Paper Review] Understanding Self-supervised Learning with Dual Deep Networks

Yuandong Tian, Lantao Yu|arXiv (Cornell University)|Oct 1, 2020
Domain Adaptation and Few-Shot LearningComputer Science52 references35 citations
TL;DR

The paper develops a theoretical framework showing how contrastive self-supervised learning with dual deep ReLU networks amplifies initial random selectivities via a covariance operator, enabling hierarchical feature emergence through data augmentation.

ABSTRACT

We propose a novel theoretical framework to understand contrastive self-supervised learning (SSL) methods that employ dual pairs of deep ReLU networks (e.g., SimCLR). First, we prove that in each SGD update of SimCLR with various loss functions, including simple contrastive loss, soft Triplet loss and InfoNCE loss, the weights at each layer are updated by a \emph{covariance operator} that specifically amplifies initial random selectivities that vary across data samples but survive averages over data augmentations. To further study what role the covariance operator plays and which features are learned in such a process, we model data generation and augmentation processes through a \emph{hierarchical latent tree model} (HLTM) and prove that the hidden neurons of deep ReLU networks can learn the latent variables in HLTM, despite the fact that the network receives \emph{no direct supervision} from these unobserved latent variables. This leads to a provable emergence of hierarchical features through the amplification of initially random selectivities through contrastive SSL. Extensive numerical studies justify our theoretical findings. Code is released in https://github.com/facebookresearch/luckmatters/tree/master/ssl.

Motivation & Objective

  • Motivate a rigorous understanding of SSL with deep ReLU networks without strong distributional assumptions.
  • Show how weight updates in dual networks are governed by a covariance operator that amplifies random initial selectivities surviving data augmentation.
  • Demonstrate that under a hierarchical latent tree model, hidden neurons learn latent variables despite no direct supervision.
  • Connect SSL dynamics to a student-teacher framework and compare with supervised learning analyses.

Proposed method

  • Derive gradient expressions for squared L2 loss in dual deep ReLU networks and identify a covariance operator governing updates at each layer.
  • Define the connection K_l(x) linking bottom-up features to top-down Jacobians, and express gradients in terms of K_l and network weights.
  • Prove that under simple contrastive loss, and extended losses like soft Triplet and InfoNCE, the gradient update is amplified along the eigenmodes of the PSD covariance operator.
  • Formalize the covariance operator as an augmentation-averaged expectation over data, showing dependence on data distribution and augmentation.

Experimental results

Research questions

  • RQ1How do gradient updates in dual deep ReLU SSL models depend on data augmentation and loss function?
  • RQ2Can a covariance-operator framework explain the emergence of meaningful hierarchical features under contrastive SSL?
  • RQ3What roles do data generation models and augmentations play in shaping learned representations across layers?
  • RQ4Do hidden units align with latent variables in hierarchical generative models despite lack of direct supervision?

Key findings

  • Gradient updates in SimCLR-like dual networks are governed by a PSD covariance operator that amplifies initial selectivities across data points surviving augmentations.
  • This amplification mechanism operates at every layer of arbitrarily deep ReLU networks and for multiple loss functions (simple contrastive, soft Triplet, InfoNCE).
  • Under a hierarchical latent tree model, deep ReLU networks learn latent-variable representations in intermediate layers without direct supervision.
  • Augmentation-averaged connections and their covariance drive the emergence of hierarchical features through contrastive SSL.
  • For L_simp the covariance operator is exact with zero residue; for L_tri^τ and L_nce^τ a residue term θ appears but is expected to shrink during training, preserving PSD amplification.

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.