mlsanityData to 14 Oct 2026

ContraCLIP: Interpretable GAN generation driven by pairs of contrasting sentences

arXiv 2206.02104 ↗First posted 5 Jun 2022cs.CVcited by 12

Not on the map. Why?

Abstract (arXiv)

This work addresses the problem of discovering non-linear interpretable paths in the latent space of pre-trained GANs in a model-agnostic manner. In the proposed method, the discovery is driven by a set of pairs of natural language sentences with contrasting semantics, named semantic dipoles, that serve as the limits of the interpretation that we require by the trainable latent paths to encode. By using the pre-trained CLIP encoder, the sentences are projected into the vision-language space, where they serve as dipoles, and where RBF-based warping functions define a set of non-linear directional paths, one for each semantic dipole, allowing in this way traversals from one semantic pole to the other. By defining an objective that discovers paths in the latent space of GANs that generate changes along the desired paths in the vision-language embedding space, we provide an intuitive way of controlling the underlying generative factors and address some of the limitations of the state-of-the-art works, namely, that a) they are typically tailored to specific GAN architectures (i.e., StyleGAN), b) they disregard the relative position of the manipulated and the original image in the image embedding and the relative position of the image and the text embeddings, and c) they lead to abrupt image manipulations and quickly arrive at regions of low density and, thus, low image quality, providing limited control of the generative factors. We provide extensive qualitative and quantitative results that demonstrate our claims with two pre-trained GANs, and make the code and the pre-trained models publicly available at: https://github.com/chi0tzp/ContraCLIP

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 35 of its 39 references that are in the map. First posted on arXiv 5 Jun 2022.

Builds on

35 of 39 references.

References · 35

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  6. 2014Deep Learning Face Attributes in the Wildcited by 3,693
  7. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
  8. 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
  9. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
  10. 2016Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Networkcited by 1,908
  11. 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
  12. 2020Oscar: Object-Semantics Aligned Pre-training for Vision-Language Taskscited by 1,214
23 more
  1. 2019StarGAN v2: Diverse Image Synthesis for Multiple Domainscited by 1,098
  2. 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 991
  3. 2016Generative Adversarial Text to Image Synthesiscited by 735
  4. 2019Interpreting the Latent Space of GANs for Semantic Face Editingcited by 695
  5. 2017AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networkscited by 664
  6. 2020GANSpace: Discovering Interpretable GAN Controlscited by 614
  7. 2019Unicoder-VL: A Universal Encoder for Vision and Language by Cross-modal Pre-trainingcited by 451
  8. 2020Closed-Form Factorization of Latent Semantics in GANscited by 408
  9. 2020InterFaceGAN: Interpreting the Disentangled Face Representation Learned by GANscited by 394
  10. 2020StyleFlow: Attribute-conditioned Exploration of StyleGAN-Generated Images using Conditional Continuous Normalizing Flowscited by 349
  11. 2020VirTex: Learning Visual Representations from Textual Annotationscited by 339
  12. 2020StyleSpace Analysis: Disentangled Controls for StyleGAN Image Generationcited by 332
  13. 2020Unsupervised Discovery of Interpretable Directions in the GAN Latent Spacecited by 289
  14. 2019On the "steerability" of generative adversarial networkscited by 248
  15. 2021GAN Prior Embedded Network for Blind Face Restoration in the Wildcited by 197
  16. 2019GANalyze: Toward Visual Definitions of Cognitive Image Propertiescited by 193
  17. 2019ManiGAN: Text-Guided Image Manipulationcited by 156
  18. 2020Learning Visual Representations with Caption Annotationscited by 123
  19. 2021Talk-to-Edit: Fine-Grained Facial Editing via Dialogcited by 102
  20. 2020Controlling generative models with continuous factors of variationscited by 93
  21. 2020Generative Hierarchical Features from Synthesizing Imagescited by 83
  22. 2021WarpedGANSpace: Finding non-linear RBF paths in GAN latent spacecited by 48
  23. 2021Tensor Component Analysis for Interpreting the Latent Space of GANscited by 13

Built on by

Cited by year

Citing papers per year: 2022: 4; 2023: 3; 2024: 4; 2025: 1.

12 papers.