Diffusion Lens: Interpreting Text Encoders in Text-to-Image Pipelines
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
Text-to-image diffusion models (T2I) use a latent representation of a text prompt to guide the image generation process. However, the process by which the encoder produces the text representation is unknown. We propose the Diffusion Lens, a method for analyzing the text encoder of T2I models by generating images from its intermediate representations. Using the Diffusion Lens, we perform an extensive analysis of two recent T2I models. Exploring compound prompts, we find that complex scenes describing multiple objects are composed progressively and more slowly compared to simple scenes; Exploring knowledge retrieval, we find that representation of uncommon concepts requires further computation compared to common concepts, and that knowledge retrieval is gradual across layers. Overall, our findings provide valuable insights into the text encoder component in T2I pipelines.
Key facts. Cited by 30 papers in the map (data through 14 Oct 2026). Placed in Image generation, text-to-image and editing, one of 14 directions in Diffusion models. Builds on 29 of its 48 references that are in the map. First posted on arXiv 9 Mar 2024.
Builds on
29 of 48 references.
Closest ancestors · 5
Same direction, newest first
- 2023The Hidden Language of Diffusion Models1 Jun
- 2023Generating images of rare concepts using pre-trained diffusion models27 Apr
- 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attention10 Oct
- 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding23 May
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latents13 Apr
Other references · 24
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
- 2013Visualizing and Understanding Convolutional Networkscited by 2,290
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
- 2020A Primer in BERTology: What we know about how BERT workscited by 815
12 more
- 2020Stanza: A Python Natural Language Processing Toolkit for Many Human Languagescited by 723
- 2017Network Dissection: Quantifying Interpretability of Deep Visual Representationscited by 708
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 359
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 277
- 2023Interpreting CLIP's Image Representation via Text-Based Decompositioncited by 196
- 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 156
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 121
- 2023Jump to Conclusions: Short-Cutting Transformers With Linear Transformationscited by 90
- 2023VISIT: Visualizing and Interpreting the Semantic Information Flow of Transformerscited by 32
- 2023ReFACT: Updating Text-to-Image Models by Editing the Text Encodercited by 32
Built on by
Citing papers per year: 2024: 5; 2025: 13; 2026: 12.
30 papers.
Sort:
By area:
- 2024Golden Noise for Diffusion Models: A Learning Frameworkcited by 92
- 2025SAeUron: Interpretable Concept Unlearning in Diffusion Models with Sparse Autoencoderscited by 80
- 2026Verbalizable Representations Form a Global Workspace in Language Modelscited by 75
- 2024The Semantic Hub Hypothesis: Language Models Share Semantic Representations Across Languages and Modalitiescited by 69
- 2024Good Seed Makes a Good Crop: Discovering Secret Seeds in Text-to-Image Diffusion Modelscited by 48
- 2024textitRevelio: Interpreting and leveraging semantic information in diffusion modelscited by 30
- 2025PromptGuard: Soft Prompt-Guided Unsafe Content Moderation for Text-to-Image Modelscited by 17
- 2025TIDE : Temporal-Aware Sparse Autoencoders for Interpretable Diffusion Transformers in Image Generationcited by 16
- 2025When Are Concepts Erased From Diffusion Models?cited by 16
- 2025Beyond Transcription: Mechanistic Interpretability in ASRcited by 13
- 2025SAEmnesia: Erasing Concepts in Diffusion Models with Supervised Sparse Autoencoderscited by 10
- 2025Concept Steerers: Leveraging K-Sparse Autoencoders for Test-Time Controllable Generationscited by 7
18 more
- 2025VSC: Visual Search Compositional Text-to-Image Diffusion Modelcited by 7
- 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networkscited by 6
- 2024NL-Eye: Abductive NLI for Imagescited by 5
- 2025Follow the Flow: On Information Flow Across Textual Tokens in Text-to-Image Modelscited by 4
- 2025Exploring Position Encoding in Diffusion U-Net for Training-free High-resolution Image Generationcited by 3
- 2026Localized Concept Erasure in Text-to-Image Diffusion Models via High-Level Representation Misdirectioncited by 3
- 2025Decoding Vision Transformers: the Diffusion Steering Lenscited by 2
- 2025BiasMap: Leveraging Cross-Attentions to Discover and Mitigate Hidden Social Biases in Text-to-Image Generationcited by 2
- 2026Interpretable Motion-Attentive Maps: Spatio-Temporally Localizing Concepts in Video Diffusion Transformerscited by 1
- 2026When Do Diffusion Models learn to Generate Multiple Objects?cited by 1
- 2026Vision-Language Binding in In-Context Image Generationcited by 1
- 2026Where Concept Erasure Should Occur: Concept-Layer Alignment in Text-to-Video Diffusion Modelscited by 1
- 2026Text-to-Image Models Need Less from Text Encoders Than You Thinkcited by 1
- 2026A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformerscited by 0
- 2026Intermediate Text Representation Guided Text-to-Image Generation for Enhancing One-and-Only Alignmentcited by 0
- 2026AEGIS: A Mechanism-Guided Defense against Visual Synonym Jailbreaks in Text-to-Image Modelscited by 0
- 2026Simile Understanding in Text-to-Image Models: An Evaluation Frameworkcited by 0
- 2026Learning to Read the Contextual Tokens in Diffusion Transformerscited by 0
- 2026Learning to Read the Contextual Tokens in Diffusion Transformers5 Oct 2026
- 2026Simile Understanding in Text-to-Image Models: An Evaluation Framework5 Aug 2026
- 2026Verbalizable Representations Form a Global Workspace in Language Models16 Jul 2026
- 2026AEGIS: A Mechanism-Guided Defense against Visual Synonym Jailbreaks in Text-to-Image Models7 Jul 2026
- 2026Intermediate Text Representation Guided Text-to-Image Generation for Enhancing One-and-Only Alignment29 Jun 2026
- 2026Text-to-Image Models Need Less from Text Encoders Than You Think2 Jun 2026
- 2026A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers28 May 2026
- 2026Where Concept Erasure Should Occur: Concept-Layer Alignment in Text-to-Video Diffusion Models25 May 2026
- 2026Vision-Language Binding in In-Context Image Generation23 May 2026
- 2026When Do Diffusion Models learn to Generate Multiple Objects?30 Apr 2026
- 2026Interpretable Motion-Attentive Maps: Spatio-Temporally Localizing Concepts in Video Diffusion Transformers3 Mar 2026
- 2026Localized Concept Erasure in Text-to-Image Diffusion Models via High-Level Representation Misdirection23 Feb 2026
18 more
- 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networks24 Nov 2025
- 2025SAEmnesia: Erasing Concepts in Diffusion Models with Supervised Sparse Autoencoders23 Sep 2025
- 2025BiasMap: Leveraging Cross-Attentions to Discover and Mitigate Hidden Social Biases in Text-to-Image Generation16 Sep 2025
- 2025Beyond Transcription: Mechanistic Interpretability in ASR21 Aug 2025
- 2025When Are Concepts Erased From Diffusion Models?22 May 2025
- 2025VSC: Visual Search Compositional Text-to-Image Diffusion Model2 May 2025
- 2025Decoding Vision Transformers: the Diffusion Steering Lens18 Apr 2025
- 2025Follow the Flow: On Information Flow Across Textual Tokens in Text-to-Image Models1 Apr 2025
- 2025Exploring Position Encoding in Diffusion U-Net for Training-free High-resolution Image Generation12 Mar 2025
- 2025TIDE : Temporal-Aware Sparse Autoencoders for Interpretable Diffusion Transformers in Image Generation10 Mar 2025
- 2025Concept Steerers: Leveraging K-Sparse Autoencoders for Test-Time Controllable Generations31 Jan 2025
- 2025SAeUron: Interpretable Concept Unlearning in Diffusion Models with Sparse Autoencoders29 Jan 2025
- 2025PromptGuard: Soft Prompt-Guided Unsafe Content Moderation for Text-to-Image Models7 Jan 2025
- 2024textitRevelio: Interpreting and leveraging semantic information in diffusion models23 Nov 2024
- 2024Golden Noise for Diffusion Models: A Learning Framework14 Nov 2024
- 2024The Semantic Hub Hypothesis: Language Models Share Semantic Representations Across Languages and Modalities7 Nov 2024
- 2024NL-Eye: Abductive NLI for Images3 Oct 2024
- 2024Good Seed Makes a Good Crop: Discovering Secret Seeds in Text-to-Image Diffusion Models23 May 2024
- 2024Golden Noise for Diffusion Models: A Learning Frameworkcited by 92
- 2025SAeUron: Interpretable Concept Unlearning in Diffusion Models with Sparse Autoencoderscited by 80
- 2024Good Seed Makes a Good Crop: Discovering Secret Seeds in Text-to-Image Diffusion Modelscited by 48
- 2024textitRevelio: Interpreting and leveraging semantic information in diffusion modelscited by 30
- 2025TIDE : Temporal-Aware Sparse Autoencoders for Interpretable Diffusion Transformers in Image Generationcited by 16
- 2025When Are Concepts Erased From Diffusion Models?cited by 16
- 2025SAEmnesia: Erasing Concepts in Diffusion Models with Supervised Sparse Autoencoderscited by 10
- 2025VSC: Visual Search Compositional Text-to-Image Diffusion Modelcited by 7
- 2026Localized Concept Erasure in Text-to-Image Diffusion Models via High-Level Representation Misdirectioncited by 3
- 2025BiasMap: Leveraging Cross-Attentions to Discover and Mitigate Hidden Social Biases in Text-to-Image Generationcited by 2
- 2026Interpretable Motion-Attentive Maps: Spatio-Temporally Localizing Concepts in Video Diffusion Transformerscited by 1
- 2026When Do Diffusion Models learn to Generate Multiple Objects?cited by 1
12 most cited of 16 All 16 (JSON)
- 2026Learning to Read the Contextual Tokens in Diffusion Transformers5 Oct 2026
- 2026AEGIS: A Mechanism-Guided Defense against Visual Synonym Jailbreaks in Text-to-Image Models7 Jul 2026
- 2026Intermediate Text Representation Guided Text-to-Image Generation for Enhancing One-and-Only Alignment29 Jun 2026
- 2026Where Concept Erasure Should Occur: Concept-Layer Alignment in Text-to-Video Diffusion Models25 May 2026
- 2026When Do Diffusion Models learn to Generate Multiple Objects?30 Apr 2026
- 2026Interpretable Motion-Attentive Maps: Spatio-Temporally Localizing Concepts in Video Diffusion Transformers3 Mar 2026
- 2026Localized Concept Erasure in Text-to-Image Diffusion Models via High-Level Representation Misdirection23 Feb 2026
- 2025SAEmnesia: Erasing Concepts in Diffusion Models with Supervised Sparse Autoencoders23 Sep 2025
- 2025BiasMap: Leveraging Cross-Attentions to Discover and Mitigate Hidden Social Biases in Text-to-Image Generation16 Sep 2025
- 2025When Are Concepts Erased From Diffusion Models?22 May 2025
- 2025VSC: Visual Search Compositional Text-to-Image Diffusion Model2 May 2025
- 2025TIDE : Temporal-Aware Sparse Autoencoders for Interpretable Diffusion Transformers in Image Generation10 Mar 2025
12 newest of 16 All 16 (JSON)
- 2025Beyond Transcription: Mechanistic Interpretability in ASRcited by 13
- 2025Concept Steerers: Leveraging K-Sparse Autoencoders for Test-Time Controllable Generationscited by 7
- 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networkscited by 6
- 2025Decoding Vision Transformers: the Diffusion Steering Lenscited by 2
- 2025Unboxing the Black Box: Mechanistic Interpretability for Algorithmic Understanding of Neural Networks24 Nov 2025
- 2025Beyond Transcription: Mechanistic Interpretability in ASR21 Aug 2025
- 2025Decoding Vision Transformers: the Diffusion Steering Lens18 Apr 2025
- 2025Concept Steerers: Leveraging K-Sparse Autoencoders for Test-Time Controllable Generations31 Jan 2025
- 2024NL-Eye: Abductive NLI for Imagescited by 5
- 2024NL-Eye: Abductive NLI for Images3 Oct 2024
- 2026Verbalizable Representations Form a Global Workspace in Language Modelscited by 75
- 2024The Semantic Hub Hypothesis: Language Models Share Semantic Representations Across Languages and Modalitiescited by 69
- 2025Follow the Flow: On Information Flow Across Textual Tokens in Text-to-Image Modelscited by 4
- 2025Exploring Position Encoding in Diffusion U-Net for Training-free High-resolution Image Generationcited by 3
- 2026Vision-Language Binding in In-Context Image Generationcited by 1
- 2026Text-to-Image Models Need Less from Text Encoders Than You Thinkcited by 1
- 2026A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformerscited by 0
- 2026Simile Understanding in Text-to-Image Models: An Evaluation Frameworkcited by 0
- 2026Simile Understanding in Text-to-Image Models: An Evaluation Framework5 Aug 2026
- 2026Verbalizable Representations Form a Global Workspace in Language Models16 Jul 2026
- 2026Text-to-Image Models Need Less from Text Encoders Than You Think2 Jun 2026
- 2026A Mechanistic Analysis of Adversarial Fine-tuning of Vision Transformers28 May 2026
- 2026Vision-Language Binding in In-Context Image Generation23 May 2026
- 2025Follow the Flow: On Information Flow Across Textual Tokens in Text-to-Image Models1 Apr 2025
- 2025Exploring Position Encoding in Diffusion U-Net for Training-free High-resolution Image Generation12 Mar 2025
- 2024The Semantic Hub Hypothesis: Language Models Share Semantic Representations Across Languages and Modalities7 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2023Prompt-Free Diffusion: Taking "Text" out of Text-to-Image Diffusion Models
- 2025Decoder-Only LLMs are Better Controllers for Diffusion Models
- 2023De-Diffusion Makes Text a Strong Cross-Modal Interface
- 2024DiffusionPID: Interpreting Diffusion via Partial Information Decomposition
- 2023CONFORM: Contrast is All You Need For High-Fidelity Text-to-Image Diffusion Models
- 2025CLIP is All You Need for Human-like Semantic Representations in Stable Diffusion
- 2023SUR-adapter: Enhancing Text-to-Image Pre-trained Diffusion Models with Large Language Models
- 2026Think-Then-Generate: Reasoning-Aware Text-to-Image Diffusion with LLM Encoders