atlas

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

Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Models

AAAI 2024 · Image generation › Text-to-image diffusion · approach: Compositional text-to-image guidance · 35 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.

Proposes BoxNet, a per-timestep box predictor trained on frozen Stable Diffusion features, plus unique-mask cross- and self-attention control, as a training-light plugin that reduces attribute leakage, entity leakage, and missing entities in T2I generation.

Problem

Text-to-image diffusion models such as Stable Diffusion misbind attributes to entities, leak entities into one another, and omit entities mentioned in compositional prompts.

Approach

A BoxNet transformer, attached to frozen SD U-Net features at each denoising step, predicts a box per parsed entity; these boxes become unique Gaussian-argmax masks that constrain cross-attention token maps and self-attention maps during sampling, without fine-tuning SD.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add BoxNet and non-unique cross-attention mask control (ablation)Stable Diffusion · COCOMin. Object Score: 0.3973 ± 0.0021 -> 0.4010 ± 0.0028No clear effect
Add unique mask control (ablation)Stable Diffusion with BoxNet and cross-attention control · COCOMin. Object Score: 0.4010 ± 0.0028 -> 0.4456 ± 0.0039Helped
Add unique mask control (ablation)Stable Diffusion with BoxNet and cross-attention control · NON-COCOMin. Object Score: 0.4307 ± 0.0042 -> 0.4779 ± 0.0055Helped
Add self-attention control (ablation)Stable Diffusion with BoxNet and unique cross-attention masks · COCOMin. Object Score: 0.4456 ± 0.0039 -> 0.6028 ± 0.0047Helped
Add self-attention control (ablation)Stable Diffusion with BoxNet and unique cross-attention masks · NON-COCOMin. Object Score: 0.4779 ± 0.0055 -> 0.5991 ± 0.0044Helped
Add cross- and self-attention mask controlStable Diffusion · COCOMin. Object Score: 0.3973 ± 0.0021 -> 0.6028 ± 0.0047Helped
Add cross- and self-attention mask controlStable Diffusion · NON-COCOMin. Object Score: 0.3998 ± 0.0048 -> 0.5991 ± 0.0044Helped
Add cross- and self-attention mask controlAAE · NON-COCOMin. Object Score: 0.4338 ± 0.0021 -> 0.5918 ± 0.0028Mixed
Add cross- and self-attention mask controlGLIGEN · COCOMin. Object Score: 0.5046 ± 0.0022 -> 0.6718 ± 0.0045Helped
Add cross- and self-attention mask controlGLIGEN · NON-COCOMin. Object Score: 0.4574 ± 0.0059 -> 0.6839 ± 0.0024Helped
Add cross- and self-attention mask controlStable Diffusion · COCOFID: 17.79 -> 17.47Helped

Surprising findings

Limitations

Experimental setup

Datasets: COCO 2014

Benchmarks: Self-built color-entity benchmark (COCO and NON-COCO categories) FID on 10k COCO validation prompts

Metrics: Min. Object Score (Grounding DINO) Subjective Fidelity Score (user study) Avg CLIP image-text Avg CLIP text-text FID

Baselines: Stable Diffusion StructureDiffusion Attend-and-Excite

Builds on: Stable Diffusion Attend-and-Excite DETR GLIGEN

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