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 , any two augmented views have maximal cosine similarity 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
- Define collapse: complete collapse maps every image to a constant vector , achieving zero distance between positive pairs with zero information about . Dimensional collapse is milder: embeddings span only a tiny subspace of the embedding dimension.
- 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 ().
- 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.
- 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 , 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
- Saying batch normalisation alone prevents collapse in BYOL; BYOL works without BN when properly initialised, because the predictor + EMA stop-gradient asymmetry drives the dynamics.
- Assuming contrastive learning avoids all collapse; without enough negatives or proper projection heads, contrastive models can still suffer dimensional collapse.
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 with , , and scalar noisy value , a trained noise network predicts . What is the estimated clean signal , and what is the reverse-step mean used to sample ?
Next in Deep learning: What is over-smoothing in deep graph convolutional networks (GCNs), why does repeated multiplication by push node representations towards a low-dimensional subspace, and how do residual connections, Jumping Knowledge (JK-Net) or DropEdge mitigate it?