atlas

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

RealCompo: Balancing Realism and Compositionality Improves Text-to-Image Diffusion Models

NeurIPS 2024 · Image generation › Text-to-image diffusion · approach: Compositional text-to-image guidance · 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 RealCompo, a training-free framework that combines a text-to-image diffusion model and a spatial-aware (layout/keypoint/segmentation) diffusion model via a cross-attention-driven dynamic balancer that adjusts each model's noise coefficients during denoising.

Problem

Text-to-image diffusion models struggle with multi-object compositional generation, while layout-to-image models improve compositionality but lose realism and aesthetic quality as layout control strengthens.

Approach

A balancer dynamically weights the predicted noise of a T2I model and a spatial-aware diffusion model at each denoising step, updating the weights by gradient descent on a loss that measures how well cross-attention maps align with the layout/region masks; LLM (GPT-4) generates layouts, and a transfer function extends it to keypoints and segmentation maps.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Combine SD v1.5 and GLIGEN with the RealCompo balancer instead of using PixArt-$\alpha$Text-to-image generation · T2I-CompBenchColor: 0.6886 -> 0.7741Helped
Combine SD v1.5 and GLIGEN with the RealCompo balancer instead of using PixArt-$\alpha$Text-to-image generation · T2I-CompBenchShape: 0.5582 -> 0.6032Helped
Combine SD v1.5 and GLIGEN with the RealCompo balancer instead of using PixArt-$\alpha$Text-to-image generation · T2I-CompBenchTexture: 0.7044 -> 0.7427Helped
Combine SD v1.5 and GLIGEN with the RealCompo balancer instead of using GLIGENText-to-image generation · T2I-CompBenchSpatial: 0.2632 -> 0.3173Helped
Combine SD v1.5 and GLIGEN with the RealCompo balancer instead of using PixArt-$\alpha$Text-to-image generation · T2I-CompBenchNon-Spatial: 0.3179 -> 0.3294Helped
Combine SD v1.5 and GLIGEN with the RealCompo balancer instead of using LMD+Text-to-image generation · T2I-CompBenchNumeracy: 0.5762 -> 0.6592Helped
Combine SD v1.5 and GLIGEN with the RealCompo balancer instead of using PixArt-$\alpha$Text-to-image generation · T2I-CompBenchComplex: 0.4117 -> 0.4657Helped
Combine SD v1.5 and GLIGEN with the RealCompo balancer instead of using TokenCompose v2.1Text-to-image generation · COCO validation prompts (3K)CLIP Score: 0.323 -> 0.334Helped
Combine SD v1.5 and GLIGEN with the RealCompo balancer instead of using Stable Diffusion XLText-to-image generation · COCO validation prompts (3K)Aesthetic Score: 5.531 -> 5.742Helped
Add the dynamic balancer to the T2I and layout-to-image noise combination (ablation)RealCompo · Layout-based compositional generationLayout alignmentHelped

Surprising findings

Limitations

Experimental setup

Datasets: COCO validation set (3K prompts)

Benchmarks: T2I-CompBench COCO validation subset (CLIP score, aesthetic score)

Metrics: T2I-CompBench attribute binding scores spatial non-spatial numeracy complex CLIP score LAION aesthetic score user study votes

Baselines: Stable Diffusion v1.4 Stable Diffusion v2 Structured Diffusion Attend-and-Excite DALL-E 2 Stable Diffusion XL PixArt-alpha GLIGEN LMD+ TokenCompose Layout Guidance InstantStyle

Builds on: GLIGEN ControlNet Attend-and-Excite Layout Guidance LMD

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