mlsanityData to 7 Oct 2026

On Mechanistic Knowledge Localization in Text-to-Image Generative Models

arXiv 2405.01008 ↗First posted 2 May 2024cs.CVcited by 27

Not on the map. Why?

Abstract (arXiv)

Identifying layers within text-to-image models which control visual attributes can facilitate efficient model editing through closed-form updates. Recent work, leveraging causal tracing show that early Stable-Diffusion variants confine knowledge primarily to the first layer of the CLIP text-encoder, while it diffuses throughout the UNet.Extending this framework, we observe that for recent models (e.g., SD-XL, DeepFloyd), causal tracing fails in pinpointing localized knowledge, highlighting challenges in model editing. To address this issue, we introduce the concept of Mechanistic Localization in text-to-image models, where knowledge about various visual attributes (e.g., "style", "objects", "facts") can be mechanistically localized to a small fraction of layers in the UNet, thus facilitating efficient model editing. We localize knowledge using our method LocoGen which measures the direct effect of intermediate layers to output generation by performing interventions in the cross-attention layers of the UNet. We then employ LocoEdit, a fast closed-form editing method across popular open-source text-to-image models (including the latest SD-XL)and explore the possibilities of neuron-level model editing. Using Mechanistic Localization, our work offers a better view of successes and failures in localization-based text-to-image model editing. Code will be available at https://github.com/samyadeepbasu/LocoGen.

Key facts. Cited by 27 papers in the map (data through 7 Oct 2026). Builds on 17 of its 18 references that are in the map. First posted on arXiv 2 May 2024.

Builds on

17 of 18 references.

References · 17

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2020Denoising Diffusion Implicit Modelscited by 9,655
  5. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  6. 2022Classifier-Free Diffusion Guidancecited by 5,717
  7. 2017Neural Discrete Representation Learningcited by 4,650
  8. 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
  9. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  10. 2021CLIPScore: A Reference-free Evaluation Metric for Image Captioningcited by 2,388
  11. 2023Erasing Concepts from Diffusion Modelscited by 530
  12. 2023Ablating Concepts in Text-to-Image Diffusion Modelscited by 312
5 more
  1. 2013Direct and Indirect Effectscited by 276
  2. 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attentioncited by 233
  3. 2023Editing Implicit Assumptions in Text-to-Image Diffusion Modelscited by 128
  4. 2023Localizing and Editing Knowledge in Text-to-Image Generative Modelscited by 52
  5. 2023The Hidden Language of Diffusion Modelscited by 34

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 7; 2025: 11; 2026: 9.

27 papers.

Sort:

By area:

  1. 2025SAeUron: Interpretable Concept Unlearning in Diffusion Models with Sparse Autoencoderscited by 75
  2. 2025A Survey on Mechanistic Interpretability for Multi-Modal Foundation Modelscited by 34
  3. 2024Emergence of Hidden Capabilities: Exploring Learning Dynamics in Concept Spacecited by 33
  4. 2024textitRevelio: Interpreting and leveraging semantic information in diffusion modelscited by 29
  5. 2025TIDE : Temporal-Aware Sparse Autoencoders for Interpretable Diffusion Transformers in Image Generationcited by 16
  6. 2025Mechanistic Finetuning of Vision-Language-Action Models via Few-Shot Demonstrationscited by 15
  7. 2024Unveiling Concept Attribution in Diffusion Modelscited by 11
  8. 2024Graph-based Unsupervised Disentangled Representation Learning via Multimodal Large Language Modelscited by 9
  9. 2025SAEmnesia: Erasing Concepts in Diffusion Models with Supervised Sparse Autoencoderscited by 8
  10. 2025Safe and Reliable Diffusion Models via Subspace Projectioncited by 7
  11. 2025Localizing Knowledge in Diffusion Transformerscited by 6
  12. 2025Precise Parameter Localization for Textual Generation in Diffusion Modelscited by 5
15 more
  1. 2025Generative Model Unlearning: A Survey through Target Events, Unlearning Operators, and Evaluation Protocolscited by 4
  2. 2024Low-Rank Continual Personalization of Diffusion Modelscited by 3
  3. 2024Survey of User Interface Design and Interaction Techniques in Generative AI Applicationscited by 3
  4. 2026Selective Fine-Tuning for Targeted and Robust Concept Unlearningcited by 2
  5. 2026TADA! Tuning Audio Diffusion Models through Activation Steeringcited by 2
  6. 2026Localized Concept Erasure in Text-to-Image Diffusion Models via High-Level Representation Misdirectioncited by 2
  7. 2026Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Modelscited by 2
  8. 2025Rethinking Robust Adversarial Concept Erasure in Diffusion Modelscited by 1
  9. 2026Interpretable Motion-Attentive Maps: Spatio-Temporally Localizing Concepts in Video Diffusion Transformerscited by 1
  10. 2024AccessShare: Co-designing Data Access and Sharing with Blind Peoplecited by 0
  11. 2025CA-LoRA: Concept-Aware LoRA for Domain-Aligned Segmentation Dataset Generationcited by 0
  12. 2026DreamReader: An Interpretability Toolkit for Text-to-Image Modelscited by 0
  13. 2026Concept Removal for Frontier Image Generative Modelscited by 0
  14. 2026Efficient bias mitigation in T2I diffusion models using Concept Graphscited by 0
  15. 2026Concept Guidance: Precise, Training-Free Latent Control for Text-to-Image Generationcited by 0