Self-Supervised Learning with Kernel Dependence Maximization

Yazhe Li, Roman Pogodin, Danica J. Sutherland, Arthur Gretton
6/15/2021
stat.MLcs.AIcs.CV
contrastive-ssl

Official code: google-deepmind/ssl_hsic (40 stars, Python, Apache-2.0, last commit 2024-07-30).

Abstract

We approach self-supervised learning of image representations from a statistical dependence perspective, proposing Self-Supervised Learning with the Hilbert-Schmidt Independence Criterion (SSL-HSIC). SSL-HSIC maximizes dependence between representations of transformations of an image and the image identity, while minimizing the kernelized variance of those representations.

Show full abstract

This framework yields a new understanding of InfoNCE, a variational lower bound on the mutual information (MI) between different transformations. While the MI itself is known to have pathologies which can result in learning meaningless representations, its bound is much better behaved: we show that it implicitly approximates SSL-HSIC (with a slightly different regularizer). Our approach also gives us insight into BYOL, a negative-free SSL method, since SSL-HSIC similarly learns local neighborhoods of samples. SSL-HSIC allows us to directly optimize statistical dependence in time linear in the batch size, without restrictive data assumptions or indirect mutual information estimators. Trained with or without a target network, SSL-HSIC matches the current state-of-the-art for standard linear evaluation on ImageNet, semi-supervised learning and transfer to other classification and vision tasks such as semantic segmentation, depth estimation and object recognition. Code is available at https://github.com/deepmind/ssl_hsic .

View on arXivView PDF

Code Implementations(1)

Apache-2.0
403Python, StarlarkDec 2, 20212 years agoApache-2.0

Similar Papers

Cite this paper

@article{li2021selfsupervised,
  title  = {Self-Supervised Learning with Kernel Dependence Maximization},
  author = {Yazhe Li and Roman Pogodin and Danica J. Sutherland and Arthur Gretton},
  year   = {2021},
  eprint = {2106.08320},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.08320}
}

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

Discussion