Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Models
Ruichen Wang, Zekang Chen, Chen Chen, Jian Ma, Haonan Lu, Xiaodong Lin

TL;DR
This paper introduces an attention mask control method for diffusion models that improves semantic alignment in text-to-image synthesis by using predicted object boxes to constrain attention regions, enhancing attribute and entity fidelity.
Contribution
It proposes a novel attention mask control strategy based on predicted object boxes, improving semantic accuracy in text-to-image diffusion models, and can be easily integrated into existing systems.
Findings
Enhanced semantic accuracy in generated images
Effective attribute and entity preservation
Easy integration into existing models
Abstract
Recent text-to-image (T2I) diffusion models show outstanding performance in generating high-quality images conditioned on textual prompts. However, they fail to semantically align the generated images with the prompts due to their limited compositional capabilities, leading to attribute leakage, entity leakage, and missing entities. In this paper, we propose a novel attention mask control strategy based on predicted object boxes to address these issues. In particular, we first train a BoxNet to predict a box for each entity that possesses the attribute specified in the prompt. Then, depending on the predicted boxes, a unique mask control is applied to the cross- and self-attention maps. Our approach produces a more semantically accurate synthesis by constraining the attention regions of each token in the prompt to the image. In addition, the proposed method is straightforward and…
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.
Code & Models
Videos
Taxonomy
TopicsGenerative Adversarial Networks and Image Synthesis · Computational and Text Analysis Methods
Methodsfail · Diffusion · ALIGN
