Diffuse2Seg: Diffusion Models Can Segment Anything Without Supervision
Organizations: Institute of Mathematics, Technical University of Berlin · CARIAD SE, Volkswagen Group
Abstract
Open-world entity segmentation aims to predict masks for arbitrary objects across domains and at multiple granularities, from parts to whole objects. In this setting, SAM sets a strong standard: trained on SA-1B, comprising 11M images and over 1B carefully annotated masks, it achieves remarkable zero-shot performance. Collecting such labels is expensive and time-consuming, however, which limits how far this recipe can scale. Text-to-image diffusion models offer a way around this. Their intermediate features transfer well across perception tasks, and since object structure emerges as the model denoises a noise sample into an image conditioned on a text prompt, that structure is already encoded in these representations. They can therefore be exploited for open-world entity segmentation without retraining or supervision. Building on this observation, we introduce Diffuse2Seg, which repurposes generative diffusion models for automatic mask generation by propagating a grid of point prompts through their self-attention representations in an edge-preserving manner. Diffuse2Seg produces multi-granular instance masks and outperforms prior state-of-the-art label generators by 4.3-7.1 p.p. in AR_1000 across five domains. Training an instance segmentation model on these generated masks advances detector-free open-world segmentation by 7.4 and 7.7 p.p. on "things" and "stuff+things" datasets and surpasses the detector-based UnSAM on "stuff+things" by 2.1 p.p. in AR_1000. Finally, we show that a model trained on Diffuse2Seg labels provides a strong initialization for semi-supervised learning, outperforming its fully supervised counterpart with already 5k labeled images.
Figures & tables
| Method | Backbone | AR S | AR M | AR L | AR 1000 |
| DINO-based labeling | |||||
| UnSAM ( Wang et al., 2024 ) | DINO ViT-B/8 | 5.7 | 13.9 | 26.0 | 16.4 |
| SOHES ( Cao et al., 2024 ) | DINO ViT-B/8 | 2.8 | 10.6 | 15.7 | 11.0 |
| Diffusion-based labeling | |||||
| DiffSeg ( Tian et al., 2024 ) | SD2 | 0.3 | 12.4 | 29.9 | 16.0 |
| M2N2 ( Karmann and Urfalioglu, 2025 ) | SD2 | 0.0 | 2.8 | 26.5 | 9.7 |
| Method | Backbone | AR 1000 Across Domains | ||||
| SA-1B | ADE20K | EntitySeg | UVO | PACO | ||
| Training-based labeling | ||||||
| CutLER ( Wang et al., 2023 ) | DINO R50 | 17.0 | 24.8 | 22.1 | 32.3 | 10.7 |
| DINO-based labeling | ||||||
| UnSAM ( Wang et al., 2024 ) | DINO ViT-B/8 | 16.4 | 16.0 | 19.3 | 22.8 | 9.3 |
| SOHES ( Cao et al., 2024 ) | DINO ViT-B/8 | 11.0 | 11.6 | 11.6 | 19.3 | 5.2 |
| Method | Detector Supervision | # Images | Things | Stuff + Things | Parts | |||||
| COCO | LVIS | Avg. | ADE | Entity | SA-1B | Avg. | PACO | |||
| Supervised | ||||||||||
| SAM | ✗ | 11M | 49.6 | 46.1 | 47.9 | 45.8 | 45.9 | 60.8 | 50.8 | 18.1 |
| Unsupervised - label generation without a pre-trained detector | ||||||||||
| CutLER | ✗ | 1.3M | 28.1 | 20.2 | 24.2 | 26.3 | 23.1 | 17.0 | 22.1 | 8.9 |
| SOHES | ✗ | 0.2M | 30.5 | 29.1 | 29.8 | 31.1 | 33.5 | 33.3 | 32.6 | 17.1 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.