Cross-Attention Head Position Patterns Can Align with Human Visual Concepts in Text-to-Image Generative Models
On the map: Diffusion models → Image generation, text-to-image and editing
Abstract (arXiv)
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.
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. First posted on arXiv 3 Dec 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 1; 2026: 6.
7 papers.
- 2025Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow Modelscited by 6
- 2026SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow Transformerscited by 2
- 2026Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Modelscited by 2
- 2026Interpretable Motion-Attentive Maps: Spatio-Temporally Localizing Concepts in Video Diffusion Transformerscited by 1
- 2026Selective Aggregation of Attention Maps Improves Diffusion-Based Visual Interpretationcited by 1
- 2026Orthogonal Negative Guidance in Attention Feature Space for Text-to-Image Generationcited by 0
- 2026BindEdit: Taming Attention Leakage for Precise Multi-Object Image Editingcited by 0
- 2026BindEdit: Taming Attention Leakage for Precise Multi-Object Image Editing17 Jun 2026
- 2026Orthogonal Negative Guidance in Attention Feature Space for Text-to-Image Generation28 May 2026
- 2026Selective Aggregation of Attention Maps Improves Diffusion-Based Visual Interpretation7 Apr 2026
- 2026SafeRoPE: Risk-specific Head-wise Embedding Rotation for Safe Generation in Rectified Flow Transformers2 Apr 2026
- 2026Attention, May I Have Your Decision? Localizing Generative Choices in Diffusion Models29 Mar 2026
- 2026Interpretable Motion-Attentive Maps: Spatio-Temporally Localizing Concepts in Video Diffusion Transformers3 Mar 2026
- 2025Where and How to Perturb: On the Design of Perturbation Guidance in Diffusion and Flow Models12 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2025Head Pursuit: Probing Attention Specialization in Multimodal Transformers
- 2026Concept Unlearning via Cross-Attention Activation Projection for Diffusion Models
- 2023Energy-Based Cross Attention for Bayesian Context Update in Text-to-Image Diffusion Models
- 2024Layout-to-Image Generation with Localized Descriptions using ControlNet with Cross-Attention Control
- 2023Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models
- 2023A-STAR: Test-time Attention Segregation and Retention for Text-to-image Synthesis
- 2024Attention Overlap Is Responsible for The Entity Missing Problem in Text-to-image Diffusion Models!
- 2024Enhancing Semantic Fidelity in Text-to-Image Synthesis: Attention Regulation in Diffusion Models