mlsanityData to 7 Oct 2026

Discriminative Class Tokens for Text-to-Image Diffusion Models

arXiv 2303.17155 ↗First posted 30 Mar 2023cs.CV cs.AIcited by 9

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

Abstract (arXiv)

Recent advances in text-to-image diffusion models have enabled the generation of diverse and high-quality images. While impressive, the images often fall short of depicting subtle details and are susceptible to errors due to ambiguity in the input text. One way of alleviating these issues is to train diffusion models on class-labeled datasets. This approach has two disadvantages: (i) supervised datasets are generally small compared to large-scale scraped text-image datasets on which text-to-image models are trained, affecting the quality and diversity of the generated images, or (ii) the input is a hard-coded label, as opposed to free-form text, limiting the control over the generated images. In this work, we propose a non-invasive fine-tuning technique that capitalizes on the expressive potential of free-form text while achieving high accuracy through discriminative signals from a pretrained classifier. This is done by iteratively modifying the embedding of an added input token of a text-to-image diffusion model, by steering generated images toward a given target class according to a classifier. Our method is fast compared to prior fine-tuning methods and does not require a collection of in-class images or retraining of a noise-tolerant classifier. We evaluate our method extensively, showing that the generated images are: (i) more accurate and of higher quality than standard diffusion models, (ii) can be used to augment training data in a low-resource setting, and (iii) reveal information about the data used to train the guiding classifier. The code is available at urlhttps://github.com/idansc/discriminativeclasstokens.

Key facts. Cited by 9 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 39 of its 48 references that are in the map. First posted on arXiv 30 Mar 2023.

Builds on

39 of 48 references.

Closest ancestors · 6

Same direction, newest first

  1. 2022Imagic: Text-Based Real Image Editing with Diffusion Models17 Oct
  2. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
  3. 2022Blended Latent Diffusion6 Jun
  4. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  5. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
  6. 2021Blended Diffusion for Text-driven Editing of Natural Images29 Nov

Other references · 33

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  8. 2022Classifier-Free Diffusion Guidancecited by 5,717
  9. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  10. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  11. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  12. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,231
21 more
  1. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
  2. 2018Demystifying MMD GANscited by 1,268
  3. 2021StyleCLIP: Text-Driven Manipulation of StyleGAN Imagerycited by 990
  4. 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 703
  5. 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 691
  6. 2021Zero-Shot Text-Guided Object Generation with Dream Fieldscited by 513
  7. 2022Make-A-Scene: Scene-Based Text-to-Image Generation with Human Priorscited by 487
  8. 2022Text2LIVE: Text-Driven Layered Image and Video Editingcited by 312
  9. 2022CogView2: Faster and Better Text-to-Image Generation via Hierarchical Transformerscited by 305
  10. 2022VQGAN-CLIP: Open Domain Image Generation and Editing with Natural Language Guidancecited by 285
  11. 2019Controllable Text-to-Image Generationcited by 187
  12. 2019MirrorGAN: Learning Text-to-image Generation by Redescriptioncited by 176
  13. 2020DF-GAN: A Simple and Effective Baseline for Text-to-Image Synthesiscited by 161
  14. 2019Object-driven Text-to-Image Synthesis via Adversarial Trainingcited by 117
  15. 2022Diffusion Visual Counterfactual Explanationscited by 96
  16. 2019Semantic Object Accuracy for Generative Text-to-Image Synthesiscited by 89
  17. 2018Photographic Text-to-Image Synthesis with a Hierarchically-nested Adversarial Networkcited by 64
  18. 2021Image-Based CLIP-Guided Essence Transfercited by 39
  19. 2022Sparse Visual Counterfactual Explanations in Image Spacecited by 30
  20. 2021The Semi-Supervised iNaturalist Challenge at the FGVC8 Workshopcited by 16
  21. 2021Latent Space Explanation by Interventioncited by 13

Built on by

Cited by year

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

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Text-to-Image Diffusion Models are Zero-Shot Classifiers
  2. 2023Discffusion: Discriminative Diffusion Models as Few-shot Vision and Language Learners
  3. 2025Instructing Text-to-Image Diffusion Models via Classifier-Guided Semantic Optimization
  4. 2023Synthetic Data from Diffusion Models Improves ImageNet Classification
  5. 2023Your Diffusion Model is Secretly a Zero-Shot Classifier
  6. 2026i1: A Simple and Fully Open Recipe for Strong Text-to-Image Models
  7. 2024Enhance Image Classification via Inter-Class Image Mixup with Diffusion Model
  8. 2024TextCraftor: Your Text Encoder Can be Image Quality Controller