Lune

ICLR2025Top-tier venue

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

Abstract

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 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • What Concepts Lie Within? Detecting and Suppressing Risky Content in Diffusion Transformers cites High-Resolution Image Synthesis with Latent Diffusion Models
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites High-Resolution Image Synthesis with Latent Diffusion Models
  • SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis cites Learning Transferable Visual Models From Natural Language Supervision
  • UniHOI: Unified Human-Object Interaction Understanding via Unified Token Space cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
  • UniHOI: Unified Human-Object Interaction Understanding via Unified Token Space cites 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 cites Learning Transferable Visual Models From Natural Language Supervision
  • Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Models cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Models cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
  • Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Models cites Learning Transferable Visual Models From Natural Language Supervision
  • SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow Transformers cites High-Resolution Image Synthesis with Latent Diffusion Models
  • SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow Transformers cites SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesis
  • SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow Transformers cites Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision cites 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 cites High-Resolution Image Synthesis with Latent Diffusion Models
  • Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow Models cites 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 cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow ModelsDonghoon Ahn, Jiwon Kang, Sanghyun Lee, Minjae Kim et al.NeurIPS 2025 · 5 citations
  2. UniHOI: Unified Human-Object Interaction Understanding via Unified Token SpacePanqi Yang, Haodong Jing, Nanning Zheng, Yongqiang MaAAAI 2026 · 2 citations
  3. Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion ModelsKatarzyna Zaleska, Lukasz Popek, Monika Wysoczanska, Kamil DejaCVPR 2026 · 2 citations
  4. SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow TransformersXiang Yang, Feifei Li, Mi Zhang, Geng Hong et al.CVPR 2026 · 2 citations
  5. What Concepts Lie Within? Detecting and Suppressing Risky Content in Diffusion TransformersChenyu Zhang, Lanjun Wang, Yueyang Cheng, Ruidong Chen et al.CCS 2026 · 1 citation

Builds on23

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
  4. 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 citations
  5. SDXL: Improving Latent Diffusion Models for High-Resolution Image SynthesisDustin Podell, Zion English, Kyle Lacey, Andreas Blattmann et al.ICLR 2024 · 4,569 citations

Related papers

  1. Mechanistic Dissection of Cross-Attention Subspaces in Text-to-Image Diffusion ModelsJun-Hyun Bae, Wonyong Jo, Jaehyup Lee, Heechul JungAAAI 2026
  2. Head Pursuit: Probing Attention Specialization in Multimodal TransformersLorenzo Basile, Valentino Maiorca, Diego Doimo, Francesco Locatello et al.NeurIPS 2025 · 21 citations
  3. Mechanistic Interpretability of Text-to-Image Diffusion Models via Cross-Attention InterventionsMaisha Maliha, Dean F. HougenACL Findings 2026 · 1 citation
  4. Circuit Mechanisms for Spatial Relation Generation in Diffusion TransformersBinxu Wang, Jingxuan Fan, Xu PanCVPR 2026 · 4 citations
  5. Responsible Text-to-Image Diffusion: Interpretable and Linearly Controllable Semantics for Fair and Safe GenerationSayedmoslem Shokrolahi, Jae-Mo Kang, Il-Min KimICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines