atlas

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

Open-Vocabulary Attention Maps with Token Optimization for Semantic Segmentation in Diffusion Models

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

Introduces OVAM, a training-free method that extracts diffusion cross-attention maps for any open-vocabulary word, plus a single-annotation token optimization that improves pseudo-mask quality for Stable Diffusion segmentation methods.

Problem

Diffusion-based pseudo-mask generation from cross-attention is limited to words present in the generation prompt, so classes not mentioned in the prompt cannot be segmented.

Approach

Use a separate attribution prompt's key projections with the pixel queries from the denoising UNet to form attention maps for arbitrary words, and optimize a single learned text-embedding token per class with BCE on one annotated image to improve attention masks, without retraining the diffusion model.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use OVAM-optimized tokens instead of class-name tokens (ablation)OVAM · VOC-simmIoU (%): 70.4 -> 82.5Helped
Use OVAM-optimized tokens instead of class-name tokens (ablation)OVAM · COCO-capmIoU (%): 58.2 -> 69.2Helped
Use OVAM-optimized tokensGrounded Diffusion · COCO-capmIoU (%): 50.2 -> 73.3Helped
Use OVAM-optimized tokensDatasetDM · COCO-capmIoU (%): 59.3 -> 60.5Helped
Add OVAM synthetic training data to VOC (R: 11.5K)Upernet (ResNet50) · VOC validation setmIoU (%): 54.3 -> 58.1Helped
Add OVAM synthetic training data to VOC (R: 11.5K)Mask2Former (Swin-B) · VOC validation setmIoU (%): 82.8 -> 83.8Helped
Use self-attention refinement without dCRF (ablation)OVAM · COCO-capmIoU (%): 58.2 -> 50.7Hurt
Use dCRF without self-attention refinement (ablation)OVAM · COCO-capmIoU (%): 58.2 -> 50.7Hurt
Extract cross-attention only from 16x16 blocks (ablation)OVAM · VOC-simmIoU (%): 70.4 -> 71.5Helped
Extract cross-attention only from 16x16 blocks (ablation)OVAM + token optimization · COCO-capmIoU (%): 69.2 -> 68.2Hurt

Surprising findings

Limitations

Experimental setup

Datasets: VOC12 COCO captions VOC-sim (generated) COCO-cap (generated)

Benchmarks: VOC-sim COCO-cap VOC validation set

Metrics: mIoU IoU

Baselines: DAAM Attn2Mask Grounded Diffusion DatasetDM

Builds on: DAAM Attn2Mask Grounded Diffusion DatasetDM 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