atlas

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

Repurposing Stable Diffusion Attention for Training-Free Unsupervised Interactive Segmentation

CVPR 2025 · Detection and segmentation › Open-set and few-shot detection · approach: Interactive and referring segmentation · 4 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 M2N2, a training-free unsupervised interactive point-prompt segmentation method that interprets Stable Diffusion 2 self-attention as a Markov transition operator to build Markov-maps combined with a truncated nearest-neighbor rule.

Problem

Interactive point-prompt image segmentation without any segmentation labels or training, reducing the number of clicks (NoC) needed for high-quality masks; prior unsupervised methods rely on self-supervised backbones and pseudo-label training.

Approach

Treat the aggregated self-attention tensor of Stable Diffusion 2 as a doubly stochastic Markov transition matrix; for each prompt point, count per-pixel iterations needed to reach a relative probability threshold (Markov-map), refine with a modified flood fill for instance awareness, and segment via a truncated 1-NN with adaptively chosen thresholds.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use M2N2 with SD2 instead of MISUnsupervised interactive segmentation · GrabCutNoC85: 1.94 -> 1.62Helped
Use M2N2 with SD2 instead of MISUnsupervised interactive segmentation · BerkeleyNoC85: 3.09 -> 2.45Helped
Use M2N2 with SD2 instead of MISUnsupervised interactive segmentation · SBDNoC85: 6.91 -> 7.72Mixed
Use M2N2 with SD2 instead of MISUnsupervised interactive segmentation · DAVISNoC85: 6.33 -> 4.60Helped
Add flood fill (ablation)M2N2 with SD2 · DAVISNoC85: 5.50 -> 4.60Helped
Aggregate up0 and up1 attention blocks (ablation)M2N2 with SD2 · DAVISNoC85: 4.86 -> 4.60Helped
Use down0 attention block only (ablation)M2N2 with SD2 · DAVISNoC85: 4.60 -> 11.34Hurt
Use down1 attention block only (ablation)M2N2 with SD2 · DAVISNoC85: 4.60 -> 9.38Hurt
Remove the prior score function (ablation)M2N2 with SD2 · DAVISNoC85: 4.60 -> 4.67No clear effect
Remove the edge score function (ablation)M2N2 with SD2 · DAVISNoC90: 6.72 -> 9.99Hurt
Remove the positive-point score function (ablation)M2N2 with SD2 · DAVISNoC85: 4.60 -> 4.92Hurt
Remove the negative-point score function (ablation)M2N2 with SD2 · DAVISNoC85: 4.60 -> 5.46Hurt

Surprising findings

Limitations

Experimental setup

Benchmarks: GrabCut Berkeley SBD DAVIS

Metrics: NoC85 NoC90

Baselines: MIS TokenCut FreeMask DSM SimpleClick CPlot GraphCut Random Walk Geodesic Matting GSC ESC Attention-NN

Builds on: DiffSeg MIS KL-divergence attention matching Just-in-time bilateral upsampling (JBU) SimpleClick

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