Publication | Open Access
Hierarchical Text-Conditional Image Generation with CLIP Latents
2.3K
Citations
0
References
2022
Year
Artificial IntelligenceEngineeringMachine LearningVideo SummarizationImage DiversityNatural Language ProcessingMultimodal LlmImage AnalysisText-to-image RetrievalRobust RepresentationsClip ImageMachine TranslationSynthetic Image GenerationClip LatentsVision Language ModelComputer ScienceHuman Image SynthesisDeep LearningComputer VisionLanguage Generation
Contrastive models such as CLIP learn robust image representations that capture both semantics and style. The authors propose a two‑stage model that first generates a CLIP image embedding from a text caption and then decodes it into an image. The decoder is a diffusion model conditioned on the CLIP embedding, while the prior is explored with both autoregressive and diffusion variants, with the diffusion prior proving more efficient and producing higher‑quality samples. Explicitly generating image representations yields greater diversity with only minor loss in photorealism and caption similarity, enables the decoder to produce style‑preserving variations that alter only non‑essential details, supports zero‑shot language‑guided manipulations, and shows that a diffusion prior outperforms an autoregressive one in efficiency and quality.
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.