atlas

Research map / Image generation / Text-to-image diffusion

Cross-Attention Head Position Patterns Can Align with Human Visual Concepts in Text-to-Image Generative Models

ICLR 2025 · Image generation › Text-to-image diffusion · approach: Compositional text-to-image guidance · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Constructs head relevance vectors (HRVs) mapping cross-attention heads of Stable Diffusion to 34 human-specified visual concepts, validates them via ordered weakening, and uses concept strengthening/adjusting to improve polysemy handling, image editing (P2P-HRV) and multi-concept generation (A&E-HRV).

Problem

Cross-attention layers in text-to-image diffusion models are poorly understood at the head level, and existing methods steer whole CA layers without fine-grained per-head control over human-specified visual concepts.

Approach

Builds a per-concept vector over all cross-attention heads by counting, for each random generation and timestep, which concept's token attention is strongest at each head; validates it with ordered weakening of heads and reuses the vectors as per-head rescaling factors for concept strengthening and adjusting.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply concept adjusting to polysemous-word promptsStable Diffusion v1.4 · Polysemous-word promptsHuman perceived misinterpretation rate: 63.0\% to 15.9\%Helped
Add concept strengthening to Attend-and-ExciteMulti-concept generation Type 1 · Multi-concept generation Type 1Full Prompt: 0.3544 -> 0.3702~(+4.5\%)Helped
Add concept strengthening to Attend-and-ExciteMulti-concept generation Type 1 · Multi-concept generation Type 1Min. Object: 0.2017 -> 0.2078~(+3.0\%)Helped
Add concept strengthening to Attend-and-ExciteMulti-concept generation Type 1 · Multi-concept generation Type 1BLIP-score: 0.7049 -> 0.7491~(+6.3\%)Helped
Add concept strengthening to Attend-and-ExciteMulti-concept generation Type 2 · Multi-concept generation Type 2Full Prompt: 0.3883 -> 0.3971~(+2.3\%)Helped
Add concept strengthening to Attend-and-ExciteMulti-concept generation Type 2 · Multi-concept generation Type 2Min. Object: 0.1972 -> 0.2073~(+5.1\%)Helped
Add concept strengthening to Attend-and-ExciteMulti-concept generation Type 2 · Multi-concept generation Type 2BLIP-score: 0.6373 -> 0.6580~(+3.2\%)Helped
Add concept strengthening to P2PImage editing · Image StyleCLIP: 0.3286 -> 0.3424Helped
Add concept strengthening to P2PImage editing · Weather ConditionsCLIP: 0.3046 -> 0.3348Helped
Use concept adjusting instead of concept strengthening (ablation)SD-HRV · Polysemous-word promptsMisinterpretationHelped
Order heads by HRV relevance rather than random order (ablation)Ordered weakening analysis · Six visual conceptsLeRHF − MoRHF area: 10.12 vs 0.62Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet class names PromptHero prompts

Benchmarks: P2P editing prompts (own set) Attend-and-Excite multi-concept prompts (Type 1 and Type 2) polysemous word prompts (own set of 10)

Metrics: CLIP image-text similarity BG-DINO score human preference score full prompt similarity minimum object similarity BLIP-score human perceived misinterpretation rate CLIP similarity change under ordered weakening

Baselines: Stable Diffusion Structured Diffusion Attend-and-Excite SDEdit Prompt-to-Prompt PnP MasaCtrl FPE

Builds on: Prompt-to-Prompt Attend-and-Excite Stable Diffusion P2P rescaling

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy