atlas

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

Token Merging for Training-Free Semantic Binding in Text-to-Image Synthesis

NeurIPS 2024 · Image generation › Text-to-image diffusion · approach: Personalized and region-controlled generation · 3 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 Token Merging (ToMe), a training-free method that sums CLIP token embeddings of each object with its attributes/sub-objects into a composite token, plus end token substitution and two auxiliary losses applied early in SDXL denoising, to improve semantic binding in text-to-image generation.

Problem

Text-to-image diffusion models often fail to bind objects to their attributes and related sub-objects (semantic binding), and prior fixes require fine-tuning or LLM/layout specification.

Approach

Merge each object token with its related attribute/sub-object tokens by element-wise summation of CLIP text embeddings into one composite token sharing a single cross-attention map, replace the EOT tokens with those from a subject-only prompt (ETS), and iteratively update the composite token in the first 20% of denoising using an entropy loss and a semantic binding loss.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply ToMe to SDXLSDXL · T2I-CompBench color, texture, and shapeBLIP-VQA: Color: 0.7774 vs 0.7656; texture: 0.6686 vs 0.6894; shape: 0.5634 vs 0.6051Mixed
Apply ToMe to SDXLSDXL · GPT-4o object binding benchmarkGPT-4o score: 0.6481 -> 0.9549Helped
Add token merging and ETS (ablation)SDXL baseline · T2I-CompBench color, texture, and shapeBLIP-VQA: Color: 0.6369 -> 0.6577; texture: 0.5637 -> 0.5828; shape: 0.5408 -> 0.5437Helped
Add entropy loss to token merging and ETS (ablation)Config B · T2I-CompBench color, texture, and shapeBLIP-VQA: Color: 0.6577 -> 0.7525; texture: 0.5828 -> 0.6775; shape: 0.5437 -> 0.5797Helped
Add semantic binding loss to Config C (ablation)Config C · T2I-CompBench color, texture, and shapeBLIP-VQA: Color: 0.7525 -> 0.7656; texture: 0.6775 -> 0.6894; shape: 0.5797 -> 0.6051Helped
Remove entropy loss from full ToMe (ablation)ToMe full · T2I-CompBench color, texture, and shapeBLIP-VQA: Color: 0.7656 -> 0.6804; texture: 0.6894 -> 0.6263; shape: 0.6051 -> 0.5645Hurt
Use optimization losses without token merging (ablation)SDXL · T2I-CompBench color, texture, and shapeBLIP-VQA: Config D: 0.5881, 0.6194, 0.5386; Config E: 0.5983, 0.5798, 0.5125; baseline: 0.6369, 0.5637, 0.5408Hurt
Replace original end tokens with ETS (ablation)ToMe · Object binding promptssemantic bindingHelped
Splice token embeddings from different prompts instead of the same prompt (ablation)ToMe · Text-to-image generationobject presenceHurt

Surprising findings

Limitations

Experimental setup

Datasets: T2I-CompBench

Benchmarks: T2I-CompBench GPT-4o Benchmark

Metrics: BLIP-VQA ImageReward GPT-4o score DetScore

Baselines: SDXL Playground-v2 Ranni ELLA SynGen CoMat

Builds on: SDXL Attend-and-Excite SynGen Divide-and-Bind

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