mlsanityData to 14 Oct 2026

Localizing Knowledge in Diffusion Transformers

arXiv 2505.18832 ↗First posted 24 May 2025cs.CVcited by 7

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

Abstract (arXiv)

Understanding how knowledge is distributed across the layers of generative models is crucial for improving interpretability, controllability, and adaptation. While prior work has explored knowledge localization in UNet-based architectures, Diffusion Transformer (DiT)-based models remain underexplored in this context. In this paper, we propose a model- and knowledge-agnostic method to localize where specific types of knowledge are encoded within the DiT blocks. We evaluate our method on state-of-the-art DiT-based models, including PixArt-alpha, FLUX, and SANA, across six diverse knowledge categories. We show that the identified blocks are both interpretable and causally linked to the expression of knowledge in generated outputs. Building on these insights, we apply our localization framework to two key applications: model personalization and knowledge unlearning. In both settings, our localized fine-tuning approach enables efficient and targeted updates, reducing computational cost, improving task-specific performance, and better preserving general model behavior with minimal interference to unrelated or surrounding content. Overall, our findings offer new insights into the internal structure of DiTs and introduce a practical pathway for more interpretable, efficient, and controllable model editing.

Key facts. Cited by 7 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 33 of its 38 references that are in the map. First posted on arXiv 24 May 2025.

Builds on

33 of 38 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025ConceptAttention: Diffusion Transformers Learn Highly Interpretable Features6 Feb
  2. 2024Stable Flow: Vital Layers for Training-Free Image Editing21 Nov
  3. 2024Improving Compositional Attribute Binding in Text-to-Image Generative Models via Enhanced Text Embeddings12 Jun
  4. 2024Measuring Style Similarity in Diffusion Models1 Apr
  5. 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editing6 Mar
  6. 2023Localizing and Editing Knowledge in Text-to-Image Generative Models20 Oct
  7. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug

Other references · 26

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  3. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  7. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  8. 2023Visual Instruction Tuningcited by 7,869
  9. 2022Scalable Diffusion Models with Transformerscited by 6,054
  10. 2022Classifier-Free Diffusion Guidancecited by 5,847
  11. 2022Flow Matching for Generative Modelingcited by 5,702
  12. 2024GPT-4o System Cardcited by 4,588
14 more
  1. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  2. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,761
  3. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
  4. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  5. 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 906
  6. 2023PixArt-α: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesiscited by 864
  7. 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 727
  8. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 513
  9. 2023Unified Concept Editing in Diffusion Modelscited by 388
  10. 2024SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformerscited by 340
  11. 2023Ablating Concepts in Text-to-Image Diffusion Modelscited by 317
  12. 2024SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generationcited by 133
  13. 2022Analyzing Transformers in Embedding Spacecited by 132
  14. 2024On Mechanistic Knowledge Localization in Text-to-Image Generative Modelscited by 28

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 5.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Unveiling Concept Attribution in Diffusion Models
  2. 2026Where Should Knowledge Enter? A Layered Framework for Knowledge Infusion in Multimodal Iterative Generative Model
  3. 2024Enhancing Accuracy in Generative Models via Knowledge Transfer
  4. 2024Diffscaler: Enhancing the Generative Prowess of Diffusion Transformers
  5. 2024FINE: Factorizing Knowledge for Initialization of Variable-sized Diffusion Models
  6. 2022Knowledge Distillation of Transformer-based Language Models Revisited
  7. 2026Semantic Steering for Controllable Generation: Tuning-Free Concept Erasure in Multimodal Diffusion Transformers
  8. 2026Circuit Mechanisms for Spatial Relation Generation in Diffusion Transformers