STAY Diffusion: Styled Layout Diffusion Model for Diverse Layout-to-Image Generation
Ruyu Wang, Xuefeng Hou, Sabrina Schmedding, Marco F. Huber
TL;DR
This work tackles layout-to-image synthesis by introducing STAY Diffusion, a diffusion-based model that leverages global per-layout object representations and self-supervised masks to achieve fine-grained control over multiple objects. Two novel components, Edge-Aware Normalization (EAN) and Styled-Mask Attention (SMA), fuse layout information into the decoder and focus attention on relevant object regions, enabling diverse, accurate, and controllable image generation. The model is trained with standard diffusion objectives and uses classifier-free guidance during sampling, while producing self-supervised semantic maps that augment conditioning. Experiments on COCO-Stuff and Visual Genome show that STAY Diffusion advances state-of-the-art in diversity, accuracy, and controllability, and ablations confirm the contributions of EAN and SMA; mask-clarity analyses highlight the importance of high-quality object maps for conditional generation. The approach offers practical benefits for domain-specific editing and data augmentation where precise object control is essential, without relying on pretrained LTGMs.
Abstract
In layout-to-image (L2I) synthesis, controlled complex scenes are generated from coarse information like bounding boxes. Such a task is exciting to many downstream applications because the input layouts offer strong guidance to the generation process while remaining easily reconfigurable by humans. In this paper, we proposed STyled LAYout Diffusion (STAY Diffusion), a diffusion-based model that produces photo-realistic images and provides fine-grained control of stylized objects in scenes. Our approach learns a global condition for each layout, and a self-supervised semantic map for weight modulation using a novel Edge-Aware Normalization (EA Norm). A new Styled-Mask Attention (SM Attention) is also introduced to cross-condition the global condition and image feature for capturing the objects' relationships. These measures provide consistent guidance through the model, enabling more accurate and controllable image generation. Extensive benchmarking demonstrates that our STAY Diffusion presents high-quality images while surpassing previous state-of-the-art methods in generation diversity, accuracy, and controllability.
