Skip to main content
QUICK REVIEW

[Paper Review] Generative Models as a Data Source for Multiview Representation Learning

Ali Jahanian, Xavier Puig|arXiv (Cornell University)|Jun 9, 2021
Generative Adversarial Networks and Image SynthesisComputer Science68 references6 citations
TL;DR

This paper proposes learning general-purpose visual representations from synthetic data generated by pre-trained generative models, using latent space transformations to create multiview data for contrastive learning. It demonstrates that representations trained on such synthetic data can rival or exceed those learned from real data, provided careful sampling and training strategies are employed.

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? 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/.

Motivation & Objective

  • To investigate whether effective visual representations can be learned from synthetic data generated by a black-box generative model without access to the original training data.
  • To evaluate the effectiveness of contrastive and non-contrastive representation learning methods when trained on samples from pre-trained generative models.
  • To explore how latent space transformations in generative models can create meaningful multiview data for representation learning.
  • To assess the impact of different sampling strategies and training objectives on downstream transfer performance.

Proposed method

  • Leverage pre-trained generative models (e.g., BigBiGAN, BigGAN, StyleGAN) as a data source, sampling images without access to original training data.
  • Generate multiple views of the same semantic content by applying transformations in the latent space (e.g., Gaussian noise, style-based steering) rather than in pixel space.
  • Use the proximity of latent vectors to define positive pairs and their distance to define negative pairs in contrastive learning objectives.
  • Apply standard contrastive learning frameworks (e.g., SimCLR) and supervised contrastive learning to the generated data, using the model’s own latent space as the source of view diversity.
  • Compare performance of models trained on synthetic data from generative models against those trained on real ImageNet data across multiple downstream tasks.
  • Evaluate transfer performance on ImageNet100, VOC07 classification, and VOC07 detection using linear probes.

Experimental results

Research questions

  • RQ1Can visual representations be effectively learned from synthetic data generated by a black-box generative model without access to the original training data?
  • RQ2How do different latent space transformation strategies (e.g., Gaussian noise, style-based steering) affect the quality of multiview data for contrastive learning?
  • RQ3Can representations trained on synthetic data from generative models achieve performance comparable to or better than those trained on real data?
  • RQ4What sampling and training strategies are most effective for maximizing representation quality when using generative model outputs as training data?
  • RQ5To what extent can synthetic data from generative models augment real data in representation learning?

Key findings

  • Contrastive representation learning methods trained on synthetic data from BigBiGAN achieved a top-1 accuracy of 61.52% on ImageNet100, approaching the 81.18% achieved by real data.
  • Using latent space transformations such as Gaussian noise or style-based steering improved performance over no transformation, with Gaussian noise yielding the best results (60.74% top-1 accuracy).
  • For class-conditional models like BigGAN, supervised contrastive learning on generated data achieved 70.16% top-1 accuracy, outperforming non-contrastive inverter methods (38.84% top-1 accuracy).
  • Mixing 5% synthetic data from BigBiGAN with real ImageNet100 data improved transfer performance, indicating that synthetic data can effectively augment real data.
  • The quality of representations strongly depends on the sampling strategy; naive sampling without latent transformations leads to poor performance, highlighting the need for structured view generation.
  • The results suggest that generative models can serve as a compressed, privacy-preserving, and editable alternative to real datasets for representation learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.