From Text to Mask: Localizing Entities Using the Attention of Text-to-Image Diffusion Models
On the map: Diffusion models → Medical imaging and segmentation
Abstract (arXiv)
Diffusion models have revolted the field of text-to-image generation recently. The unique way of fusing text and image information contributes to their remarkable capability of generating highly text-related images. From another perspective, these generative models imply clues about the precise correlation between words and pixels. In this work, a simple but effective method is proposed to utilize the attention mechanism in the denoising network of text-to-image diffusion models. Without re-training nor inference-time optimization, the semantic grounding of phrases can be attained directly. We evaluate our method on Pascal VOC 2012 and Microsoft COCO 2014 under weakly-supervised semantic segmentation setting and our method achieves superior performance to prior methods. In addition, the acquired word-pixel correlation is found to be generalizable for the learned text embedding of customized generation methods, requiring only a few modifications. To validate our discovery, we introduce a new practical task called "personalized referring image segmentation" with a new dataset. Experiments in various situations demonstrate the advantages of our method compared to strong baselines on this task. In summary, our work reveals a novel way to extract the rich multi-modal knowledge hidden in diffusion models for segmentation.
Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Placed in Medical imaging and segmentation, one of 14 directions in Diffusion models. Builds on 70 of its 88 references that are in the map. First posted on arXiv 8 Sep 2023.
Builds on
70 of 88 references.
Closest ancestors · 6
Same direction, newest first
- 2023DiffuMask: Synthesizing Images with Pixel-level Annotations for Semantic Segmentation Using Diffusion Models21 Mar
- 2023Open-Vocabulary Panoptic Segmentation with Text-to-Image Diffusion Models8 Mar
- 2023Open-vocabulary Object Segmentation with Diffusion Models12 Jan
- 2022Peekaboo: Text to Image Diffusion Models are Zero-Shot Segmentors23 Nov
- 2021Diffusion Models for Implicit Image Segmentation Ensembles6 Dec
- 2021Label-Efficient Semantic Segmentation with Diffusion Models6 Dec
Other references · 64
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 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
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
- 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,859
38 more
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,300
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,241
- 2015Learning Deep Features for Discriminative Localizationcited by 2,436
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
- 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,333
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
- 2022Multi-Concept Customization of Text-to-Image Diffusioncited by 1,106
- 2021Open-vocabulary Object Detection via Vision and Language Knowledge Distillationcited by 906
- 2022Language-driven Semantic Segmentationcited by 717
- 2023Segment Everything Everywhere All at Oncecited by 548
- 2021DenseCLIP: Language-Guided Dense Prediction with Context-Aware Promptingcited by 532
- 2022GroupViT: Semantic Segmentation Emerges from Text Supervisioncited by 531
- 2021Scaling Open-Vocabulary Image Segmentation with Image-Level Labelscited by 473
- 2020Open-Vocabulary Object Detection Using Captionscited by 427
- 2021Deep ViT Features as Dense Visual Descriptorscited by 330
- 2018Learning Pixel-level Semantic Affinity with Image-level Supervision for Weakly Supervised Semantic Segmentationcited by 321
- 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 306
- 2020Self-supervised Equivariant Attention Mechanism for Weakly Supervised Semantic Segmentationcited by 300
- 2018Aleatoric uncertainty estimation with test-time augmentation for medical image segmentation with convolutional neural networkscited by 280
- 2023Unleashing Text-to-Image Diffusion Models for Visual Perceptioncited by 269
- 2021Image Retrieval on Real-life Images with Pre-trained Vision-and-Language Modelscited by 251
- 2019Weakly Supervised Learning of Instance Segmentation with Inter-pixel Relationscited by 247
- 2019Zero-Shot Semantic Segmentationcited by 245
- 2023P+: Extended Textual Conditioning in Text-to-Image Generationcited by 242
- 2018Composing Text and Image for Image Retrieval - An Empirical Odysseycited by 236
- 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attentioncited by 236
- 2018YouTube-VOS: Sequence-to-Sequence Video Object Segmentationcited by 232
- 2023Pic2Word: Mapping Pictures to Words for Zero-shot Composed Image Retrievalcited by 156
- 2020Weakly-Supervised Semantic Segmentation via Sub-category Explorationcited by 145
- 2023Localizing Object-level Shape Variations with Text-to-Image Diffusion Modelscited by 142
- 2022Multi-class Token Transformer for Weakly Supervised Semantic Segmentationcited by 138
- 2021Anti-Adversarially Manipulated Attributions for Weakly and Semi-Supervised Semantic Segmentationcited by 134
50 most cited of 64 All 64 (JSON)
Built on by
Citing papers per year: 2023: 2; 2024: 8; 2025: 5; 2026: 1.
16 papers.
Sort:
By area:
- 2024FouriScale: A Frequency Perspective on Training-Free High-Resolution Image Synthesiscited by 59
- 2023TokenCompose: Text-to-Image Diffusion with Token-level Supervisioncited by 40
- 2024RealCustom: Narrowing Real Text Word for Real-Time Open-Domain Text-to-Image Customizationcited by 39
- 2024Open-Vocabulary Attention Maps with Token Optimization for Semantic Segmentation in Diffusion Modelscited by 29
- 2024Not All Diffusion Model Activations Have Been Evaluated as Discriminative Featurescited by 25
- 2024CLIPer: Hierarchically Improving Spatial Representation of CLIP for Open-Vocabulary Semantic Segmentationcited by 17
- 2024ConceptExpress: Harnessing Diffusion Models for Single-image Unsupervised Concept Extractioncited by 16
- 2023Unsupervised Keypoints from Pretrained Diffusion Modelscited by 15
- 2024iSeg: An Iterative Refinement-based Framework for Training-free Segmentationcited by 10
- 2026Making Training-Free Diffusion Segmentors Scale with the Generative Powercited by 3
- 2024Suppress Content Shift: Better Diffusion Features via Off-the-Shelf Generation Techniquescited by 2
- 2025DIVE: Inverting Conditional Diffusion Models for Discriminative Taskscited by 2
4 more
- 2025NERVE: Neighbourhood & Entropy-guided Random-walk for training free open-Vocabulary sEgmentationcited by 2
- 2025Accelerating Diffusion Sampling via Exploiting Local Transition Coherencecited by 1
- 2025ICE: Intrinsic Concept Extraction from a Single Image via Diffusion Modelscited by 1
- 2025StableMotion: One-Step Motion Estimation with Diffusion Priorcited by 0
- 2026Making Training-Free Diffusion Segmentors Scale with the Generative Power6 Mar 2026
- 2025NERVE: Neighbourhood & Entropy-guided Random-walk for training free open-Vocabulary sEgmentation11 Nov 2025
- 2025StableMotion: One-Step Motion Estimation with Diffusion Prior10 May 2025
- 2025DIVE: Inverting Conditional Diffusion Models for Discriminative Tasks24 Apr 2025
- 2025ICE: Intrinsic Concept Extraction from a Single Image via Diffusion Models25 Mar 2025
- 2025Accelerating Diffusion Sampling via Exploiting Local Transition Coherence12 Mar 2025
- 2024CLIPer: Hierarchically Improving Spatial Representation of CLIP for Open-Vocabulary Semantic Segmentation21 Nov 2024
- 2024Suppress Content Shift: Better Diffusion Features via Off-the-Shelf Generation Techniques9 Oct 2024
- 2024Not All Diffusion Model Activations Have Been Evaluated as Discriminative Features4 Oct 2024
- 2024iSeg: An Iterative Refinement-based Framework for Training-free Segmentation5 Sep 2024
- 2024ConceptExpress: Harnessing Diffusion Models for Single-image Unsupervised Concept Extraction9 Jul 2024
- 2024Open-Vocabulary Attention Maps with Token Optimization for Semantic Segmentation in Diffusion Models21 Mar 2024
4 more
- 2024FouriScale: A Frequency Perspective on Training-Free High-Resolution Image Synthesis19 Mar 2024
- 2024RealCustom: Narrowing Real Text Word for Real-Time Open-Domain Text-to-Image Customization1 Mar 2024
- 2023TokenCompose: Text-to-Image Diffusion with Token-level Supervision6 Dec 2023
- 2023Unsupervised Keypoints from Pretrained Diffusion Models29 Nov 2023
- 2024FouriScale: A Frequency Perspective on Training-Free High-Resolution Image Synthesiscited by 59
- 2023TokenCompose: Text-to-Image Diffusion with Token-level Supervisioncited by 40
- 2024Open-Vocabulary Attention Maps with Token Optimization for Semantic Segmentation in Diffusion Modelscited by 29
- 2024Not All Diffusion Model Activations Have Been Evaluated as Discriminative Featurescited by 25
- 2024ConceptExpress: Harnessing Diffusion Models for Single-image Unsupervised Concept Extractioncited by 16
- 2023Unsupervised Keypoints from Pretrained Diffusion Modelscited by 15
- 2024iSeg: An Iterative Refinement-based Framework for Training-free Segmentationcited by 10
- 2026Making Training-Free Diffusion Segmentors Scale with the Generative Powercited by 3
- 2024Suppress Content Shift: Better Diffusion Features via Off-the-Shelf Generation Techniquescited by 2
- 2025DIVE: Inverting Conditional Diffusion Models for Discriminative Taskscited by 2
- 2025Accelerating Diffusion Sampling via Exploiting Local Transition Coherencecited by 1
- 2025ICE: Intrinsic Concept Extraction from a Single Image via Diffusion Modelscited by 1
12 most cited of 13 All 13 (JSON)
- 2026Making Training-Free Diffusion Segmentors Scale with the Generative Power6 Mar 2026
- 2025StableMotion: One-Step Motion Estimation with Diffusion Prior10 May 2025
- 2025DIVE: Inverting Conditional Diffusion Models for Discriminative Tasks24 Apr 2025
- 2025ICE: Intrinsic Concept Extraction from a Single Image via Diffusion Models25 Mar 2025
- 2025Accelerating Diffusion Sampling via Exploiting Local Transition Coherence12 Mar 2025
- 2024Suppress Content Shift: Better Diffusion Features via Off-the-Shelf Generation Techniques9 Oct 2024
- 2024Not All Diffusion Model Activations Have Been Evaluated as Discriminative Features4 Oct 2024
- 2024iSeg: An Iterative Refinement-based Framework for Training-free Segmentation5 Sep 2024
- 2024ConceptExpress: Harnessing Diffusion Models for Single-image Unsupervised Concept Extraction9 Jul 2024
- 2024Open-Vocabulary Attention Maps with Token Optimization for Semantic Segmentation in Diffusion Models21 Mar 2024
- 2024FouriScale: A Frequency Perspective on Training-Free High-Resolution Image Synthesis19 Mar 2024
- 2023TokenCompose: Text-to-Image Diffusion with Token-level Supervision6 Dec 2023
12 newest of 13 All 13 (JSON)
- 2024RealCustom: Narrowing Real Text Word for Real-Time Open-Domain Text-to-Image Customizationcited by 39
- 2024CLIPer: Hierarchically Improving Spatial Representation of CLIP for Open-Vocabulary Semantic Segmentationcited by 17
- 2025NERVE: Neighbourhood & Entropy-guided Random-walk for training free open-Vocabulary sEgmentationcited by 2
- 2025NERVE: Neighbourhood & Entropy-guided Random-walk for training free open-Vocabulary sEgmentation11 Nov 2025
- 2024CLIPer: Hierarchically Improving Spatial Representation of CLIP for Open-Vocabulary Semantic Segmentation21 Nov 2024
- 2024RealCustom: Narrowing Real Text Word for Real-Time Open-Domain Text-to-Image Customization1 Mar 2024
Similar, not cited
Close in wording, no citation either way
- 2025Reusing Computation in Text-to-Image Diffusion for Efficient Generation of Image Sets
- 2025Seg4Diff: Unveiling Open-Vocabulary Segmentation in Text-to-Image Diffusion Transformers
- 2023Diffusion Model is Secretly a Training-free Open Vocabulary Semantic Segmenter
- 2025Precise Parameter Localization for Textual Generation in Diffusion Models
- 2024Exploring Phrase-Level Grounding with Text-to-Image Diffusion Model
- 2025Instructing Text-to-Image Diffusion Models via Classifier-Guided Semantic Optimization
- 2026ImageRAGTurbo: Towards One-step Text-to-Image Generation with Retrieval-Augmented Diffusion Models
- 2025SeeDiff: Off-the-Shelf Seeded Mask Generation from Diffusion Models