mlsanityData to 14 Oct 2026

Diffusion Classifiers Understand Compositionality, but Conditions Apply

arXiv 2505.17955 ↗First posted 23 May 2025cs.CVcited by 7

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

Abstract (arXiv)

Understanding visual scenes is fundamental to human intelligence. While discriminative models have significantly advanced computer vision, they often struggle with compositional understanding. In contrast, recent generative text-to-image diffusion models excel at synthesizing complex scenes, suggesting inherent compositional capabilities. Building on this, zero-shot diffusion classifiers have been proposed to repurpose diffusion models for discriminative tasks. While prior work offered promising results in discriminative compositional scenarios, these results remain preliminary due to a small number of benchmarks and a relatively shallow analysis of conditions under which the models succeed. To address this, we present a comprehensive study of the discriminative capabilities of diffusion classifiers on a wide range of compositional tasks. Specifically, our study covers three diffusion models (SD 1.5, 2.0, and, for the first time, 3-m) spanning 10 datasets and over 30 tasks. Further, we shed light on the role that target dataset domains play in respective performance; to isolate the domain effects, we introduce a new diagnostic benchmark textscSelf-Bench comprised of images created by diffusion models themselves. Finally, we explore the importance of timestep weighting and uncover a relationship between domain gap and timestep sensitivity, particularly for SD3-m. To sum up, diffusion classifiers understand compositionality, but conditions apply! Code and dataset are available at https://github.com/eugene6923/Diffusion-Classifiers-Compositionality.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 54 of its 66 references that are in the map. First posted on arXiv 23 May 2025.

Builds on

54 of 66 references.

Closest ancestors · 10

Same direction, newest first

  1. 2024A Simple and Efficient Baseline for Zero-Shot Generative Classification17 Dec
  2. 2024OmniGen: Unified Image Generation17 Sep
  3. 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignment17 Oct
  4. 2023Are Diffusion Models Vision-And-Language Reasoners?25 May
  5. 2023Discffusion: Discriminative Diffusion Models as Few-shot Vision and Language Learners18 May
  6. 2023Your Diffusion Model is Secretly a Zero-Shot Classifier28 Mar
  7. 2023Text-to-Image Diffusion Models are Zero-Shot Classifiers27 Mar
  8. 2023Unleashing Text-to-Image Diffusion Models for Visual Perception3 Mar
  9. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
  10. 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr

Other references · 44

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  5. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  6. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  7. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,058
  8. 2022Classifier-Free Diffusion Guidancecited by 5,847
  9. 2022Flow Matching for Generative Modelingcited by 5,702
  10. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  11. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  12. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
32 more
  1. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 3,045
  2. 2023Stable Video Diffusion: Scaling Latent Video Diffusion Models to Large Datasetscited by 2,581
  3. 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,457
  4. 2022Building Normalizing Flows with Stochastic Interpolantscited by 995
  5. 2023Adversarial Diffusion Distillationcited by 759
  6. 2024Eyes Wide Shut? Exploring the Visual Shortcomings of Multimodal LLMscited by 735
  7. 2024Representation Alignment for Generation: Training Diffusion Transformers Is Easier Than You Thinkcited by 703
  8. 2024Open-Sora: Democratizing Efficient Video Production for Allcited by 652
  9. 2022When and why vision-language models behave like bags-of-words, and what to do about it?cited by 610
  10. 2023AudioLDM: Text-to-Audio Generation with Latent Diffusion Modelscited by 599
  11. 2022Winoground: Probing Vision and Language Models for Visio-Linguistic Compositionalitycited by 529
  12. 2023What's "up" with vision-language models? Investigating their struggle with spatial reasoningcited by 254
  13. 2023SugarCrepe: Fixing Hackable Benchmarks for Vision-Language Compositionalitycited by 243
  14. 2023Teaching CLIP to Count to Tencited by 198
  15. 2024Fast Timing-Conditioned Latent Audio Diffusioncited by 181
  16. 2023The Surprising Effectiveness of Diffusion Models for Optical Flow and Monocular Depth Estimationcited by 116
  17. 2023The Generative AI Paradox: "What It Can Create, It May Not Understand"cited by 98
  18. 2023Diffusion Models Generate Images Like Painters: an Analytical Theory of Outline First, Details Latercited by 55
  19. 2023COLA: A Benchmark for Compositional Text-to-image Retrievalcited by 53
  20. 2023Equivariant Similarity for Vision-Language Foundation Modelscited by 52
  21. 2023Intriguing properties of generative classifierscited by 52
  22. 2024Read, Watch and Scream! Sound Generation from Text and Videocited by 48
  23. 2023Synthesize, Diagnose, and Optimize: Towards Fine-Grained Vision-Language Understandingcited by 46
  24. 2024SUGARCREPE++ Dataset: Vision-Language Model Sensitivity to Semantic and Lexical Alterationscited by 42
  25. 2023The Power of Sound (TPoS): Audio Reactive Video Generation with Stable Diffusioncited by 41
  26. 2024Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Spacecited by 35
  27. 20241.58-bit FLUXcited by 31
  28. 2025CLIP Behaves like a Bag-of-Words Model Cross-modally but not Uni-modallycited by 31
  29. 2024A Closer Look at Time Steps is Worthy of Triple Speed-Up for Diffusion Model Trainingcited by 30
  30. 2024VisMin: Visual Minimal-Change Understandingcited by 23
  31. 2025Intermediate Layer Classifiers for OOD generalizationcited by 14
  32. 2024Few-shot Learner Parameterization by Diffusion Time-stepscited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 4.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Evaluating Compositional Generalisation in VLMs and Diffusion Models
  2. 2026DIFFCZSL: Compositional Zero-Shot Learning Regularized by Diffusion Representations
  3. 2024Not All Diffusion Model Activations Have Been Evaluated as Discriminative Features
  4. 2023Do text-free diffusion models learn discriminative visual representations?
  5. 2023A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondence
  6. 2025Compositional Discrete Latent Code for High Fidelity, Productive Diffusion Models
  7. 2025Emergence and Evolution of Interpretable Concepts in Diffusion Models
  8. 2024Diffusion Models in Low-Level Vision: A Survey