Training-Free Layout-to-Image Generation with Marginal Attention Constraints
Huancheng Chen, Jingtao Li, Weiming Zhuang, Haris Vikalo, Lingjuan Lyu

TL;DR
This paper introduces MAC, a training-free method for layout-to-image generation that improves spatial control and object placement without additional training, by leveraging attention maps and loss functions during diffusion processes.
Contribution
The paper presents MAC, a novel training-free approach that enhances layout-to-image generation by using attention-based constraints, eliminating the need for fine-tuning or extra modules.
Findings
Outperforms existing training-free L2I methods quantitatively and qualitatively.
Effectively improves spatial controllability and object placement accuracy.
Demonstrates robustness across different diffusion models and benchmarks.
Abstract
Recently, many text-to-image diffusion models have excelled at generating high-resolution images from text but struggle with precise control over spatial composition and object counting. To address these challenges, prior works have developed layout-to-image (L2I) approaches that incorporate layout instructions into text-to-image models. However, existing L2I methods typically require fine-tuning of pre-trained parameters or training additional control modules for diffusion models. In this work, we propose a training-free L2I approach, MAC (Marginal Attention Constrained Generation), which eliminates the need for additional modules or fine-tuning. Specifically, we use text-visual cross-attention feature maps to quantify inconsistencies between the layout of the generated images and the provided instructions, and then compute loss functions to optimize latent features during the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Vision and Imaging · Image Processing Techniques and Applications · Advanced Image Processing Techniques
MethodsSoftmax · Attention Is All You Need · ALIGN · Diffusion
