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

增强基于MMDiT的文本到图像模型以实现相似主体生成

Enhancing MMDiT-Based Text-to-Image Models for Similar Subject Generation

S-Lab, Nanyang Technological University(南洋理工大学S-Lab);Microsoft GenAI(微软生成式人工智能部门)

Tianyi Wei, Dongdong Chen, Yifan Zhou, Xingang Pan

AI总结:

针对MMDiT文本到图像模型在生成语义或外观相似的多个主体时存在的主体忽略或混合问题,通过识别三种架构歧义并提出测试时优化、三种损失函数及两种补充策略,在新数据集上实现了更优的生成质量和成功率。

摘要:

作为文本到图像模型的前沿技术,最新的多模态扩散Transformer(MMDiT)在很大程度上缓解了先前模型存在的许多生成问题。然而,我们发现当输入文本提示包含语义或外观相似的多个主体时,它仍然存在主体忽略或混合的问题。我们在MMDiT架构中识别出导致该问题的三种可能歧义:块间歧义、文本编码器歧义以及语义歧义。为解决这些问题,我们提出在早期去噪步骤通过测试时优化实时修复模糊的潜变量。具体而言,我们设计了三种损失函数:块对齐损失、文本编码器对齐损失和重叠损失,每种损失函数都针对缓解上述歧义。尽管取得了显著改进,但我们观察到在生成多个相似主体时语义歧义仍然存在,因为重叠损失提供的指导不够明确。因此,我们进一步提出重叠在线检测和回溯起始采样策略来缓解该问题。在新构建的具有挑战性的相似主体数据集上的实验结果验证了我们方法的有效性,显示出优于现有方法的生成质量和更高的成功率。我们的代码将在https://github.com/wtybest/EnMMDiT上提供。

英文摘要:

Representing the cutting-edge technique of text-to-image models, the latest Multimodal Diffusion Transformer (MMDiT) largely mitigates many generation issues existing in previous models. However, we discover that it still suffers from subject neglect or mixing when the input text prompt contains multiple subjects of similar semantics or appearance. We identify three possible ambiguities within the MMDiT architecture that cause this problem: Inter-block Ambiguity, Text Encoder Ambiguity, and Semantic Ambiguity. To address these issues, we propose to repair the ambiguous latent on-the-fly by test-time optimization at early denoising steps. In detail, we design three loss functions: Block Alignment Loss, Text Encoder Alignment Loss, and Overlap Loss, each tailored to mitigate these ambiguities. Despite significant improvements, we observe that semantic ambiguity persists when generating multiple similar subjects, as the guidance provided by overlap loss is not explicit enough. Therefore, we further propose Overlap Online Detection and Back-to-Start Sampling Strategy to alleviate the problem. Experimental results on a newly constructed challenging dataset of similar subjects validate the effectiveness of our approach, showing superior generation quality and much higher success rates over existing methods. Our code will be available at https://github.com/wtybest/EnMMDiT.

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

↑