ContraCLIP: Interpretable GAN generation driven by pairs of contrasting sentences
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
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2014Deep Learning Face Attributes in the Wildcited by 3,693
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,588
- 2017Progressive Growing of GANs for Improved Quality, Stability, and Variationcited by 2,988
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
- 2016Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Networkcited by 1,908
- 2015LSUN: Construction of a Large-scale Image Dataset using Deep Learning with Humans in the Loopcited by 1,355
- 2020Oscar: Object-Semantics Aligned Pre-training for Vision-Language Taskscited by 1,214
23 more
- 2019StarGAN v2: Diverse Image Synthesis for Multiple Domainscited by 1,098
- 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 991
- 2016Generative Adversarial Text to Image Synthesiscited by 735
- 2019Interpreting the Latent Space of GANs for Semantic Face Editingcited by 695
- 2017AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networkscited by 664
- 2020GANSpace: Discovering Interpretable GAN Controlscited by 614
- 2019Unicoder-VL: A Universal Encoder for Vision and Language by Cross-modal Pre-trainingcited by 451
- 2020Closed-Form Factorization of Latent Semantics in GANscited by 408
- 2020InterFaceGAN: Interpreting the Disentangled Face Representation Learned by GANscited by 394
- 2020StyleFlow: Attribute-conditioned Exploration of StyleGAN-Generated Images using Conditional Continuous Normalizing Flowscited by 349
- 2020VirTex: Learning Visual Representations from Textual Annotationscited by 339
- 2020StyleSpace Analysis: Disentangled Controls for StyleGAN Image Generationcited by 332
- 2020Unsupervised Discovery of Interpretable Directions in the GAN Latent Spacecited by 289
- 2019On the "steerability" of generative adversarial networkscited by 248
- 2021GAN Prior Embedded Network for Blind Face Restoration in the Wildcited by 197
- 2019GANalyze: Toward Visual Definitions of Cognitive Image Propertiescited by 193
- 2019ManiGAN: Text-Guided Image Manipulationcited by 156
- 2020Learning Visual Representations with Caption Annotationscited by 123
- 2021Talk-to-Edit: Fine-Grained Facial Editing via Dialogcited by 102
- 2020Controlling generative models with continuous factors of variationscited by 93
- 2020Generative Hierarchical Features from Synthesizing Imagescited by 83
- 2021WarpedGANSpace: Finding non-linear RBF paths in GAN latent spacecited by 48
- 2021Tensor Component Analysis for Interpreting the Latent Space of GANscited by 13
Built on by
Citing papers per year: 2022: 4; 2023: 3; 2024: 4; 2025: 1.
12 papers.
- 2023HyperReenact: One-Shot Reenactment via Jointly Learning to Refine and Retarget Facescited by 48
- 2023Attribute-preserving Face Dataset Anonymization via Latent Code Optimizationcited by 43
- 2025Personalized Image Generation with Deep Generative Models: A Decade Surveycited by 20
- 2022StyleMask: Disentangling the Style Space of StyleGAN2 for Neural Face Reenactmentcited by 17
- 2022clip2latent: Text driven sampling of a pre-trained StyleGAN using denoising diffusion and CLIPcited by 16
- 2024DiffusionAct: Controllable Diffusion Autoencoder for One-shot Face Reenactmentcited by 14
- 2024Are CLIP features all you need for Universal Synthetic Image Origin Attribution?cited by 14
- 2023Improving Fairness using Vision-Language Driven Image Augmentationcited by 13
- 2022Bridging CLIP and StyleGAN through Latent Alignment for Image Editingcited by 12
- 2024MM2Latent: Text-to-facial image generation and editing in GANs with multimodal assistancecited by 7
- 2024One-shot Neural Face Reenactment via Finding Directions in GAN's Latent Spacecited by 6
- 2022Deep Curvilinear Editing: Commutative and Nonlinear Image Manipulation for Pretrained Deep Generative Modelcited by 3
- 2025Personalized Image Generation with Deep Generative Models: A Decade Survey18 Feb 2025
- 2024MM2Latent: Text-to-facial image generation and editing in GANs with multimodal assistance17 Sep 2024
- 2024Are CLIP features all you need for Universal Synthetic Image Origin Attribution?17 Aug 2024
- 2024DiffusionAct: Controllable Diffusion Autoencoder for One-shot Face Reenactment25 Mar 2024
- 2024One-shot Neural Face Reenactment via Finding Directions in GAN's Latent Space5 Feb 2024
- 2023Improving Fairness using Vision-Language Driven Image Augmentation2 Nov 2023
- 2023HyperReenact: One-Shot Reenactment via Jointly Learning to Refine and Retarget Faces20 Jul 2023
- 2023Attribute-preserving Face Dataset Anonymization via Latent Code Optimization20 Mar 2023
- 2022Deep Curvilinear Editing: Commutative and Nonlinear Image Manipulation for Pretrained Deep Generative Model26 Nov 2022
- 2022Bridging CLIP and StyleGAN through Latent Alignment for Image Editing10 Oct 2022
- 2022clip2latent: Text driven sampling of a pre-trained StyleGAN using denoising diffusion and CLIP5 Oct 2022
- 2022StyleMask: Disentangling the Style Space of StyleGAN2 for Neural Face Reenactment27 Sep 2022