TL;DR
Composer is a novel framework that explicitly decouples an image's aesthetic composition from its semantic content to give users precise control over text-to-image generation. By isolating composition into two semantic-agnostic representations—spatial structure and color distribution—it enables explicit composition transfer from reference images, automated composition planning via Large Vision-Language Models (LVLMs), and reference-free aesthetic enhancement.
What Problem Does This Paper Address?
While modern text-to-image diffusion models generate highly realistic images, controlling their composition—the abstract arrangement of shapes, lines, and color harmonies—remains a challenge.
Currently, models handle composition in one of two ways:
- Implicitly, by training on high-quality datasets, which yields beautiful images but offers the user zero control over the layout.
- Via layout-based controls (like bounding boxes or masks), which force users to define precise spatial constraints for specific objects.
The core issue is that composition in art operates independently of semantic content (e.g., the "rule of thirds" applies equally to a mountain landscape or a portrait). Existing tools struggle to transfer or plan a global layout without accidentally dragging along the textures, objects, and meanings from the reference image.
Methods
Composer solves this by breaking composition control down into two main phases: Condition Extraction and Composition Control.
1. Semantic-Agnostic Extraction
To capture layout without semantics, the authors extract two distinct features from a reference image:
- Spatial Structure ($F_{struct}$): Using a localized saliency mapping algorithm with dynamic Gaussian blur kernel sizes, the framework maps out the density and distribution of primary objects while stripping away high-frequency details.
- Color Distribution ($F_{color}$): The framework applies a heavy Gaussian blur followed by Linear Iterative Clustering (SLIC) superpixel segmentation to capture regional dominant colors and their spatial relationships without capturing object textures.
2. Union-ControlNet
Instead of running two parallel ControlNet modules (which is computationally expensive and ignores the spatial overlap between structure and color), the authors introduce Union-ControlNet. This parameter-efficient module fuses the structural and color latents using a specialized modulation mechanism that allows for conditional re-weighting and feature interaction before feeding them into a single trainable encoder.
3. Composition Planning
When a user provides only a text prompt without a reference image, Composer offers two modes:
- Explicit Planning: It uses an LVLM (like Qwen2-VL) driven by Chain-of-Thought (CoT) prompting to act as an "art director," retrieving an aesthetically pleasing composition reference from an external database based on the prompt's theme.
- Implicit Planning: The control module undergoes text-to-composition fine-tuning using a specialized distance loss ($L_{t2c}$), allowing the network to infer an optimized composition directly from text tokens alone.
Datasets
To train the framework effectively, the authors curated a high-quality dataset of 2 million image-text pairs. They sourced diverse images from LLaVA-pretrain, LLaVA-next, and ProGamerGov synthetic datasets, upgrading the caption quality using Qwen2-VL and generating high-fidelity images via Flux1.0-dev.
For evaluation, the authors benchmarked Composer against standard datasets:
- MS-COCO: Used to evaluate image quality (FID) and text-image alignment (CLIP Score).
- PartiPrompts: Used to measure human aesthetic preferences and text faithfulness across 1,632 complex prompts.
Key Insights and Ideas
- Composition as a Low-Information Prior: The paper's foundational "aha moment" is that complex visual scenes are anchored by simple geometric skeletons and coarse color blocks. Intentionally destroying high-frequency data (via blurring and clustering) is actually the key to pure compositional control.
- Synergy Beats Separation: Fusing spatial structure and color harmony into a single conditioning pathway (Union-ControlNet) performs better than treating them as independent parallel conditions. It prevents conditional conflicts and significantly reduces inference latency.
- LVLMs as Abstract Thinkers: Instead of using simple keyword matching to find reference images, Chain-of-Thought prompting allows LVLMs to understand abstract aesthetic harmony, matching a prompt like "a robotic hand cooking" to a reference image with an entirely different subject but a perfectly balanced layout.
Key Results
- Aesthetic Superiority: On the MS-COCO dataset, Composer outperformed the fine-tuned Stable Diffusion baseline (SD-v15-ft) by +6.2% and IPAdapter by +4% in Aesthetic Score (Aes).
- Excellent Diversity: The reference-free variant (Composer-ref. free) achieved the best FID score (9.72) on MS-COCO, proving that omitting explicit spatial constraints preserves strong generation diversity.
- Scaling to SDXL: When implemented on Stable Diffusion XL (Composer-XL), the framework achieved the highest overall Aesthetic Score (5.99) on PartiPrompts.
- Efficiency Gains: In parameter efficiency tests on SDXL, Union-ControlNet-XL achieved an inference throughput of 2.65 steps/s, vastly outperforming a dual-branch ControlNet approach which crawled at 0.90 steps/s.
Limitations and Future Work
The authors note that because Composer intentionally focuses on low-frequency cues to remain semantic-agnostic, high-frequency geometric details (such as exact thin lines or sharp framing borders) are not fully preserved.
However, because Union-ControlNet modulates the diffusion backbone in a residual manner, it is highly complementary. Future work includes combining Composer out-of-the-box with fine-grained edge controllers (like Lineart ControlNet) at inference time to achieve simultaneous global layout control and sharp geometric precision.
Summary updated