Repurposing Stable Diffusion Attention for Training-Free Unsupervised Interactive Segmentation
On the map: Diffusion models → Medical imaging and segmentation
Abstract (arXiv)
Recent progress in interactive point prompt based Image Segmentation allows to significantly reduce the manual effort to obtain high quality semantic labels. State-of-the-art unsupervised methods use self-supervised pre-trained models to obtain pseudo-labels which are used in training a prompt-based segmentation model. In this paper, we propose a novel unsupervised and training-free approach based solely on the self-attention of Stable Diffusion. We interpret the self-attention tensor as a Markov transition operator, which enables us to iteratively construct a Markov chain. Pixel-wise counting of the required number of iterations along the Markov chain to reach a relative probability threshold yields a Markov-iteration-map, which we simply call a Markov-map. Compared to the raw attention maps, we show that our proposed Markov-map has less noise, sharper semantic boundaries and more uniform values within semantically similar regions. We integrate the Markov-map in a simple yet effective truncated nearest neighbor framework to obtain interactive point prompt based segmentation. Despite being training-free, we experimentally show that our approach yields excellent results in terms of Number of Clicks (NoC), even outperforming state-of-the-art training based unsupervised methods in most of the datasets. Code is available at https://github.com/mkarmann/m2n2.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 34 of its 55 references that are in the map. First posted on arXiv 15 Nov 2024.
Builds on
34 of 55 references.
Closest ancestors · 1
Same direction, newest first
Other references · 33
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2023Segment Anythingcited by 8,234
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,859
- 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,217
- 2021The RSNA-ASNR-MICCAI BraTS 2021 Benchmark on Brain Tumor Segmentation and Radiogenomic Classificationcited by 518
- 2020Dense Contrastive Learning for Self-Supervised Visual Pre-Trainingcited by 512
- 2023Segment Anything in High Qualitycited by 376
21 more
- 2022DiffusionDet: Diffusion Model for Object Detectioncited by 354
- 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 306
- 2022Unsupervised Semantic Segmentation by Distilling Feature Correspondencescited by 241
- 2021Localizing Objects with Self-Supervised Transformers and no Labelscited by 230
- 2022Self-Supervised Transformers for Unsupervised Object Discovery using Normalized Cutcited by 167
- 2021Reviving Iterative Training with Mask Guidance for Interactive Segmentationcited by 163
- 2016Deep Interactive Object Selectioncited by 160
- 2022Deep Spectral Methods: A Surprisingly Strong Baseline for Unsupervised Semantic Segmentation and Localizationcited by 150
- 2020f-BRS: Rethinking Backpropagating Refinement for Interactive Segmentationcited by 117
- 2022TokenCut: Segmenting Objects in Images and Videos with Self-supervised Transformer and Normalized Cutcited by 113
- 2022SimpleClick: Interactive Image Segmentation with Simple Vision Transformerscited by 111
- 2022FreeSOLO: Learning to Segment Objects without Annotationscited by 102
- 2022FocalClick: Towards Practical Interactive Image Segmentationcited by 102
- 2023FreeMask: Synthetic Images with Dense Annotations Make Stronger Segmentation Modelscited by 61
- 2024Segment Anything without Supervisioncited by 28
- 2024Rethinking Interactive Image Segmentation with Low Latency, High Quality, and Diverse Promptscited by 22
- 2023InterFormer: Real-time Interactive Image Segmentationcited by 20
- 2023CFR-ICL: Cascade-Forward Refinement with Iterative Click Loss for Interactive Image Segmentationcited by 17
- 2023Interactive Segmentation as Gaussian Process Classificationcited by 14
- 2023Multi-granularity Interaction Simulation for Unsupervised Interactive Segmentationcited by 9
- 2023PaintSeg: Training-free Segmentation via Paintingcited by 7
Built on by
Citing papers per year: 2024: 1; 2025: 5; 2026: 3.
9 papers.
- 2025SDMatte: Grafting Diffusion Models for Interactive Mattingcited by 4
- 2024Unsupervised Segmentation by Diffusing, Walking and Cuttingcited by 3
- 2025SDPose: Exploiting Diffusion Priors for Out-of-Domain and Robust Pose Estimationcited by 3
- 2025gen2seg: Generative Models Enable Generalizable Instance Segmentationcited by 2
- 2025FAME: Fairness-aware Attention-modulated Video Editingcited by 2
- 2025M2N2V2: Multi-Modal Unsupervised and Training-free Interactive Segmentationcited by 1
- 2026ClickRemoval: An Interactive Open-Source Tool for Object Removal in Diffusion Modelscited by 1
- 2026Direct Segmentation without Logits Optimization for Training-Free Open-Vocabulary Semantic Segmentationcited by 0
- 2026Diffuse2Seg: Diffusion Models Can Segment Anything Without Supervisioncited by 0
- 2026Diffuse2Seg: Diffusion Models Can Segment Anything Without Supervision6 Sep 2026
- 2026ClickRemoval: An Interactive Open-Source Tool for Object Removal in Diffusion Models14 May 2026
- 2026Direct Segmentation without Logits Optimization for Training-Free Open-Vocabulary Semantic Segmentation9 Apr 2026
- 2025FAME: Fairness-aware Attention-modulated Video Editing27 Oct 2025
- 2025SDPose: Exploiting Diffusion Priors for Out-of-Domain and Robust Pose Estimation29 Sep 2025
- 2025SDMatte: Grafting Diffusion Models for Interactive Matting1 Aug 2025
- 2025gen2seg: Generative Models Enable Generalizable Instance Segmentation21 May 2025
- 2025M2N2V2: Multi-Modal Unsupervised and Training-free Interactive Segmentation20 Mar 2025
- 2024Unsupervised Segmentation by Diffusing, Walking and Cutting6 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2026Making Training-Free Diffusion Segmentors Scale with the Generative Power
- 2026Prompting Diffusion Models for Zero-Shot Instance Segmentation
- 2023Prompting Diffusion Representations for Cross-Domain Semantic Segmentation
- 2023Dataset Diffusion: Diffusion-based Synthetic Dataset Generation for Pixel-Level Semantic Segmentation
- 2025SeeDiff: Off-the-Shelf Seeded Mask Generation from Diffusion Models
- 2024Explore In-Context Segmentation via Latent Diffusion Models
- 2026Unlocking Diffusion Hierarchies: Adaptive Timestep Selection for Zero-Shot Segmentation
- 2024iSeg: An Iterative Refinement-based Framework for Training-free Segmentation