Learning the Relation between Similarity Loss and Clustering Loss in Self-Supervised Learning

Jidong Ge, Yuxiang Liu, Jie Gui, Lanting Fang, Ming Lin +3 more
1/8/2023
cs.CVcs.LG

Official code: guijiejie/ICCL (50 stars, last commit 2023-06-01).

Abstract

Self-supervised learning enables networks to learn discriminative features from massive data itself. Most state-of-the-art methods maximize the similarity between two augmentations of one image based on contrastive learning. By utilizing the consistency of two augmentations, the burden of manual annotations can be freed. Contrastive learning exploits instance-level information to learn robust features. However, the learned information is probably confined to different views of the same instance. In this paper, we attempt to leverage the similarity between two distinct images to boost representation in self-supervised learning. In contrast to instance-level information, the similarity between two distinct images may provide more useful information. Besides, we analyze the relation between similarity loss and feature-level cross-entropy loss. These two losses are essential for most deep learning methods. However, the relation between these two losses is not clear. Similarity loss helps obtain instance-level representation, while feature-level cross-entropy loss helps mine the similarity between two distinct images. We provide theoretical analyses and experiments to show that a suitable combination of these two losses can get state-of-the-art results. Code is available at https://github.com/guijiejie/ICCL.

View on arXivView PDF

Code Implementations(1)

guijiejie/ICCLOfficial100%
5024Shell, PythonMay 31, 20233 years ago

Similar Papers

Cite this paper

@article{ge2023learning,
  title  = {Learning the Relation between Similarity Loss and Clustering Loss in Self-Supervised Learning},
  author = {Jidong Ge and Yuxiang Liu and Jie Gui and Lanting Fang and Ming Lin and James Tin-Yau Kwok and LiGuo Huang and Bin Luo},
  year   = {2023},
  eprint = {2301.03041},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.03041v2}
}

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/2301.03041.svg)](https://codeofpaper.com/paper/2301.03041)

Discussion