[Paper Review] How Does SimSiam Avoid Collapse Without Negative Samples? A Unified Understanding with Self-supervised Contrastive Learning
The paper analyzes why SimSiam avoids collapse without negative samples by decomposing representations into center and residual components, showing de-centering and de-correlation roles, and unifying this view with InfoNCE; it also demonstrates predictor simplifications for collapse prevention.
To avoid collapse in self-supervised learning (SSL), a contrastive loss is widely used but often requires a large number of negative samples. Without negative samples yet achieving competitive performance, a recent work has attracted significant attention for providing a minimalist simple Siamese (SimSiam) method to avoid collapse. However, the reason for how it avoids collapse without negative samples remains not fully clear and our investigation starts by revisiting the explanatory claims in the original SimSiam. After refuting their claims, we introduce vector decomposition for analyzing the collapse based on the gradient analysis of the $l_2$-normalized representation vector. This yields a unified perspective on how negative samples and SimSiam alleviate collapse. Such a unified perspective comes timely for understanding the recent progress in SSL.
Motivation & Objective
- Motivate a rigorous explanation for SimSiam’s collapse avoidance without negative samples.
- Critique existing claims about stop-gradient and predictor roles in SimSiam.
- Develop a vector-decomposition framework (center and residual) to analyze collapse mechanisms.
- Show how extra gradient components (center and residual) prevent collapse and relate to de-centering and de-correlation.
- Propose predictor simplifications for more explainable and stable training.
Proposed method
- Revisit SimSiam’s explanatory claims and identify reasoning flaws.
- Introduce a vector decomposition of the normalized representation Z into center o and residual r (Z = o + r).
- Analyze gradient components to show how center and residual parts influence collapse via de-centering and de-correlation.
- Compare with InfoNCE to show a unified view of de-centering and de-correlation across SSL methods.
- Experiment with toy and toy-like setups to isolate gradient components (o_e and r_e) and their effects on collapse.
- Suggest predictor simplifications (e.g., a single bias layer) that preserve collapse avoidance.
Experimental results
Research questions
- RQ1How do the stop-gradient and predictor components contribute to collapse avoidance in SimSiam, and are prior explanations valid?
- RQ2Can a center-residual vector decomposition explain when and how collapse occurs or is avoided in Siamese SSL architectures?
- RQ3What is the relationship between SimSiam’s extra gradient and the mechanisms of de-centering and de-correlation?
- RQ4How do negative samples in InfoNCE induce similar de-centering and de-correlation effects as in SimSiam?
- RQ5Can predictor complexity be reduced without sacrificing collapse avoidance and performance?
Key findings
- A Naive Siamese architecture collapses, but asymmetric architectures with a predictor and stop-gradient can avoid collapse.
- A vector decomposition Z = o + r reveals that the center component o tends to de-center (de-centering) and the residual component r promotes de-correlation, both helping to avoid collapse.
- The extra gradient in SimSiam, processed via h^{-1} (inverse predictor) or through de-centering and de-correlation effects, is essential for preventing collapse; processing the optimization target with h^{-1} is beneficial, while processing with h can lead to collapse.
- InfoNCE’s extra gradient has a similar de-centering and de-correlation structure, linking SimSiam’s behavior to contrastive frameworks with negatives.
- Simplifying the predictor to a single bias layer can preserve collapse avoidance, with an L2 normalization step being critical for enabling the de-centering/de-correlation mechanism.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.