mlsanityData to 14 Oct 2026

Towards Counterfactual Image Manipulation via CLIP

arXiv 2207.02812 ↗First posted 6 Jul 2022cs.CVcited by 19

Not on the map. Why?

Abstract (arXiv)

Leveraging StyleGAN's expressivity and its disentangled latent codes, existing methods can achieve realistic editing of different visual attributes such as age and gender of facial images. An intriguing yet challenging problem arises: Can generative models achieve counterfactual editing against their learnt priors? Due to the lack of counterfactual samples in natural datasets, we investigate this problem in a text-driven manner with Contrastive-Language-Image-Pretraining (CLIP), which can offer rich semantic knowledge even for various counterfactual concepts. Different from in-domain manipulation, counterfactual manipulation requires more comprehensive exploitation of semantic knowledge encapsulated in CLIP as well as more delicate handling of editing directions for avoiding being stuck in local minimum or undesired editing. To this end, we design a novel contrastive loss that exploits predefined CLIP-space directions to guide the editing toward desired directions from different perspectives. In addition, we design a simple yet effective scheme that explicitly maps CLIP embeddings (of target text) to the latent space and fuses them with latent codes for effective latent code optimization and accurate editing. Extensive experiments show that our design achieves accurate and realistic editing while driving by target texts with various counterfactual concepts.

Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Builds on 37 of its 42 references that are in the map. First posted on arXiv 6 Jul 2022.

Builds on

37 of 42 references.

References · 37

  1. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  4. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 6,013
  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. 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,694
  10. 2014Conditional Generative Adversarial Netscited by 2,162
  11. 2021Alias-Free Generative Adversarial Networkscited by 1,184
  12. 2019StarGAN v2: Diverse Image Synthesis for Multiple Domainscited by 1,098
25 more
  1. 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 991
  2. 2016Generative Adversarial Text to Image Synthesiscited by 735
  3. 2020Encoding in Style: a StyleGAN Encoder for Image-to-Image Translationcited by 727
  4. 2019Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?cited by 675
  5. 2017AttnGAN: Fine-Grained Text to Image Generation with Attentional Generative Adversarial Networkscited by 664
  6. 2020Contrastive Learning for Unpaired Image-to-Image Translationcited by 639
  7. 2020GANSpace: Discovering Interpretable GAN Controlscited by 614
  8. 2021Designing an Encoder for StyleGAN Image Manipulationcited by 544
  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. 2016Generative Visual Manipulation on the Natural Image Manifoldcited by 348
  12. 2020StyleSpace Analysis: Disentangled Controls for StyleGAN Image Generationcited by 332
  13. 2021ReStyle: A Residual-Based StyleGAN Encoder via Iterative Refinementcited by 248
  14. 2021CLIPstyler: Image Style Transfer with a Single Text Conditioncited by 203
  15. 2020Editing in Style: Uncovering the Local Semantics of GANscited by 183
  16. 2018Explaining Image Classifiers by Counterfactual Generationcited by 144
  17. 2021Counterfactual Generative Networkscited by 111
  18. 2021FuseDream: Training-Free Text-to-Image Generation with Improved CLIP+GAN Space Optimizationcited by 71
  19. 2020Cascade EF-GAN: Progressive Facial Expression Editing with Local Focusescited by 43
  20. 2021Blind Image Super-Resolution via Contrastive Representation Learningcited by 32
  21. 2022Modulated Contrast for Versatile Image Synthesiscited by 23
  22. 2021Bi-level Feature Alignment for Versatile Image Translation and Manipulationcited by 20
  23. 2022Marginal Contrastive Correspondence for Guided Image Generationcited by 19
  24. 2020LEED: Label-Free Expression Editing via Disentanglementcited by 16
  25. 2021Contrastive Feature Loss for Image Predictioncited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 5; 2023: 10; 2024: 2; 2025: 1; 2026: 1.

19 papers.

Sort:

By area:

  1. 2022Disentangled Representation Learningcited by 112
  2. 2023Regularized Vector Quantization for Tokenized Image Synthesiscited by 46
  3. 2023CLIP in Medical Imaging: A Surveycited by 40
  4. 2023Local 3D Editing via 3D Distillation of CLIP Knowledgecited by 20
  5. 2023KD-DLGAN: Data Limited Image Generation via Knowledge Distillationcited by 16
  6. 2022Bridging CLIP and StyleGAN through Latent Alignment for Image Editingcited by 12
  7. 2023Face Transformer: Towards High Fidelity and Accurate Face Swappingcited by 11
  8. 2023Text-guided Eyeglasses Manipulation with Spatial Constraintscited by 10
  9. 2022Auto-regressive Image Synthesis with Integrated Quantizationcited by 9
  10. 2022Zero-shot Image Captioning by Anchor-augmented Vision-Language Space Alignmentcited by 8
  11. 2023FaceDNeRF: Semantics-Driven Face Reconstruction, Prompt Editing and Relighting with Diffusion Modelscited by 7
  12. 2024DisCoM-KD: Cross-Modal Knowledge Distillation via Disentanglement Representation and Adversarial Learningcited by 6
7 more
  1. 2025Revisiting Cross-Modal Knowledge Distillation: A Disentanglement Approach for RGBD Semantic Segmentationcited by 4
  2. 2023Hacking Generative Models with Differentiable Network Bendingcited by 3
  3. 2023CHAIN: Exploring Global-Local Spatio-Temporal Information for Improved Self-Supervised Video Hashingcited by 3
  4. 2022Latent Multi-Relation Reasoning for GAN-Prior based Image Super-Resolutioncited by 0
  5. 2023Customize StyleGAN with One Hand Sketchcited by 0
  6. 2024Efficient 3D-Aware Facial Image Editing via Attribute-Specific Prompt Learningcited by 0
  7. 2026Targeted Visual Counterfactual Explanations for Contrastive Vision-Language Modelcited by 0