Improving Self-Supervised Learning by Characterizing Idealized Representations

Yann Dubois, Tatsunori Hashimoto, Stefano Ermon, Percy Liang
9/13/2022
cs.LGstat.ML
contrastive-ssl

Official code: YannDubs/Invariant-Self-Supervised-Learning (41 stars, Python, MIT, PyTorch, last commit 2022-11-27).

Abstract

Despite the empirical successes of self-supervised learning (SSL) methods, it is unclear what characteristics of their representations lead to high downstream accuracies. In this work, we characterize properties that SSL representations should ideally satisfy.

Show full abstract

Specifically, we prove necessary and sufficient conditions such that for any task invariant to given data augmentations, desired probes (e.g., linear or MLP) trained on that representation attain perfect accuracy. These requirements lead to a unifying conceptual framework for improving existing SSL methods and deriving new ones. For contrastive learning, our framework prescribes simple but significant improvements to previous methods such as using asymmetric projection heads. For non-contrastive learning, we use our framework to derive a simple and novel objective. Our resulting SSL algorithms outperform baselines on standard benchmarks, including SwAV+multicrops on linear probing of ImageNet.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Pytorch code for "Improving Self-Supervised Learning by Characterizing Idealized Representations"

417Python, Jupyter NotebookOct 21, 20214 years agoMIT
machine-learningpythonpytorchrepresentation-learningself-supervised-learning

Similar Papers

Cite this paper

@article{dubois2022improving,
  title  = {Improving Self-Supervised Learning by Characterizing Idealized Representations},
  author = {Yann Dubois and Tatsunori Hashimoto and Stefano Ermon and Percy Liang},
  year   = {2022},
  eprint = {2209.06235},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.06235}
}

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

Discussion