Self-supervised learning with rotation-invariant kernels

Léon Zheng, Gilles Puy, Elisa Riccietti, Patrick Pérez, Rémi Gribonval
7/28/2022
5 citations
cs.CVcs.AI
contrastive-ssl

Official code: valeoai/sfrik (14 stars, Python, last commit 2023-06-05).

Abstract

We introduce a regularization loss based on kernel mean embeddings with rotation-invariant kernels on the hypersphere (also known as dot-product kernels) for self-supervised learning of image representations. Besides being fully competitive with the state of the art, our method significantly reduces time and memory complexity for self-supervised training, making it implementable for very large embedding dimensions on existing devices and more easily adjustable than previous methods to settings with limited resources.

Show full abstract

Our work follows the major paradigm where the model learns to be invariant to some predefined image transformations (cropping, blurring, color jittering, etc.), while avoiding a degenerate solution by regularizing the embedding distribution. Our particular contribution is to propose a loss family promoting the embedding distribution to be close to the uniform distribution on the hypersphere, with respect to the maximum mean discrepancy pseudometric. We demonstrate that this family encompasses several regularizers of former methods, including uniformity-based and information-maximization methods, which are variants of our flexible regularization loss with different kernels. Beyond its practical consequences for state-of-the-art self-supervised learning with limited resources, the proposed generic regularization approach opens perspectives to leverage more widely the literature on kernel methods in order to improve self-supervised learning methods.

View on arXivView PDF

Code Implementations(1)

valeoai/sfrikOfficial100%

Official code for "Self-supervised learning with rotation-invariant kernels"

140PythonJul 22, 20223 years agoNOASSERTION

Similar Papers

Cite this paper

@article{zheng2022selfsupervised,
  title  = {Self-supervised learning with rotation-invariant kernels},
  author = {Léon Zheng and Gilles Puy and Elisa Riccietti and Patrick Pérez and Rémi Gribonval},
  year   = {2022},
  eprint = {2208.00789},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2208.00789v4}
}

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

Discussion