mlsanityData to 14 Oct 2026

Localizing and Editing Knowledge in Text-to-Image Generative Models

arXiv 2310.13730 ↗First posted 20 Oct 2023cs.CVcited by 54

On the map: Diffusion models → Image generation, text-to-image and editing

Abstract (arXiv)

Text-to-Image Diffusion Models such as Stable-Diffusion and Imagen have achieved unprecedented quality of photorealism with state-of-the-art FID scores on MS-COCO and other generation benchmarks. Given a caption, image generation requires fine-grained knowledge about attributes such as object structure, style, and viewpoint amongst others. Where does this information reside in text-to-image generative models? In our paper, we tackle this question and understand how knowledge corresponding to distinct visual attributes is stored in large-scale text-to-image diffusion models. We adapt Causal Mediation Analysis for text-to-image models and trace knowledge about distinct visual attributes to various (causal) components in the (i) UNet and (ii) text-encoder of the diffusion model. In particular, we show that unlike generative large-language models, knowledge about different attributes is not localized in isolated components, but is instead distributed amongst a set of components in the conditional UNet. These sets of components are often distinct for different visual attributes. Remarkably, we find that the CLIP text-encoder in public text-to-image models such as Stable-Diffusion contains only one causal state across different visual attributes, and this is the first self-attention layer corresponding to the last subject token of the attribute in the caption. This is in stark contrast to the causal states in other language models which are often the mid-MLP layers. Based on this observation of only one causal state in the text-encoder, we introduce a fast, data-free model editing method Diff-QuickFix which can effectively edit concepts in text-to-image models. DiffQuickFix can edit (ablate) concepts in under a second with a closed-form update, providing a significant 1000x speedup and comparable editing performance to existing fine-tuning based editing methods.

Key facts. Cited by 54 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. First posted on arXiv 20 Oct 2023.

Builds on

0 of 0 references.

No references here yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 14; 2025: 20; 2026: 20.

54 papers.

Sort:

By area:

  1. 2024MACE: Mass Concept Erasure in Diffusion Modelscited by 307
  2. 2024Defensive Unlearning with Adversarial Training for Robust Concept Erasure in Diffusion Modelscited by 168
  3. 2025SAeUron: Interpretable Concept Unlearning in Diffusion Models with Sparse Autoencoderscited by 80
  4. 2025A Survey on Mechanistic Interpretability for Multi-Modal Foundation Modelscited by 34
  5. 2024Erasing Concepts from Text-to-Image Diffusion Models with Few-shot Unlearningcited by 29
  6. 2024On Mechanistic Knowledge Localization in Text-to-Image Generative Modelscited by 28
  7. 2024Decomposing and Editing Predictions by Modeling Model Computationcited by 19
  8. 2024Targeted Unlearning with Single Layer Unlearning Gradientcited by 18
  9. 2025TIDE : Temporal-Aware Sparse Autoencoders for Interpretable Diffusion Transformers in Image Generationcited by 16
  10. 2025TRCE: Towards Reliable Malicious Concept Erasure in Text-to-Image Diffusion Modelscited by 15
  11. 2024Espresso: Robust Concept Filtering in Text-to-Image Modelscited by 14
  12. 2025Padding Tone: A Mechanistic Analysis of Padding Tokens in T2I Modelscited by 13
38 more
  1. 2025Detect-and-Guide: Self-regulation of Diffusion Models for Safe Text-to-Image Generation via Guideline Token Optimizationcited by 13
  2. 2024Unveiling Concept Attribution in Diffusion Modelscited by 11
  3. 2025SAEmnesia: Erasing Concepts in Diffusion Models with Supervised Sparse Autoencoderscited by 10
  4. 2024Rethinking Artistic Copyright Infringements in the Era of Text-to-Image Generative Modelscited by 9
  5. 2025Mitigating Sexual Content Generation via Embedding Distortion in Text-conditioned Diffusion Modelscited by 7
  6. 2025Safe and Reliable Diffusion Models via Subspace Projectioncited by 7
  7. 2025Localizing Knowledge in Diffusion Transformerscited by 7
  8. 2026DLM-Scope: Mechanistic Interpretability of Diffusion Language Models via Sparse Autoencoderscited by 7
  9. 2024Joint Diffusion models in Continual Learningcited by 6
  10. 2024LoopAnimate: Loopable Salient Object Animationcited by 5
  11. 2025Precise Parameter Localization for Textual Generation in Diffusion Modelscited by 5
  12. 2024Survey of User Interface Design and Interaction Techniques in Generative AI Applicationscited by 4
  13. 2025Generative Model Unlearning: A Survey through Target Events, Unlearning Operators, and Evaluation Protocolscited by 4
  14. 2026TADA! Tuning Audio Diffusion Models through Activation Steeringcited by 4
  15. 2024Low-Rank Continual Personalization of Diffusion Modelscited by 3
  16. 2026SafeRedir: Prompt Embedding Redirection for Robust Unlearning in Image Generation Modelscited by 3
  17. 2026Localized Concept Erasure in Text-to-Image Diffusion Models via High-Level Representation Misdirectioncited by 3
  18. 2025REDEditing: Relationship-Driven Precise Backdoor Poisoning on Text-to-Image Diffusion Modelscited by 2
  19. 2025Towards Dataset Copyright Evasion Attack against Personalized Text-to-Image Diffusion Modelscited by 2
  20. 2025M-ErasureBench: A Comprehensive Multimodal Evaluation Benchmark for Concept Erasure in Diffusion Modelscited by 2
  21. 2026Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Modelscited by 2
  22. 2026Why Do Video Diffusion Models Violate Physics? Unveiling the Flaws in Attention Mechanismscited by 2
  23. 2024Implicit Priors Editing in Stable Diffusion via Targeted Token Adjustmentcited by 1
  24. 2025Do Concept Replacement Techniques Really Erase Unacceptable Concepts?cited by 1
  25. 2025SecureT2I: No More Unauthorized Manipulation on AI Generated Images from Promptscited by 1
  26. 2025Rethinking Robust Adversarial Concept Erasure in Diffusion Modelscited by 1
  27. 2026Vision-Language Binding in In-Context Image Generationcited by 1
  28. 2026Do Text Edits Generalize to Visual Generation? Benchmarking Cross-Modal Knowledge Editing in UMMscited by 1
  29. 2026PEAK: Precise and Persistent Concept Erasure via k-Sparse Autoencoderscited by 1
  30. 2026Your Unlearning Gives You Away: Identifying Erased Concepts in Diffusion Modelscited by 1
  31. 2025BadBlocks: Low-Cost and Stealthy Backdoor Attacks Tailored for Text-to-Image Diffusion Modelscited by 0
  32. 2025Interpret, prune and distill Donut : towards lightweight VLMs for VQA on documentcited by 0
  33. 2026DICE: Disentangling Artist Style from Content via Contrastive Subspace Decomposition in Diffusion Modelscited by 0
  34. 2026AttnRouter: Per-Category Attention Routing for Training-Free Image Editing on MMDiTcited by 0
  35. 2026Concept Removal for Frontier Image Generative Modelscited by 0
  36. 2026FairFlow: Demystifying and Mitigating Stereotype Bias in Text-to-Image Diffusion Transformerscited by 0
  37. 2026AEGIS: A Mechanism-Guided Defense against Visual Synonym Jailbreaks in Text-to-Image Modelscited by 0
  38. 2026Denoising Models Develop Human-Like Perceptual Illusion Representations Across Architecturescited by 0

50 most cited of 54 All 54 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2025CLIP is All You Need for Human-like Semantic Representations in Stable Diffusion
  2. 2026Text-to-Image Models Need Less from Text Encoders Than You Think
  3. 2024Magnet: We Never Know How Text-to-Image Diffusion Models Work, Until We Learn How Vision-Language Models Function
  4. 2026Erasure or Erosion? Evaluating Compositional Degradation in Unlearned Text-To-Image Diffusion Models
  5. 2023The Hidden Language of Diffusion Models
  6. 2024Continuous, Subject-Specific Attribute Control in T2I Models by Identifying Semantic Directions
  7. 2026UniCanvas: A Diffusion-base Unified Model for Text-in-Image Joint Generation
  8. 2024Improving Compositional Attribute Binding in Text-to-Image Generative Models via Enhanced Text Embeddings