arrow
返回

MaskDiffusion: Boosting Text-to-Image Consistency with Conditional Mask

delete2024-12-12
delete0
PRE
AI
Y
Yupeng Zhou
D
Daquan Zhou
王亚星 封面图
王亚星 (Yaxing Wang)
J
Jiashi Feng
Q
Qibin Hou *
DOI:10.1007/s11263-024-02294-2delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Recent advancements in diffusion models have showcased their impressive capacity to generate visually striking images. However, ensuring a close match between the generated image and the given prompt remains a persistent challenge. In this work, we identify that a crucial factor leading to the erroneous generation of objects and their attributes is the inadequate cross-modality relation learning between the prompt and the generated images. To better align the prompt and image content, we advance the cross-attention with an adaptive mask, which is conditioned on the attention maps and the prompt embeddings, to dynamically adjust the contribution of each text token to the image features. This mechanism explicitly diminishes the ambiguity in the semantic information embedding of the text encoder, leading to a boost of text-to-image consistency in the synthesized images. Our method, termed MaskDiffusion, is training-free and hot-pluggable for popular pre-trained diffusion models. When applied to the latent diffusion models, our MaskDiffusion can largely enhance their capability to correctly generate objects and their attributes, with negligible computation overhead compared to the original diffusion models. Our project page is https://github.com/HVision-NKU/MaskDiffusion.
Keyword:
Diffusion model
Text-to-image generation
Conditional mask

期刊

International Journal of Computer Vision 封面图
International Journal of Computer Vision
IF:
9.3
论文数:
3.9K
被引数:
2.8W

机构

N
nankai university
学者数:
4.8W
论文数: 3.3W
被引数: 74
引用论文

引用论文

Telerobotics
err2016-07-27
err0
errOAAI
errGünter Niemeyer; Carsten Preusche; Stefano Stramigioli; Dongjun Lee
err分享
err收藏
Interspecific potato somatic hybrids between Solanum malmeanum and S. tuberosum provide valuable resources for freezing-tolerance breeding
err2021-06-25
err0
PREAI
errWei Tu; Jianke Dong; Ying Zou; Qinghao Zhao; Haibo Wang; Jingwen Ying; Jianghai Wu; Juan Du; Xingkui Cai; Botao Song
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
err分享
err收藏
err分享
err收藏
err分享
err收藏
Attend-and-Excite: Attention-Based Semantic Guidance for Text-to-Image Diffusion Models
err2023-07-26
err92
errOAAI
errChefer, Hila; Alaluf, Yuval; Vinker, Yael; Wolf, Lior; Cohen-Or, Daniel
err分享
err收藏
Abnormal Cortical Development after Premature Birth Shown by Altered Allometric Scaling of Brain Growth
err2006-08-01
err0
errOAAI
errOlga Kapellou; Serena J Counsell; Nigel Kennea; Leigh Dyet; Nadeem Saeed; Jaroslav Stark; Elia Maalouf; Philip Duggan; Morenike Ajayi-Obe; Jo Hajnal; Joanna M Allsop; James Boardman; Mary A Rutherford; Frances Cowan; A. David Edwards
err分享
err收藏
学者 查看更多内容