Structuring Representation Geometry with Rotationally Equivariant Contrastive Learning

Sharut Gupta, Joshua Robinson, Derek Lim, Soledad Villar, Stefanie Jegelka
6/24/2023
cs.LGcs.CV

Official code: Sharut/CARE (18 stars, MIT, last commit 2023-06-28).

Abstract

Self-supervised learning converts raw perceptual data such as images to a compact space where simple Euclidean distances measure meaningful variations in data. In this paper, we extend this formulation by adding additional geometric structure to the embedding space by enforcing transformations of input space to correspond to simple (i.e., linear) transformations of embedding space. Specifically, in the contrastive learning setting, we introduce an equivariance objective and theoretically prove that its minima forces augmentations on input space to correspond to rotations on the spherical embedding space. We show that merely combining our equivariant loss with a non-collapse term results in non-trivial representations, without requiring invariance to data augmentations. Optimal performance is achieved by also encouraging approximate invariance, where input augmentations correspond to small rotations. Our method, CARE: Contrastive Augmentation-induced Rotational Equivariance, leads to improved performance on downstream tasks, and ensures sensitivity in embedding space to important variations in data (e.g., color) that standard contrastive methods do not achieve. Code is available at https://github.com/Sharut/CARE.

View on arXivView PDF

Code Implementations(1)

Sharut/CAREOfficial100%
MIT
182Shell, PythonMay 20, 20233 years agoMIT

Similar Papers

Cite this paper

@article{gupta2023structuring,
  title  = {Structuring Representation Geometry with Rotationally Equivariant Contrastive Learning},
  author = {Sharut Gupta and Joshua Robinson and Derek Lim and Soledad Villar and Stefanie Jegelka},
  year   = {2023},
  eprint = {2306.13924},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.13924v1},
  journal = {ICLR 2023 2023}
}

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

Discussion