atlas

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

Relation Rectification in Diffusion Model

CVPR 2024 · Image generation › Text-to-image diffusion · approach: Text-driven synthesis and semantic guidance · 6 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 Relation Rectification, training a lightweight heterogeneous GCN (RRNet) to adjust CLIP [EOT] text embeddings of object-swapped prompts so Stable Diffusion 2-1 generates the correct directional relation, with the diffusion model and text encoder frozen.

Problem

Text-to-image diffusion models often fail to depict directional relationships between objects (e.g., "a book on a bowl" yields "a bowl on a book") because the text encoder's [EOT] embeddings for object-swapped prompts are nearly identical.

Approach

Model object-swapped prompts as directed heterogeneous graphs (object, relation, and [EOT] node types), use an HGCN to produce an adjustment vector added to the [EOT] embedding, and train it with a denoising loss plus a negative loss on the swapped prompt, keeping SD and the text encoder frozen.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use RRNet to adjust the [EOT] embedding instead of vanilla conditioningStable Diffusion 2-1 · Positional relationshipsaccuracy (Qwen-VL-Chat): 0.467 -> 0.697Helped
use RRNet to adjust the [EOT] embedding instead of vanilla conditioningStable Diffusion 2-1 · Action relationshipsaccuracy (LLaVA): 0.543 -> 0.632Helped
increase RRNet adjustment weight from λ=0.6 to λ=1 (ablation)RRNet · Action relationshipsaccuracy (Qwen-VL-Chat): 0.500 -> 0.490No clear effect
increase RRNet adjustment weight from λ=0.6 to λ=1 (ablation)RRNet · COCO validation setFID: 100.78 -> 110.01Hurt
add HGCN relational graph modeling (ablation)RRNet · Positional relationshipsaccuracy (Qwen-VL-Chat): 0.509 -> 0.697Helped
add negative loss (ablation)RRNet · Action relationshipsaccuracy (Qwen-VL-Chat): 0.451 -> 0.500Helped
add object node disentanglement (ablation)RRNet · Action relationshipsaccuracy (Qwen-VL-Chat): 0.426 -> 0.500Helped
optimize the CLIP text encoder rather than use HGCN-based RRNetStable Diffusion 2-1 · Action relationshipsaccuracy (Qwen-VL-Chat): 0.399 -> 0.273Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Relation Rectification Benchmark (self-curated) COCO validation set (for FID)

Benchmarks: Relation Rectification Benchmark COCO validation set (FID)

Metrics: relationship generation accuracy object generation accuracy (OGA) FID user preference rate

Baselines: Stable Diffusion Personalized Diffusion

Builds on: Stable Diffusion CLIP Graph Convolutional Network Personalized diffusion (Textual Inversion/DreamBooth-style text encoder tuning)

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