mlsanityData to 14 Oct 2026

From Text to Mask: Localizing Entities Using the Attention of Text-to-Image Diffusion Models

arXiv 2309.04109 ↗First posted 8 Sep 2023cs.CVcited by 16

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

  1. 2023DiffuMask: Synthesizing Images with Pixel-level Annotations for Semantic Segmentation Using Diffusion Models21 Mar
  2. 2023Open-Vocabulary Panoptic Segmentation with Text-to-Image Diffusion Models8 Mar
  3. 2023Open-vocabulary Object Segmentation with Diffusion Models12 Jan
  4. 2022Peekaboo: Text to Image Diffusion Models are Zero-Shot Segmentors23 Nov
  5. 2021Diffusion Models for Implicit Image Segmentation Ensembles6 Dec
  6. 2021Label-Efficient Semantic Segmentation with Diffusion Models6 Dec

Other references · 64

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  6. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  7. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  8. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  9. 2023Segment Anythingcited by 8,234
  10. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
  11. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  12. 2014Fully Convolutional Networks for Semantic Segmentationcited by 4,859
38 more
  1. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  2. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  3. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
  4. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  5. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  6. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,300
  7. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  8. 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,241
  9. 2015Learning Deep Features for Discriminative Localizationcited by 2,436
  10. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
  11. 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,333
  12. 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,222
  13. 2022Multi-Concept Customization of Text-to-Image Diffusioncited by 1,106
  14. 2021Open-vocabulary Object Detection via Vision and Language Knowledge Distillationcited by 906
  15. 2022Language-driven Semantic Segmentationcited by 717
  16. 2023Segment Everything Everywhere All at Oncecited by 548
  17. 2021DenseCLIP: Language-Guided Dense Prediction with Context-Aware Promptingcited by 532
  18. 2022GroupViT: Semantic Segmentation Emerges from Text Supervisioncited by 531
  19. 2021Scaling Open-Vocabulary Image Segmentation with Image-Level Labelscited by 473
  20. 2020Open-Vocabulary Object Detection Using Captionscited by 427
  21. 2021Deep ViT Features as Dense Visual Descriptorscited by 330
  22. 2018Learning Pixel-level Semantic Affinity with Image-level Supervision for Weakly Supervised Semantic Segmentationcited by 321
  23. 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 306
  24. 2020Self-supervised Equivariant Attention Mechanism for Weakly Supervised Semantic Segmentationcited by 300
  25. 2018Aleatoric uncertainty estimation with test-time augmentation for medical image segmentation with convolutional neural networkscited by 280
  26. 2023Unleashing Text-to-Image Diffusion Models for Visual Perceptioncited by 269
  27. 2021Image Retrieval on Real-life Images with Pre-trained Vision-and-Language Modelscited by 251
  28. 2019Weakly Supervised Learning of Instance Segmentation with Inter-pixel Relationscited by 247
  29. 2019Zero-Shot Semantic Segmentationcited by 245
  30. 2023P+: Extended Textual Conditioning in Text-to-Image Generationcited by 242
  31. 2018Composing Text and Image for Image Retrieval - An Empirical Odysseycited by 236
  32. 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attentioncited by 236
  33. 2018YouTube-VOS: Sequence-to-Sequence Video Object Segmentationcited by 232
  34. 2023Pic2Word: Mapping Pictures to Words for Zero-shot Composed Image Retrievalcited by 156
  35. 2020Weakly-Supervised Semantic Segmentation via Sub-category Explorationcited by 145
  36. 2023Localizing Object-level Shape Variations with Text-to-Image Diffusion Modelscited by 142
  37. 2022Multi-class Token Transformer for Weakly Supervised Semantic Segmentationcited by 138
  38. 2021Anti-Adversarially Manipulated Attributions for Weakly and Semi-Supervised Semantic Segmentationcited by 134

50 most cited of 64 All 64 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 8; 2025: 5; 2026: 1.

16 papers.

Sort:

By area:

  1. 2024FouriScale: A Frequency Perspective on Training-Free High-Resolution Image Synthesiscited by 59
  2. 2023TokenCompose: Text-to-Image Diffusion with Token-level Supervisioncited by 40
  3. 2024RealCustom: Narrowing Real Text Word for Real-Time Open-Domain Text-to-Image Customizationcited by 39
  4. 2024Open-Vocabulary Attention Maps with Token Optimization for Semantic Segmentation in Diffusion Modelscited by 29
  5. 2024Not All Diffusion Model Activations Have Been Evaluated as Discriminative Featurescited by 25
  6. 2024CLIPer: Hierarchically Improving Spatial Representation of CLIP for Open-Vocabulary Semantic Segmentationcited by 17
  7. 2024ConceptExpress: Harnessing Diffusion Models for Single-image Unsupervised Concept Extractioncited by 16
  8. 2023Unsupervised Keypoints from Pretrained Diffusion Modelscited by 15
  9. 2024iSeg: An Iterative Refinement-based Framework for Training-free Segmentationcited by 10
  10. 2026Making Training-Free Diffusion Segmentors Scale with the Generative Powercited by 3
  11. 2024Suppress Content Shift: Better Diffusion Features via Off-the-Shelf Generation Techniquescited by 2
  12. 2025DIVE: Inverting Conditional Diffusion Models for Discriminative Taskscited by 2
4 more
  1. 2025NERVE: Neighbourhood & Entropy-guided Random-walk for training free open-Vocabulary sEgmentationcited by 2
  2. 2025Accelerating Diffusion Sampling via Exploiting Local Transition Coherencecited by 1
  3. 2025ICE: Intrinsic Concept Extraction from a Single Image via Diffusion Modelscited by 1
  4. 2025StableMotion: One-Step Motion Estimation with Diffusion Priorcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Reusing Computation in Text-to-Image Diffusion for Efficient Generation of Image Sets
  2. 2025Seg4Diff: Unveiling Open-Vocabulary Segmentation in Text-to-Image Diffusion Transformers
  3. 2023Diffusion Model is Secretly a Training-free Open Vocabulary Semantic Segmenter
  4. 2025Precise Parameter Localization for Textual Generation in Diffusion Models
  5. 2024Exploring Phrase-Level Grounding with Text-to-Image Diffusion Model
  6. 2025Instructing Text-to-Image Diffusion Models via Classifier-Guided Semantic Optimization
  7. 2026ImageRAGTurbo: Towards One-step Text-to-Image Generation with Retrieval-Augmented Diffusion Models
  8. 2025SeeDiff: Off-the-Shelf Seeded Mask Generation from Diffusion Models