On the Role of the Projector in Contrastive Self-Supervised Learning: Last-Layer Rank Dynamics Drive Representation Quality
Siladittya Manna, Priyangshu Mandal, Umapada Pal, Saumik Bhattacharya
Abstract
The dimensional collapse of representations in self-supervised contrastive learning is an ever-present issue. One notable technique to prevent such a collapse of representations is using a multi-layered perceptron network called Projector. In several works, the projector has been found to heavily influence the quality of representations learned in a self-supervised contrastive pre-training task. However, the question still lingers. What role does the projector play? Assuming the projector mitigates dimensional collapse, what prevents the terminal layer of the base encoder from functioning as the projector in the absence of an explicit multi-layer perceptron (MLP) head? In this work, we intend to study what happens inside the projector by examining the rank dynamics of the same and the encoder through empirical study and analysis. Through mathematical analysis, we observe that the effect of rank reduction predominantly occurs in the last layer. Motivated by this insight, we propose a weight regularization strategy applied specifically to the last layer. We demonstrate that this targeted approach yields better performance than applying orthogonal weight regularization across the entire network (WeRank), both with and without a projector. Our method improves Top-1 accuracy by more than 1% on SimCLR on the ImageNet100 dataset and consistently outperforms baseline SimCLR variants on CIFAR datasets, supporting our interpretation of the projector's role.
Create a lesson
Metadata
- Comments
- Under review at Transactions on Machine Learning Research (TMLR)
Related papers
Variation-aware Temporal Correspondence for Self-Supervised Video Representation Learning
Shared title terminologycs.CVYang Liu, Qianqian Xu, Peisong Wen et al.
GeoCAM: Self-Supervised Sonar-Optical Representation Learning via Geographic Overlap Supervision
Shared title terminologycs.CVFadi Abdeladhim Zidi, Andrea De Salve, Giuseppe Celeste et al.
Two Global Crops Suffice: Locating Semantic Emergence in DINO-Style Self-Supervised Learning
Shared title terminologycs.CVBasavaraj Sunagad, Artur Jesslen, Adam Kortylewski
SWT: Self-Supervised Video Object Segmentation via Sliding, Wavelet and Transportation
Shared title terminologycs.CVZhengtong Zhu, Jiaqing Fan, Hanwen Qian et al.
Motion Beyond Pixels: Learning Future Visual Representations for Object-Centric Dynamics
Shared title terminologycs.CVChengzhi Zhao, Juelin Li, Zhennan Wang et al.
Depth-Guided Contrastive Learning for 2D Representations with 3D Spatial Awareness
Shared title terminologycs.CVLiang Zeng, Maarten Vergauwen