Zero-Painter: Training-Free Layout Control for Text-to-Image Synthesis
Marianna Ohanyan, Hayk Manukyan, Zhangyang Wang, Shant Navasardyan, Humphrey Shi
TL;DR
Zero-Painter tackles layout-conditioned text-to-image synthesis without training by conditioning on per-object masks $M_i$, per-object prompts $\tau_i$, and a global prompt $\tau_{global}$. It introduces a two-stage pipeline: Stage 1 Single Object Generation with Prompt-Adjusted Cross-Attention (PACA) to enforce object shape and attribute fidelity, and Stage 2 Comprehensive Composition with Region-Grouped Cross-Attention (ReGCA) to fuse objects coherently. The main contributions are the PACA and ReGCA blocks, the training-free two-stage framework, and extensive evaluation showing improved shape fidelity and textual alignment over state-of-the-art. This approach enables precise, mask-aware text-to-image synthesis for complex layouts without fine-tuning, leveraging diffusion foundations like Stable Diffusion and SAM-based segmentation. $M_i$, \tau_i$, and $\tau_{global}$ are central conditioning signals in the pipeline.
Abstract
We present Zero-Painter, a novel training-free framework for layout-conditional text-to-image synthesis that facilitates the creation of detailed and controlled imagery from textual prompts. Our method utilizes object masks and individual descriptions, coupled with a global text prompt, to generate images with high fidelity. Zero-Painter employs a two-stage process involving our novel Prompt-Adjusted Cross-Attention (PACA) and Region-Grouped Cross-Attention (ReGCA) blocks, ensuring precise alignment of generated objects with textual prompts and mask shapes. Our extensive experiments demonstrate that Zero-Painter surpasses current state-of-the-art methods in preserving textual details and adhering to mask shapes.
