arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.14408cs.CV
收藏

文本锚定分数合成:解决文本到图像扩散模型中的条件对齐问题

Text-Anchored Score Composition: Tackling Condition Misalignment in Text-to-Image Diffusion Models

Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));ZhejiangLab(浙江省实验室);Zhejiang University(浙江大学);Adobe Research(奥多比研究中心)

Luozhou Wang, Guibao Shen, Wenhang Ge, Guangyong Chen, Yijun Li, Ying-cong Chen

AI总结:

针对文本到图像扩散模型中文本与额外条件不对齐导致生成效果不佳的问题,提出无需训练的TASC方法,通过条件分离计算与注意力重对齐提升可控性,性能优于现有方法。

摘要:

文本到图像扩散模型通过支持文本之外的各种附加条件(如深度图、边界框),已朝着更可控的生成方向发展。然而,这些模型的学习基于文本与额外条件完美对齐的前提。如果这种对齐未得到满足,最终输出可能要么被单一条件主导,要么会产生歧义,无法满足用户预期。为解决这一问题,我们提出了一种无需训练的方法,名为Text-Anchored Score Composition(TASC,文本锚定分数合成),以在提供部分对齐条件时进一步提升现有模型的可控性。TASC首先根据成对关系分离条件,分别计算每对的结果。这确保了每对条件不再存在冲突。随后我们提出了注意力重对齐操作,通过交叉注意力机制将这些独立计算的结果重新对齐,以避免在重新组合时产生新的冲突。定性和定量结果均证明了我们的方法在处理未对齐条件方面的有效性,其性能优于近期的方法,更重要的是为可控图像生成流程增加了灵活性。我们的代码将发布于:https://github.com/EnVision-Research/Decompose-and-Realign。

英文摘要:

Text-to-image diffusion models have advanced towards more controllable generation via supporting various additional conditions (e.g.,depth map, bounding box) beyond text. However, these models are learned based on the premise of perfect alignment between the text and extra conditions. If this alignment is not satisfied, the final output could be either dominated by one condition, or ambiguity may arise, failing to meet user expectations. To address this issue, we present a training free approach called Text-Anchored Score Composition (TASC) to further improve the controllability of existing models when provided with partially aligned conditions. The TASC firstly separates conditions based on pair relationships, computing the result individually for each pair. This ensures that each pair no longer has conflicting conditions. Then we propose an attention realignment operation to realign these independently calculated results via a cross-attention mechanism to avoid new conflicts when combining them back. Both qualitative and quantitative results demonstrate the effectiveness of our approach in handling unaligned conditions, which performs favorably against recent methods and more importantly adds flexibility to the controllable image generation process. Our code will be available at: https://github.com/EnVision-Research/Decompose-and-Realign.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑