Contrastive Prompts Improve Disentanglement in Text-to-Image Diffusion Models
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
- 2022Imagic: Text-Based Real Image Editing with Diffusion Models17 Oct
- 2022Generative Visual Prompt: Unifying Distributional Control of Pre-Trained Generative Models14 Sep
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
- 2022Compositional Visual Generation with Composable Diffusion Models3 Jun
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
- 2022Dual Diffusion Implicit Bridges for Image-to-Image Translation16 Mar
- 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models20 Dec
- 2021More Control for Free! Image Synthesis with Semantic Diffusion Guidance10 Dec
Other references · 43
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2018A Style-Based Generator Architecture for Generative Adversarial Networkscited by 5,986
- 2022Classifier-Free Diffusion Guidancecited by 5,717
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
- 2018Neural Ordinary Differential Equationscited by 3,733
- 2019Analyzing and Improving the Image Quality of StyleGANcited by 3,580
31 more
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
- 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 2,994
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
- 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
- 2022DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Stepscited by 1,961
- 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,903
- 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Modelscited by 1,419
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
- 2018Demystifying MMD GANscited by 1,268
- 2021Alias-Free Generative Adversarial Networkscited by 1,181
- 2019StarGAN v2: Diverse Image Synthesis for Multiple Domainscited by 1,095
- 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 990
- 2022Denoising Diffusion Restoration Modelscited by 951
- 2022Pseudo Numerical Methods for Diffusion Models on Manifoldscited by 695
- 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
- 2021ILVR: Conditioning Method for Denoising Diffusion Probabilistic Modelscited by 634
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2018FFJORD: Free-form Continuous Dynamics for Scalable Reversible Generative Modelscited by 584
- 2022Fast Sampling of Diffusion Models with Exponential Integratorcited by 526
- 2022Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionalitycited by 523
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
- 2022Analog Bits: Generating Discrete Data using Diffusion Models with Self-Conditioningcited by 362
- 2020PULSE: Self-Supervised Photo Upsampling via Latent Space Exploration of Generative Modelscited by 358
- 2022CogView2: Faster and Better Text-to-Image Generation via Hierarchical Transformerscited by 305
- 2022Learning Fast Samplers for Diffusion Models by Differentiating Through Sample Qualitycited by 181
- 2022Improving Sample Quality of Diffusion Models Using Self-Attention Guidancecited by 151
- 2020Interacting particle solutions of Fokker-Planck equations through gradient-log-density estimationcited by 87
- 2022A very preliminary analysis of DALL-E 2cited by 82
- 2022Unifying Diffusion Models' Latent Space, with Applications to CycleDiffusion and Guidancecited by 67
- 2021Controllable and Compositional Generation with Latent-Space Energy-Based Modelscited by 64
- 2022FairStyle: Debiasing StyleGAN2 with Style Channel Manipulationscited by 20
Built on by
Citing papers per year: 2024: 2; 2025: 1; 2026: 1.
4 papers.
- 2024Generative Photography: Scene-Consistent Camera Control for Realistic Text-to-Image Synthesiscited by 26
- 2024Fairness and Bias Mitigation in Computer Vision: A Surveycited by 12
- 2025InfSplign: Inference-Time Spatial Alignment of Text-to-Image Diffusion Modelscited by 1
- 2026Let Triggers Control: Frequency-Aware Dropout for Effective Token Controlcited by 0
- 2026Let Triggers Control: Frequency-Aware Dropout for Effective Token Control28 Mar 2026
- 2025InfSplign: Inference-Time Spatial Alignment of Text-to-Image Diffusion Models19 Dec 2025
- 2024Generative Photography: Scene-Consistent Camera Control for Realistic Text-to-Image Synthesis3 Dec 2024
- 2024Fairness and Bias Mitigation in Computer Vision: A Survey5 Aug 2024
Similar, not cited
Close in wording, no citation either way
- 2023CONFORM: Contrast is All You Need For High-Fidelity Text-to-Image Diffusion Models
- 2022DiffEdit: Diffusion-based semantic image editing with mask guidance
- 2025Contrastive Learning Guided Latent Diffusion Model for Image-to-Image Translation
- 2023Semantic Guidance Tuning for Text-To-Image Diffusion Models
- 2024An Item is Worth a Prompt: Versatile Image Editing with Disentangled Control
- 2023Prompt-Free Diffusion: Taking "Text" out of Text-to-Image Diffusion Models
- 2025Diffusion Models with Adaptive Negative Sampling Without External Resources
- 2023Perceptual Similarity guidance and text guidance optimization for Editing Real Images using Guided Diffusion Models