Localizing Knowledge in Diffusion Transformers
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
- 2025ConceptAttention: Diffusion Transformers Learn Highly Interpretable Features6 Feb
- 2024Stable Flow: Vital Layers for Training-Free Image Editing21 Nov
- 2024Improving Compositional Attribute Binding in Text-to-Image Generative Models via Enhanced Text Embeddings12 Jun
- 2024Measuring Style Similarity in Diffusion Models1 Apr
- 2024Towards Understanding Cross and Self-Attention in Stable Diffusion for Text-Guided Image Editing6 Mar
- 2023Localizing and Editing Knowledge in Text-to-Image Generative Models20 Oct
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generation25 Aug
Other references · 26
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Denoising Diffusion Probabilistic Modelscited by 21,076
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 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
- 2023Visual Instruction Tuningcited by 7,869
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2022Classifier-Free Diffusion Guidancecited by 5,847
- 2022Flow Matching for Generative Modelingcited by 5,702
- 2024GPT-4o System Cardcited by 4,588
14 more
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
- 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,761
- 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
- 2022Plug-and-Play Diffusion Features for Text-Driven Image-to-Image Translationcited by 906
- 2023PixArt-α: Fast Training of Diffusion Transformer for Photorealistic Text-to-Image Synthesiscited by 864
- 2023MasaCtrl: Tuning-Free Mutual Self-Attention Control for Consistent Image Synthesis and Editingcited by 727
- 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Modelscited by 513
- 2023Unified Concept Editing in Diffusion Modelscited by 388
- 2024SANA: Efficient High-Resolution Image Synthesis with Linear Diffusion Transformerscited by 340
- 2023Ablating Concepts in Text-to-Image Diffusion Modelscited by 317
- 2024SAFREE: Training-Free and Adaptive Guard for Safe Text-to-Image And Video Generationcited by 133
- 2022Analyzing Transformers in Embedding Spacecited by 132
- 2024On Mechanistic Knowledge Localization in Text-to-Image Generative Modelscited by 28
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2025SliderEdit: Continuous Image Editing with Fine-Grained Instruction Controlcited by 14
- 2025AgentComp: From Agentic Reasoning to Compositional Mastery in Text-to-Image Modelscited by 5
- 2026TADA! Tuning Audio Diffusion Models through Activation Steeringcited by 4
- 2026Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Modelscited by 2
- 2026Spatially-Grounded Flow Matching: Structured Source Distributions for Image Generationcited by 1
- 2026You Can't Have It Both Ways: Concept Entanglement Limits Diffusion Model Unlearningcited by 0
- 2026Beyond the Linear Representation Hypothesis: Non-Linear Activation Steering in Text-to-Image Modelscited by 0
- 2026Beyond the Linear Representation Hypothesis: Non-Linear Activation Steering in Text-to-Image Models3 Oct 2026
- 2026You Can't Have It Both Ways: Concept Entanglement Limits Diffusion Model Unlearning28 Sep 2026
- 2026Spatially-Grounded Flow Matching: Structured Source Distributions for Image Generation16 Aug 2026
- 2026Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Models29 Mar 2026
- 2026TADA! Tuning Audio Diffusion Models through Activation Steering12 Feb 2026
- 2025AgentComp: From Agentic Reasoning to Compositional Mastery in Text-to-Image Models9 Dec 2025
- 2025SliderEdit: Continuous Image Editing with Fine-Grained Instruction Control12 Nov 2025
Similar, not cited
Close in wording, no citation either way
- 2024Unveiling Concept Attribution in Diffusion Models
- 2026Where Should Knowledge Enter? A Layered Framework for Knowledge Infusion in Multimodal Iterative Generative Model
- 2024Enhancing Accuracy in Generative Models via Knowledge Transfer
- 2024Diffscaler: Enhancing the Generative Prowess of Diffusion Transformers
- 2024FINE: Factorizing Knowledge for Initialization of Variable-sized Diffusion Models
- 2022Knowledge Distillation of Transformer-based Language Models Revisited
- 2026Semantic Steering for Controllable Generation: Tuning-Free Concept Erasure in Multimodal Diffusion Transformers
- 2026Circuit Mechanisms for Spatial Relation Generation in Diffusion Transformers