Generative Models as a Data Source for Multiview Representation Learning

Ali Jahanian, Xavier Puig, Yonglong Tian, Phillip Isola
6/9/2021
cs.CV

Official code: ali-design/GenRep (87 stars, Jupyter Notebook, MIT, last commit 2022-03-24).

Abstract

Generative models are now capable of producing highly realistic images that look nearly indistinguishable from the data on which they are trained. This raises the question: if we have good enough generative models, do we still need datasets?

Show full abstract

We investigate this question in the setting of learning general-purpose visual representations from a black-box generative model rather than directly from data. Given an off-the-shelf image generator without any access to its training data, we train representations from the samples output by this generator. We compare several representation learning methods that can be applied to this setting, using the latent space of the generator to generate multiple "views" of the same semantic content. We show that for contrastive methods, this multiview data can naturally be used to identify positive pairs (nearby in latent space) and negative pairs (far apart in latent space). We find that the resulting representations rival or even outperform those learned directly from real data, but that good performance requires care in the sampling strategy applied and the training method. Generative models can be viewed as a compressed and organized copy of a dataset, and we envision a future where more and more "model zoos" proliferate while datasets become increasingly unwieldy, missing, or private. This paper suggests several techniques for dealing with visual representation learning in such a future. Code is available on our project page https://ali-design.github.io/GenRep/.

View on arXivView PDF

Code Implementations(1)

ali-design/GenRepOfficial100%
MIT
8711Jupyter Notebook, PythonMay 12, 20204 years agoMIT

Similar Papers

Cite this paper

@article{jahanian2021generative,
  title  = {Generative Models as a Data Source for Multiview Representation Learning},
  author = {Ali Jahanian and Xavier Puig and Yonglong Tian and Phillip Isola},
  year   = {2021},
  eprint = {2106.05258},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.05258}
}

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

Discussion