Unsupervised Segmentation by Diffusing, Walking and Cutting
On the map: Diffusion models → Medical imaging and segmentation
Abstract (arXiv)
We propose an unsupervised image segmentation method using features from pre-trained text-to-image diffusion models. Inspired by classic spectral clustering approaches, we construct adjacency matrices from self-attention layers between image patches and recursively partition using Normalised Cuts. A key insight is that self-attention probability distributions, which capture semantic relations between patches, can be interpreted as a transition matrix for random walks across the image. We leverage this by first using Random Walk Normalized Cuts directly on these self-attention activations to partition the image, minimizing transition probabilities between clusters while maximizing coherence within clusters. Applied recursively, this yields a hierarchical segmentation that reflects the rich semantics in the pre-trained attention layers, without any additional training. Next, we explore other ways to build the NCuts adjacency matrix from features, and how we can use the random walk interpretation of self-attention to capture long-range relationships. Finally, we propose an approach to automatically determine the NCut cost criterion, avoiding the need to tune this manually. We quantitatively analyse the effect incorporating different features, a constant versus dynamic NCut threshold, and incorporating multi-node paths when constructing the NCuts adjacency matrix. We show that our approach surpasses all existing methods for zero-shot unsupervised segmentation, achieving state-of-the-art results on COCO-Stuff-27 and Cityscapes.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 40 of its 55 references that are in the map. First posted on arXiv 6 Dec 2024.
Builds on
40 of 55 references.
Closest ancestors · 5
Same direction, newest first
- 2024Repurposing Stable Diffusion Attention for Training-Free Unsupervised Interactive Segmentation15 Nov
- 2024EmerDiff: Emerging Pixel-level Semantic Knowledge in Diffusion Models22 Jan
- 2023Diffuse, Attend, and Segment: Unsupervised Zero-Shot Segmentation using Stable Diffusion23 Aug
- 2023DiffuMask: Synthesizing Images with Pixel-level Annotations for Semantic Segmentation Using Diffusion Models21 Mar
- 2021Label-Efficient Semantic Segmentation with Diffusion Models6 Dec
Other references · 35
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2020Denoising Diffusion Implicit Modelscited by 9,781
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
- 2023Segment Anythingcited by 8,234
- 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,444
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,356
- 2016COCO-Stuff: Thing and Stuff Classes in Contextcited by 864
- 2018Invariant Information Clustering for Unsupervised Image Classification and Segmentationcited by 455
- 2023Emergent Correspondence from Image Diffusioncited by 446
- 2022Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentationcited by 344
- 2021Deep ViT Features as Dense Visual Descriptorscited by 330
23 more
- 2023A Tale of Two Features: Stable Diffusion Complements DINO for Zero-Shot Semantic Correspondencecited by 301
- 2022Unsupervised Semantic Segmentation by Distilling Feature Correspondencescited by 241
- 2023Diffusion Hyperfeatures: Searching Through Time and Space for Semantic Correspondencecited by 214
- 2022Splicing ViT Features for Semantic Appearance Transfercited by 209
- 2023Cut and Learn for Unsupervised Object Detection and Instance Segmentationcited by 187
- 2020Editing in Style: Uncovering the Local Semantics of GANscited by 183
- 2020Single-Stage Semantic Segmentation from Image Labelscited by 167
- 2021PiCIE: Unsupervised Semantic Segmentation using Invariance and Equivariance in Clusteringcited by 163
- 2022Deep Spectral Methods: A Surprisingly Strong Baseline for Unsupervised Semantic Segmentation and Localizationcited by 150
- 2021Semantic Segmentation with Generative Models: Semi-Supervised Learning and Strong Out-of-Domain Generalizationcited by 141
- 2023Unsupervised Semantic Correspondence Using Stable Diffusioncited by 120
- 2022TokenCut: Segmenting Objects in Images and Videos with Self-supervised Transformer and Normalized Cutcited by 113
- 2021Repurposing GANs for One-shot Semantic Part Segmentationcited by 88
- 2024Progressive Knowledge Distillation Of Stable Diffusion XL Using Layer Level Losscited by 52
- 2024In Defense of Lazy Visual Grounding for Open-Vocabulary Semantic Segmentationcited by 38
- 2023Unsupervised Universal Image Segmentationcited by 35
- 2023Generative Semantic Segmentationcited by 32
- 2023Beyond Surface Statistics: Scene Representations in a Latent Diffusion Modelcited by 30
- 2024EAGLE: Eigen Aggregation Learning for Object-Centric Unsupervised Semantic Segmentationcited by 27
- 2024DiffCut: Catalyzing Zero-Shot Semantic Segmentation with Diffusion Features and Recursive Normalized Cutcited by 26
- 2023Unsupervised Semantic Segmentation Through Depth-Guided Feature Correlation and Samplingcited by 19
- 2023Deciphering 'What' and 'Where' Visual Pathways from Spectral Clustering of Layer-Distributed Neural Representationscited by 9
- 2024State-of-the-Art Fails in the Art of Damage Detectioncited by 1
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026SPARK: Stochastic Propagation via Affinity-guided Random walK for training-free unsupervised segmentationcited by 0
- 2026Excite, Attend and Segment (EASe): Domain-Agnostic Fine-Grained Mask Discovery with Feature Calibration and Self-Supervised Upsamplingcited by 0
- 2026Diffuse2Seg: Diffusion Models Can Segment Anything Without Supervisioncited by 0
- 2026Diffuse2Seg: Diffusion Models Can Segment Anything Without Supervision6 Sep 2026
- 2026Excite, Attend and Segment (EASe): Domain-Agnostic Fine-Grained Mask Discovery with Feature Calibration and Self-Supervised Upsampling31 Mar 2026
- 2026SPARK: Stochastic Propagation via Affinity-guided Random walK for training-free unsupervised segmentation31 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026Making Training-Free Diffusion Segmentors Scale with the Generative Power
- 2023Factorized Diffusion Architectures for Unsupervised Image Generation and Segmentation
- 2026Unlocking Diffusion Hierarchies: Adaptive Timestep Selection for Zero-Shot Segmentation
- 2024Principal Component Clustering for Semantic Segmentation in Synthetic Data Generation
- 2023DiffusionSeg: Adapting Diffusion Towards Unsupervised Object Discovery
- 2023SmooSeg: Smoothness Prior for Unsupervised Semantic Segmentation
- 2022Self-Supervised Transformers for Unsupervised Object Discovery using Normalized Cut
- 2024Unleashing the Potential of the Diffusion Model in Few-shot Semantic Segmentation