6
0

Control and Realism: Best of Both Worlds in Layout-to-Image without Training

Bonan Li
Yinhan Hu
Songhua Liu
Xinchao Wang
Author Contacts:
Main:9 Pages
7 Figures
Bibliography:3 Pages
2 Tables
Abstract

Layout-to-Image generation aims to create complex scenes with precise control over the placement and arrangement of subjects. Existing works have demonstrated that pre-trained Text-to-Image diffusion models can achieve this goal without training on any specific data; however, they often face challenges with imprecise localization and unrealistic artifacts. Focusing on these drawbacks, we propose a novel training-free method, WinWinLay. At its core, WinWinLay presents two key strategies, Non-local Attention Energy Function and Adaptive Update, that collaboratively enhance control precision and realism. On one hand, we theoretically demonstrate that the commonly used attention energy function introduces inherent spatial distribution biases, hindering objects from being uniformly aligned with layout instructions. To overcome this issue, non-local attention prior is explored to redistribute attention scores, facilitating objects to better conform to the specified spatial conditions. On the other hand, we identify that the vanilla backpropagation update rule can cause deviations from the pre-trained domain, leading to out-of-distribution artifacts. We accordingly introduce a Langevin dynamics-based adaptive update scheme as a remedy that promotes in-domain updating while respecting layout constraints. Extensive experiments demonstrate that WinWinLay excels in controlling element placement and achieving photorealistic visual fidelity, outperforming the current state-of-the-art methods.

View on arXiv
@article{li2025_2506.15563,
  title={ Control and Realism: Best of Both Worlds in Layout-to-Image without Training },
  author={ Bonan Li and Yinhan Hu and Songhua Liu and Xinchao Wang },
  journal={arXiv preprint arXiv:2506.15563},
  year={ 2025 }
}
Comments on this paper