RenyiCL: Contrastive Representation Learning with Skew Renyi Divergence

Kyungmin Lee, Jinwoo Shin
8/12/2022
stat.MLcs.LG
contrastive-ssl

Official code: kyungmnlee/RenyiCL (14 stars, Python, last commit 2022-10-21).

Abstract

Contrastive representation learning seeks to acquire useful representations by estimating the shared information between multiple views of data. Here, the choice of data augmentation is sensitive to the quality of learned representations: as harder the data augmentations are applied, the views share more task-relevant information, but also task-irrelevant one that can hinder the generalization capability of representation.

Show full abstract

Motivated by this, we present a new robust contrastive learning scheme, coined RényiCL, which can effectively manage harder augmentations by utilizing Rényi divergence. Our method is built upon the variational lower bound of Rényi divergence, but a naïve usage of a variational method is impractical due to the large variance. To tackle this challenge, we propose a novel contrastive objective that conducts variational estimation of a skew Rényi divergence and provide a theoretical guarantee on how variational estimation of skew divergence leads to stable training. We show that Rényi contrastive learning objectives perform innate hard negative sampling and easy positive sampling simultaneously so that it can selectively learn useful features and ignore nuisance features. Through experiments on ImageNet, we show that Rényi contrastive learning with stronger augmentations outperforms other self-supervised methods without extra regularization or computational overhead. Moreover, we also validate our method on other domains such as graph and tabular, showing empirical gain over other contrastive methods.

View on arXivView PDF

Code Implementations(1)

kyungmnlee/RenyiCLOfficial100%

Contrastive self-supervised learning using Rényi divergence

140PythonOct 2, 20224 years ago

Similar Papers

Cite this paper

@article{lee2022renyicl,
  title  = {RenyiCL: Contrastive Representation Learning with Skew Renyi Divergence},
  author = {Kyungmin Lee and Jinwoo Shin},
  year   = {2022},
  eprint = {2208.06270},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.06270}
}

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

Discussion