atlas

Research map / Detection and segmentation / Open-set and few-shot detection

Diffuse Attend and Segment: Unsupervised Zero-Shot Segmentation using Stable Diffusion

CVPR 2024 · Detection and segmentation › Open-set and few-shot detection · approach: Zero-shot segmentation and detection · 79 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DiffSeg, a training-free, unsupervised, zero-shot segmentation method that iteratively merges self-attention maps from a pre-trained Stable Diffusion v1.4 U-Net using KL divergence and then applies non-maximum suppression.

Problem

Segmenting arbitrary images into masks without any annotations, unsupervised adaptation, language input, or auxiliary image pools (zero-shot unsupervised segmentation).

Approach

Self-attention tensors in a pre-trained diffusion U-Net encode object grouping (intra- and inter-attention similarity); DiffSeg aggregates attention across resolutions, iteratively merges anchor-point attention maps by symmetric KL divergence, and takes an argmax over proposals to produce masks, with no training and no clustering count to specify.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DiffSeg (512) instead of ReCozero-shot segmentation · COCO-Stuff-27pixel accuracy: 46.1 -> 72.5Helped
Use DiffSeg (512) instead of ReCozero-shot segmentation · COCO-Stuff-27mIoU: 26.3 -> 43.6Helped
Use DiffSeg (512) instead of K-Means-SCOCO-Stuff-27 · COCO-Stuff-27pixel accuracy: 62.6 -> 72.5Helped
Use DiffSeg (512) instead of K-Means-SCOCO-Stuff-27 · COCO-Stuff-27mIoU: 34.7 -> 43.6Helped
Use DiffSeg (512) instead of ReCozero-shot segmentation · Cityscapespixel accuracy: 74.6 -> 76.0Helped
Use DiffSeg (512) instead of STEGOCityscapes · CityscapesmIoU: 21.0 -> 21.2No clear effect
Aggregate attention maps proportionally across resolutions rather than using only 64×64 maps (ablation)DiffSeg · segmentation examplessegmentation qualityHelped
Use only 64×64 attention maps instead of proportional aggregation (ablation)DiffSeg · segmentation examplessegmentation consistencyHurt
Use only 32×32 attention maps instead of proportional aggregation (ablation)DiffSeg · segmentation examplessegmentation detailHurt
Use only 16×16 or 8×8 attention maps instead of proportional aggregation (ablation)DiffSeg · segmentation examplessegmentation qualityHurt

Surprising findings

Limitations

Experimental setup

Datasets: COCO-Stuff-27 Cityscapes DomainNet SUN-RGBD

Benchmarks: COCO-Stuff-27 Cityscapes

Metrics: pixel accuracy mean IoU

Baselines: K-Means-C K-Means-S DBSCAN STEGO PiCLE ReCo MaskCLIP IIC

Builds on: Stable Diffusion DiffuMask STEGO ReCo

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy