Diffusion Classifiers Understand Compositionality, but Conditions Apply
Abstract
A study of diffusion classifiers across multiple datasets and tasks reveals their compositional understanding, highlighting domain-specific performance effects and timestep weighting importance.
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 Self-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.
Community
We present the first large-scale study of diffusion classifiers for compositional vision tasks, evaluating three Stable Diffusion models across 10 benchmarks and 30+ tasks. We find: (1) diffusion models generally underperform CLIP, especially on counting tasks, but can match or slightly outperform it on spatial reasoning; (2) they classify well only in their own generative domain, shown via SELF-BENCH, our diagnostic benchmark of self-generated images; and (3) timestep reweighting offers a simple way to recover lost performance, helping bridge the domain gap.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- VSC: Visual Search Compositional Text-to-Image Diffusion Model (2025)
- Decoupled Global-Local Alignment for Improving Compositional Understanding (2025)
- Generative Multimodal Pretraining with Discrete Diffusion Timestep Tokens (2025)
- DDAE++: Enhancing Diffusion Models Towards Unified Generative and Discriminative Learning (2025)
- Beyond Words: Augmenting Discriminative Richness via Diffusions in Unsupervised Prompt Learning (2025)
- Does Feasibility Matter? Understanding the Impact of Feasibility on Synthetic Training Data (2025)
- DIVE: Inverting Conditional Diffusion Models for Discriminative Tasks (2025)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper