atlas

Research map / Detection and segmentation / Open-set and few-shot detection

Easing Concept Bleeding in Diffusion via Entity Localization and Anchoring

ICML 2024 · Detection and segmentation › Open-set and few-shot detection · approach: Object-level representation learning

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 Entity Localization and Anchoring (ELA), a training-free inference-time method that localizes entity regions from cross-attention maps of Stable Diffusion and updates latents with a concentration/attenuation loss to reduce concept bleeding.

Problem

Text-to-image diffusion models suffer concept bleeding (entity leakage, attribute binding errors) and missing entities when prompts contain multiple objects, due to cross-attention maps spilling into background and other entities.

Approach

Localize each entity's region by differencing its cross-attention map against other entities and the SoT background map, then anchor entity attention inside the mask by gradient updates to the latent during early denoising steps, with no training required.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply entity localization and anchoring to cross-attention mapsStable Diffusion V-1.4 · Animal-animal pairsCLIP text-text similarity: 0.7571 ± 0.0942 -> 0.7964 ± 0.0822Helped
apply entity localization and anchoring to cross-attention mapsStable Diffusion V-1.4 · Animal-object pairsCLIP text-text similarity: 0.7837 ± 0.1030 -> 0.8559 ± 0.0791Helped
apply entity localization and anchoring to cross-attention mapsStable Diffusion V-1.4 · Object-object pairsCLIP text-text similarity: 0.7350 ± 0.1003 -> 0.8135 ± 0.0919Helped
apply entity localization and anchoringStable Diffusion V-1.4 · All promptsCLIP text-image similarity (Full Prompt): 0.3258 -> 0.3307Helped
apply entity localization and anchoringStable Diffusion V-1.4 · All promptsCLIP text-image similarity (Min. Entity): 0.2362 -> 0.2429Helped
increase the attenuation weight λ (ablation)ELA · Multi-entity promptsentity leakageHelped
set λ exclusively to 1, minimizing attenuation without concentration (ablation)ELA · Multi-entity promptsentity generationHurt
use UP-1 attention maps instead of the full method's attention maps (ablation)ELA · Animal-animal pairsCLIP text-text similarity: 0.7964 -> 0.7651Hurt
use UP-2 attention maps instead of the full method's attention maps (ablation)ELA · Animal-animal pairsCLIP text-text similarity: 0.7964 -> 0.7724Hurt
use UP-1 and UP-2 attention maps (ablation)ELA · Animal-animal pairsCLIP text-text similarity: 0.7964 -> 0.7930Hurt

Surprising findings

Limitations

Experimental setup

Benchmarks: Entity-pair prompts (animal-animal, animal-object, object-object) Attribute binding prompts

Metrics: CLIP text-image similarity CLIP text-text similarity (BLIP captions) human preference assessment

Baselines: Stable Diffusion StructureDiffusion Attend-and-Excite Linguistic Binding

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

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