In joint-embedding self-supervised learning, what is representation collapse, why does simply maximising similarity between two augmented views fail, and how do contrastive methods (SimCLR), asymmetric self-distillation (BYOL, DINO) and covariance methods (Barlow Twins, VICReg) prevent it?

Deep learning, Self-supervised learning
Level L4 Advanced. Length Medium. Nature Th Theoretical.

What's being asked

Whether you understand the central failure mode of joint-embedding SSL and the three architectural or loss-based families that prevent it.

Key idea

If an encoder maps every input to the exact same constant vector c, any two augmented views have maximal cosine similarity 1 and zero alignment loss. Preventing collapse requires an explicit repulsive force against a collapsed solution (negatives, architectural asymmetry with stop-gradient or variance-decorrelation penalties).

Steps

  1. Define collapse: complete collapse maps every image to a constant vector f(x)=c, achieving zero distance between positive pairs with zero information about x. Dimensional collapse is milder: embeddings span only a tiny subspace of the embedding dimension.
  2. Contrastive learning (SimCLR): keeps positives close while pushing negatives (other images in the batch) apart via the InfoNCE denominator, making a constant output incur high loss (log⁡(2N−1)).
  3. Asymmetric self-distillation (BYOL, DINO): drops negative pairs and uses an online encoder + predictor MLP matching a target encoder updated as an exponential moving average (EMA) with stop-gradient. Stopping gradients through the slower target branch breaks the symmetric trivial fixed point; DINO also centres and sharpens target logits to stop one dimension from dominating.
  4. Covariance / information-maximisation methods (Barlow Twins, VICReg): keep representations informative directly across the batch—Barlow Twins pushes the cross-correlation matrix between the two views’ embeddings towards the identity I, while VICReg combines invariance (MSE between views) with hinge variance (keeping per-dimension std above a threshold) and covariance penalties (decorrelating different dimensions).

Common mistakes

How long your answer should be

Half a page; 3–4 minutes.

Last checked on 4 December 2026.

Read this

Previous in Deep learning: At DDPM reverse step t with αt=0.81, βt=0.19, αˉt=0.36 and scalar noisy value xt=1.09, a trained noise network predicts εθ(xt,t)=0.8. What is the estimated clean signal x^0, and what is the reverse-step mean μθ(xt,t) used to sample xt−1?
Next in Deep learning: What is over-smoothing in deep graph convolutional networks (GCNs), why does repeated multiplication by A^=D~−1/2A~D~−1/2 push node representations towards a low-dimensional subspace, and how do residual connections, Jumping Knowledge (JK-Net) or DropEdge mitigate it?