mlsanityData to 7 Oct 2026

Contrastive Prompts Improve Disentanglement in Text-to-Image Diffusion Models

arXiv 2402.13490 ↗First posted 21 Feb 2024cs.CVcited by 4

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

Text-to-image diffusion models have achieved remarkable performance in image synthesis, while the text interface does not always provide fine-grained control over certain image factors. For instance, changing a single token in the text can have unintended effects on the image. This paper shows a simple modification of classifier-free guidance can help disentangle image factors in text-to-image models. The key idea of our method, Contrastive Guidance, is to characterize an intended factor with two prompts that differ in minimal tokens: the positive prompt describes the image to be synthesized, and the baseline prompt serves as a "baseline" that disentangles other factors. Contrastive Guidance is a general method we illustrate whose benefits in three scenarios: (1) to guide domain-specific diffusion models trained on an object class, (2) to gain continuous, rig-like controls for text-to-image generation, and (3) to improve the performance of zero-shot image editors.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 52 of its 58 references that are in the map. First posted on arXiv 21 Feb 2024.

Builds on

52 of 58 references.

Closest ancestors · 9

Same direction, newest first

  1. 2022Imagic: Text-Based Real Image Editing with Diffusion Models17 Oct
  2. 2022Generative Visual Prompt: Unifying Distributional Control of Pre-Trained Generative Models14 Sep
  3. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
  4. 2022Compositional Visual Generation with Composable Diffusion Models3 Jun
  5. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  6. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
  7. 2022Dual Diffusion Implicit Bridges for Image-to-Image Translation16 Mar
  8. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
  9. 2021More Control for Free! Image Synthesis with Semantic Diffusion Guidance10 Dec

Other references · 43

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2020Denoising Diffusion Implicit Modelscited by 9,655
  5. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  6. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  7. 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
  8. 2022Classifier-Free Diffusion Guidancecited by 5,717
  9. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  10. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
  11. 2018Neural Ordinary Differential Equationscited by 3,733
  12. 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
31 more
  1. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  2. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 2,994
  3. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  4. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
  5. 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,961
  6. 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,903
  7. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
  8. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
  9. 2018Demystifying MMD GANscited by 1,268
  10. 2021Alias-Free Generative Adversarial Networkscited by 1,181
  11. 2019StarGAN v2: Diverse Image Synthesis for Multiple Domainscited by 1,095
  12. 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 990
  13. 2022Denoising Diffusion Restoration Modelscited by 951
  14. 2022Pseudo Numerical Methods for Diffusion Models on Manifoldscited by 695
  15. 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
  16. 2021ILVR: Conditioning Method for Denoising Diffusion Probabilistic Modelscited by 634
  17. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
  18. 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 584
  19. 2022Fast Sampling of Diffusion Models with Exponential Integratorcited by 526
  20. 2022Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionalitycited by 523
  21. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
  22. 2022Analog Bits: Generating Discrete Data using Diffusion Models with Self-Conditioningcited by 362
  23. 2020PULSE: Self-Supervised Photo Upsampling via Latent Space Exploration of Generative Modelscited by 358
  24. 2022CogView2: Faster and Better Text-to-Image Generation via Hierarchical Transformerscited by 305
  25. 2022Learning Fast Samplers for Diffusion Models by Differentiating Through Sample Qualitycited by 181
  26. 2022Improving Sample Quality of Diffusion Models Using Self-Attention Guidancecited by 151
  27. 2020Interacting particle solutions of Fokker-Planck equations through gradient-log-density estimationcited by 87
  28. 2022A very preliminary analysis of DALL-E 2cited by 82
  29. 2022Unifying Diffusion Models' Latent Space, with Applications to CycleDiffusion and Guidancecited by 67
  30. 2021Controllable and Compositional Generation with Latent-Space Energy-Based Modelscited by 64
  31. 2022FairStyle: Debiasing StyleGAN2 with Style Channel Manipulationscited by 20

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 1; 2026: 1.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023CONFORM: Contrast is All You Need For High-Fidelity Text-to-Image Diffusion Models
  2. 2022DiffEdit: Diffusion-based semantic image editing with mask guidance
  3. 2025Contrastive Learning Guided Latent Diffusion Model for Image-to-Image Translation
  4. 2023Semantic Guidance Tuning for Text-To-Image Diffusion Models
  5. 2024An Item is Worth a Prompt: Versatile Image Editing with Disentangled Control
  6. 2023Prompt-Free Diffusion: Taking "Text" out of Text-to-Image Diffusion Models
  7. 2025Diffusion Models with Adaptive Negative Sampling Without External Resources
  8. 2023Perceptual Similarity guidance and text guidance optimization for Editing Real Images using Guided Diffusion Models