atlas

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

TokenCompose: Text-to-Image Diffusion with Token-level Supervision

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

Finetunes Stable Diffusion with token-level cross-attention losses supervised by Grounded-SAM segmentation masks of noun tokens to improve multi-category instance composition, and introduces the MultiGen benchmark.

Problem

Text-to-image latent diffusion models often fail to compose multiple object categories from a text prompt, especially categories that rarely co-occur in real scenes, because the denoising objective gives no token-level constraint between prompt nouns and image regions.

Approach

Adds token-level (aggregated attention inside masks) and pixel-level (binary cross-entropy on attention maps) losses over cross-attention maps for each noun token, with masks automatically obtained from a POS tagger and Grounded SAM, applied as a training-only finetuning objective with no inference cost.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
finetune Stable Diffusion 1.4 with token- and pixel-level grounding lossesStable Diffusion 1.4 · VISORObject Accuracy: 52.15 vs 29.86Helped
finetune Stable Diffusion 1.4 with token- and pixel-level grounding lossesStable Diffusion 1.4 · MULTIGEN COCO Instances MG3success rate: 76.161.04 vs 50.740.89Helped
finetune Stable Diffusion 1.4 with token- and pixel-level grounding lossesStable Diffusion 1.4 · COCO validationFID: 20.19 vs 20.88Helped
finetune Stable Diffusion 1.4 with token- and pixel-level grounding lossesStable Diffusion 1.4 · Image generationlatency: 7.560.14 vs 7.540.17No clear effect
add token and pixel grounding losses (ablation)Stable Diffusion 1.4 finetuned with denoising loss · MULTIGEN COCO Instances MG3success rate: 63.211.73 -> 76.161.04Helped
add token grounding loss (ablation)Stable Diffusion 1.4 finetuned with denoising loss · MULTIGEN COCO Instances MG3success rate: 71.611.06 -> 76.161.04Helped
add pixel grounding loss (ablation)Stable Diffusion 1.4 finetuned with denoising loss · MULTIGEN COCO Instances MG3success rate: 61.951.05 vs 63.211.73No clear effect
remove pixel grounding loss (ablation)TokenCompose · MULTIGEN COCO Instances MG3success rate: 73.801.33 -> 76.161.04Hurt
remove token grounding loss (ablation)TokenCompose · MULTIGEN COCO Instances MG3success rate: 71.611.06 -> 76.161.04Hurt
add grounding objectives to middle block and decoder layers (ablation)Stable Diffusion 1.4 · MULTIGEN COCO Instances MG3success rate: 73.801.33 -> 76.161.04Helped
add grounding objectives to encoder layers (ablation)TokenCompose · VISORObject Accuracy: 52.15 vs 42.92Hurt
add grounding objectives to Stable Diffusion 2.1Stable Diffusion 2.1 · MULTIGEN COCO Instances MG3success rate: 70.14 -> 80.48Helped

Surprising findings

Limitations

Experimental setup

Datasets: COCO Visual Spatial Reasoning Flickr30K Entities ADE20K COCO-Gen (DAAM)

Benchmarks: VISOR MultiGen T2I-CompBench COCO FID Flickr30K FID COCO-Gen mIoU (DAAM)

Metrics: object accuracy MG2-5 success rate FID latency mIoU attribute binding score

Baselines: Stable Diffusion 1.4 Composable Diffusion Layout Guidance Diffusion Structured Diffusion Attend-and-Excite

Builds on: Latent Diffusion Model Layout Guidance Diffusion Grounded SAM Attend-and-Excite

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