Cross-Attention Head Position Patterns Can Align with Human Visual Concepts in Text-to-Image Generative Models
Jungwon Park, Jungmin Ko, Dongnam Byun, Jangwon Suh, Wonjong Rhee
摘要
Recent text-to-image diffusion models leverage cross-attention layers, which have been effectively utilized to enhance a range of visual generative tasks. However, our understanding of cross-attention layers remains somewhat limited. In this study, we introduce a mechanistic interpretability approach for diffusion models by constructing Head Relevance Vectors (HRVs) that align with human-specified visual concepts. An HRV for a given visual concept has a length equal to the total number of cross-attention heads, with each element representing the importance of the corresponding head for the given visual concept. To validate HRVs as interpretable features, we develop an ordered weakening analysis that demonstrates their effectiveness. Furthermore, we propose concept strengthening and concept adjusting methods and apply them to enhance three visual generative tasks. Our results show that HRVs can reduce misinterpretations of polysemous words in image generation, successfully modify five challenging attributes in image editing, and mitigate catastrophic neglect in multi-concept generation. Overall, our work provides an advancement in understanding cross-attention layers and introduces new approaches for fine-controlling these layers at the head level 1 .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- What Concepts Lie Within? Detecting and Suppressing Risky Content in Diffusion Transformers 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis 引用了 Learning Transferable Visual Models From Natural Language Supervision
- UniHOI: Unified Human-Object Interaction Understanding via Unified Token Space 引用了 SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- UniHOI: Unified Human-Object Interaction Understanding via Unified Token Space 引用了 BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models
- UniHOI: Unified Human-Object Interaction Understanding via Unified Token Space 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Models 引用了 SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow Transformers 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow Transformers 引用了 SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow Transformers 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Learning Transferable Visual Models From Natural Language Supervision 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow Models 引用了 High-Resolution Image Synthesis with Latent Diffusion Models
- Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow Models 引用了 SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
- Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow Models 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
引用它的顶会 Paper8
- Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow ModelsDonghoon Ahn, Jiwon Kang, Sanghyun Lee, Minjae Kim 等NeurIPS 2025 · 5 次引用
- UniHOI: Unified Human-Object Interaction Understanding via Unified Token SpacePanqi Yang, Haodong Jing, Nanning Zheng, Yongqiang MaAAAI 2026 · 2 次引用
- Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion ModelsKatarzyna Zaleska, Lukasz Popek, Monika Wysoczanska, Kamil DejaCVPR 2026 · 2 次引用
- SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow TransformersXiang Yang, Feifei Li, Mi Zhang, Geng Hong 等CVPR 2026 · 2 次引用
- What Concepts Lie Within? Detecting and Suppressing Risky Content in Diffusion TransformersChenyu Zhang, Lanjun Wang, Yueyang Cheng, Ruidong Chen 等CCS 2026 · 1 次引用
它引用的 Paper23
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
- BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language ModelsJunnan Li, Dongxu Li, Silvio Savarese, Steven C. H. HoiICML 2023 · 7,873 次引用
- SDXL: Improving Latent Diffusion Models for High-Resolution Image SynthesisDustin Podell, Zion English, Kyle Lacey, Andreas Blattmann 等ICLR 2024 · 4,569 次引用
相关 Paper
- Mechanistic Dissection of Cross-Attention Subspaces in Text-to-Image Diffusion ModelsJun-Hyun Bae, Wonyong Jo, Jaehyup Lee, Heechul JungAAAI 2026
- Head Pursuit: Probing Attention Specialization in Multimodal TransformersLorenzo Basile, Valentino Maiorca, Diego Doimo, Francesco Locatello 等NeurIPS 2025 · 21 次引用
- Mechanistic Interpretability of Text-to-Image Diffusion Models via Cross-Attention InterventionsMaisha Maliha, Dean F. HougenACL Findings 2026 · 1 次引用
- Circuit Mechanisms for Spatial Relation Generation in Diffusion TransformersBinxu Wang, Jingxuan Fan, Xu PanCVPR 2026 · 4 次引用
- Responsible Text-to-Image Diffusion: Interpretable and Linearly Controllable Semantics for Fair and Safe GenerationSayedmoslem Shokrolahi, Jae-Mo Kang, Il-Min KimICML 2026
