arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.08768cs.CV
收藏

文本到图像扩散模型的局部条件控制

Local Conditional Controlling for Text-to-Image Diffusion Models

Zhejiang University(浙江大学);Fabu Inc.(Fabu公司);Xidian University(西安电子科技大学);Tencent Inc.(腾讯公司)

Yibo Zhao, Liang Peng, Yang Yang, Zekai Luo, Hengjia Li, Yao Chen, Zheng Yang, Xiaofei He, Wei Zhao, qinglin lu, Boxi Wu, Wei Liu

AI总结:

本文针对文本到图像扩散模型提出局部条件控制方法,通过区域判别损失、聚焦令牌响应和特征掩码约束,在推理阶段解决局部控制主导问题,实现非控制区域高质量物体生成。

摘要:

扩散模型在文本到图像任务中展现了令人印象深刻的能力。近期的方法添加了图像级结构控制(例如边缘图和深度图),与文本提示一起操纵生成过程以获得期望的图像。这种控制过程是在整个图像上全局操作的,限制了控制区域的灵活性。在本文中,我们探索了一种新颖且实用的任务设置:局部控制。它侧重于根据用户定义的图像条件控制特定的局部区域,而其余区域仅由原始文本提示作为条件。然而,实现局部条件控制并非易事。直接添加局部条件的朴素方式可能导致局部控制主导问题,迫使模型聚焦于受控区域而忽略其他区域的物体生成。为缓解此问题,我们提出区域判别损失来更新带噪潜变量,旨在增强非控制区域的物体生成。此外,提出的聚焦令牌响应抑制了缺乏最强响应的较弱注意力分数,以增强物体区分度并减少重复。最后,我们采用特征掩码约束来减少由局部控制区域间信息差异引起的图像质量退化。所有提出的策略均在推理阶段执行。大量实验表明,我们的方法能够在局部控制条件下合成与文本提示对齐的高质量图像。

英文摘要:

Diffusion models have exhibited impressive prowess in the text-to-image task. Recent methods add image-level structure controls, e.g., edge and depth maps, to manipulate the generation process together with text prompts to obtain desired images. This controlling process is globally operated on the entire image, which limits the flexibility of control regions. In this paper, we explore a novel and practical task setting: local control. It focuses on controlling specific local region according to user-defined image conditions, while the remaining regions are only conditioned by the original text prompt. However, it is non-trivial to achieve local conditional controlling. The naive manner of directly adding local conditions may lead to the local control dominance problem, which forces the model to focus on the controlled region and neglect object generation in other regions. To mitigate this problem, we propose Regional Discriminate Loss to update the noised latents, aiming at enhanced object generation in non-control regions. Furthermore, the proposed Focused Token Response suppresses weaker attention scores which lack the strongest response to enhance object distinction and reduce duplication. Lastly, we adopt Feature Mask Constraint to reduce quality degradation in images caused by information differences across the local control region. All proposed strategies are operated at the inference stage. Extensive experiments demonstrate that our method can synthesize high-quality images aligned with the text prompt under local control conditions.

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

↑