atlas

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

R&B: Region and Boundary Aware Zero-shot Grounded Text-to-image Generation

ICLR 2024 · Image generation › Text-to-image diffusion · approach: Compositional text-to-image guidance · 1 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 R&B, a training-free backward cross-attention guidance method for zero-shot layout-grounded text-to-image generation with Stable Diffusion, using dynamic thresholding, box selection via straight-through estimator, and region- and boundary-aware losses.

Problem

Text-to-image diffusion models often ignore or misplace objects relative to a specified layout (bounding boxes), and existing zero-shot layout guidance methods give imprecise spatial control and suffer semantic errors such as missing objects and attribute misbinding.

Approach

Binarize aggregated cross-attention maps with a dynamic threshold, take their minimum bounding rectangles, and connect these hard boxes to the soft attention maps via a straight-through estimator so a region-aware IoU-style loss can directly push boxes toward ground truth; add a Sobel-based boundary-aware loss to sharpen attention edges inside boxes, applied only in the first 10 denoising steps.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add region-aware loss (ablation)R&B · HRS Spatialaccuracy (%): 20.01 -> 30.14Helped
add region-aware loss (ablation)R&B · HRS Sizeaccuracy (%): 15.05 -> 26.74Helped
add region-aware loss (ablation)R&B · HRS Coloraccuracy (%): 23.22 -> 32.04Helped
add region-aware loss (ablation)R&B · DrawBench Spatialaccuracy (%): 42.50 -> 55.00Helped
add boundary-aware loss (ablation)R&B · HRS Spatialaccuracy (%): 25.99 -> 30.14Helped
add boundary-aware loss (ablation)R&B · HRS Sizeaccuracy (%): 23.26 -> 26.74Helped
add boundary-aware loss (ablation)R&B · HRS Coloraccuracy (%): 27.32 -> 32.04Helped
add boundary-aware loss (ablation)R&B · DrawBench Spatialaccuracy (%): 47.50 -> 55.00Helped
use discrete sampling (ablation)R&B · MS-COCO subsetmIoU: 0.5106 -> 0.5533Helped
use discrete sampling (ablation)R&B · MS-COCO subsetT2I-Sim: 0.3142 -> 0.3218Helped
set guidance ratio to 300 rather than 70 (ablation)R&B · MS-COCOmIoU: 0.5533 -> 0.4818Hurt
set guidance ratio to 300 rather than 70 (ablation)R&B · MS-COCOT2I-Sim: 0.3218 -> 0.3007Hurt

Surprising findings

Limitations

Experimental setup

Datasets: HRS DrawBench MS-COCO

Benchmarks: HRS DrawBench MS-COCO

Metrics: accuracy mean IoU CLIP-Score

Baselines: Stable Diffusion BoxDiff Layout-guidance Attention-refocusing GLIGEN

Builds on: Layout-guidance BoxDiff Attention-refocusing classifier guidance

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