Paper

Hierarchical Text-Conditional Image Generation with CLIP Latents

Contrastive models like CLIP have been shown to learn robust representations of images that capture both semantics and style. To leverage these representations for image generation, we propose a two-stage model: a prior that generates a CLIP image embedding given a text caption, and a decoder that generates an image conditioned on the image embedding. We show that explicitly generating image representations improves · Authors: Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, Mark Chen · Published 2022-04-13 · arXiv:2204.06125

Published
2022-04-13
Authors
5
arXiv
2204.06125
Category
cs.CV

Abstract

arXiv:2204.06125

Aditya Ramesh, Prafulla Dhariwal, Alex Nichol, Casey Chu, Mark Chen

Contrastive models like CLIP have been shown to learn robust representations of images that capture both semantics and style. To leverage these representations for image generation, we propose a two-stage model: a prior that generates a CLIP image embedding given a text caption, and a decoder that generates an image conditioned on the image embedding. We show that explicitly generating image representations improves image diversity with minimal loss in photorealism and caption similarity. Our decoders conditioned on image representations can also produce variations of an image that preserve both its semantics and style, while varying the non-essential details absent from the image representation. Moreover, the joint embedding space of CLIP enables language-guided image manipulations in a zero-shot fashion. We use diffusion models for the decoder and experiment with both autoregressive and diffusion models for the prior, finding that the latter are computationally more efficient and produce higher-quality samples.

Related papers

40

  • Center for AI Safety
  • Center for AI Standards and Innovation
  • Co-affiliated with Carnegie Mellon University
  • UK Artificial Intelligence Security Institute
  • Shanghai Jiao Tong University
  • AMD
  • IBM
  • Agentrys
  • Brown University
  • California Institute of Technology
  • Carnegie Mellon University
  • Hewlett Packard Labs
  • New York University
  • Princeton University
  • Stanford University
  • University at Buffalo
  • University of California
  • University of Illinois Urbana-Champaign
  • University of Pennsylvania
  • University of Texas
  • MATS
  • New York University
  • University of Pennsylvania