paper-with-me

홈 › Papers

Compositional Text-to-Image Synthesis with Attention Map Control of Diffusion Models

2023-05-23 · Ruichen Wang, Zekang Chen, Chen Chen, Jian Ma, Haonan Lu, Xiaodong Lin

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 effective and can be readily integrated into existing cross-attention-based T2I generators. We compare our approach to competing methods and demonstrate that it can faithfully convey the semantics of the original text to the generated content and achieve high availability as a ready-to-use plugin. Please refer to https://github.com/OPPOMente-Lab/attention-mask-control.

📄 PDF Abstract BibTeX arXiv:2305.13921

Code (1)

OPPO-Mente-Lab/attention-mask-control 공식 구현 pytorch

Tasks

AttributeImage Generation

Methods 이 논문이 사용한 방법론

fail 설명 없음
Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Training-Free Structured Diffusion Guidance for Compositional Text-to-Image Synthesis

2022-12-09 · Weixi Feng, Xuehai He, Tsu-Jui Fu, Varun Jampani 외

Large-scale diffusion models have achieved state-of-the-art results on text-to-image synthesis (T2I) tasks. Despite their ability to generate high-quality yet creative images, we observe that attribution-binding and comp…

AttributeImage Generation

MUSE: Multi-Subject Unified Synthesis via Explicit Layout Semantic Expansion

2025-08-20 · Fei Peng, Junqiang Wu, Yan Li, Tingting Gao 외 arxiv

Existing text-to-image diffusion models have demonstrated remarkable capabilities in generating high-quality images guided by textual prompts. However, achieving multi-subject compositional synthesis with precise spatial…

StyleT2I: Toward Compositional and High-Fidelity Text-to-Image Synthesis

2022-03-29 · CVPR 2022 1 · Zhiheng Li, Martin Renqiang Min, Kai Li, Chenliang Xu

Although progress has been made for text-to-image synthesis, previous methods fall short of generalizing to unseen or underrepresented attribute compositions in the input text. Lacking compositionality could have severe …

AttributeFairnessImage GenerationVocal Bursts Intensity Prediction

DyST-XL: Dynamic Layout Planning and Content Control for Compositional Text-to-Video Generation

2025-04-21 · Weijie He, Mushui Liu, Yunlong Yu, Zhao Wang 외

Compositional text-to-video generation, which requires synthesizing dynamic scenes with multiple interacting entities and precise spatial-temporal relationships, remains a critical challenge for diffusion-based models. E…

AttributeDenoisingText-to-Video GenerationVideo Alignment+1

SemanticStyleGAN: Learning Compositional Generative Priors for Controllable Image Synthesis and Editing

2021-12-04 · CVPR 2022 1 · Yichun Shi, Xiao Yang, Yangyue Wan, Xiaohui Shen

Recent studies have shown that StyleGANs provide promising prior models for downstream tasks on image synthesis and editing. However, since the latent codes of StyleGANs are designed to control global styles, it is hard …

DisentanglementFacial EditingImage GenerationTransfer Learning