Towards the Sparseness of Projection Head in Self-Supervised Learning

Zeen Song, Xingzhe Su, Jingyao Wang, Wenwen Qiang, Changwen Zheng +1 more
7/18/2023
cs.LGcs.CV

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

In recent years, self-supervised learning (SSL) has emerged as a promising approach for extracting valuable representations from unlabeled data. One successful SSL method is contrastive learning, which aims to bring positive examples closer while pushing negative examples apart. Many current contrastive learning approaches utilize a parameterized projection head. Through a combination of empirical analysis and theoretical investigation, we provide insights into the internal mechanisms of the projection head and its relationship with the phenomenon of dimensional collapse. Our findings demonstrate that the projection head enhances the quality of representations by performing contrastive loss in a projected subspace. Therefore, we propose an assumption that only a subset of features is necessary when minimizing the contrastive loss of a mini-batch of data. Theoretical analysis further suggests that a sparse projection head can enhance generalization, leading us to introduce SparseHead - a regularization term that effectively constrains the sparsity of the projection head, and can be seamlessly integrated with any self-supervised learning (SSL) approaches. Our experimental results validate the effectiveness of SparseHead, demonstrating its ability to improve the performance of existing contrastive methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{song2023towards,
  title  = {Towards the Sparseness of Projection Head in Self-Supervised Learning},
  author = {Zeen Song and Xingzhe Su and Jingyao Wang and Wenwen Qiang and Changwen Zheng and Fuchun Sun},
  year   = {2023},
  eprint = {2307.08913},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.08913v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.08913.svg)](https://codeofpaper.com/paper/2307.08913)

Discussion