Understanding Contrastive Learning through Variational Analysis and Neural Network Optimization Perspectives
JCJeff CalderWLWonjun Lee
JCJeff Calder
WLWonjun Lee
+2
This paper mathematically analyzes the SimCLR contrastive learning method to explain its empirical success. The analysis reveals two key insights: the SimCLR loss alone admits trivial minimizers that fail to produce a meaningful latent distribution, even on clustered data; therefore, understanding the success requires examining the training dynamics of the neural network. A preliminary study of a one-hidden-layer network shows that clustering structure can persist for a substantial period during training, even if the optimizer eventually converges to a trivial solution. Numerical experiments confirm these theoretical predictions.

arXiv ·
· March 13, 2025