Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style

Julius von Kügelgen, Yash Sharma, Luigi Gresele, Wieland Brendel, Bernhard Schölkopf +2 more
6/8/2021
stat.MLcs.AIcs.CV
contrastive-ssl

Official code: ysharma1126/ssl_identifiability (54 stars, Python, MIT, last commit 2022-01-12).

Abstract

Self-supervised representation learning has shown remarkable success in a number of domains. A common practice is to perform data augmentation via hand-crafted transformations intended to leave the semantics of the data invariant.

Show full abstract

We seek to understand the empirical success of this approach from a theoretical perspective. We formulate the augmentation process as a latent variable model by postulating a partition of the latent representation into a content component, which is assumed invariant to augmentation, and a style component, which is allowed to change. Unlike prior work on disentanglement and independent component analysis, we allow for both nontrivial statistical and causal dependencies in the latent space. We study the identifiability of the latent representation based on pairs of views of the observations and prove sufficient conditions that allow us to identify the invariant content partition up to an invertible mapping in both generative and discriminative settings. We find numerical simulations with dependent latent variables are consistent with our theory. Lastly, we introduce Causal3DIdent, a dataset of high-dimensional, visually complex images with rich causal dependencies, which we use to study the effect of data augmentations performed in practice.

View on arXivView PDF

Code Implementations(1)

MIT

Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style

546Python, DockerfileOct 26, 20214 years agoMIT

Similar Papers

Cite this paper

@article{kgelgen2021selfsupervised,
  title  = {Self-Supervised Learning with Data Augmentations Provably Isolates Content from Style},
  author = {Julius von Kügelgen and Yash Sharma and Luigi Gresele and Wieland Brendel and Bernhard Schölkopf and Michel Besserve and Francesco Locatello},
  year   = {2021},
  eprint = {2106.04619},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.04619}
}

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

Discussion