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

RealCustom++:将图像表示为真实文本词以实现实时定制

RealCustom++: Representing Images as Real Textual Word for Real-Time Customization

University of Science and Technology of China(中国科学技术大学);ByteDance Inc(字节跳动公司)

Zhendong Mao, Mengqi Huang, Fei Ding, Mingcong Liu, Qian He, Yongdong Zhang

AI总结:

针对文本到图像定制中伪词导致的语义冲突和纠缠问题,提出真实词范式RealCustom++,通过训练-推理解耦和双分支架构同时优化可控性与相似性,显著提升生成质量,并已应用于字节跳动即梦。

摘要:

给定一段文本和特定主体的图像,文本到图像定制旨在生成与文本和主体外观都一致的新图像。现有工作遵循伪词范式,将主体表示为一个不存在的伪词,并将其与其他文本结合以生成图像。然而,伪词因其不同的学习目标而导致语义冲突,并因与其他文本的影响范围重叠而产生纠缠,导致双重最优悖论,即主体相似性和文本可控性无法同时达到最优。为解决这一问题,我们提出RealCustom++,一种新颖的真实词范式,将主体表示为一个无冲突的真实词,首先生成连贯的引导图像和相应的主体掩码,从而解开文本和主体的影响范围以实现同时优化。具体而言,RealCustom++引入了一个训练-推理解耦框架:(1)在训练期间,它学习视觉条件与文本中所有真实词之间的一般对齐;(2)在推理期间,采用双分支架构,其中引导分支生成主体引导掩码,生成分支利用该掩码仅在主体相关区域内定制特定真实词的生成。与先前在可控性或相似性方面表现优异的方方法相比,RealCustom++在两者上均实现了更优性能,可控性提升7.48%,相似性提升3.04%,生成质量提升76.43%。对于多主体定制,RealCustom++进一步实现了可控性提升4.6%和多主体相似性提升6.34%。我们的工作已应用于字节跳动的即梦(JiMeng),代码已在https://github.com/bytedance/RealCustom发布。

英文摘要:

Given a text and an image of a specific subject, text-to-image customization aims to generate new images that align with both the text and the subject's appearance. Existing works follow the pseudo-word paradigm, which represents the subject as a non-existent pseudo word and combines it with other text to generate images. However, the pseudo word causes semantic conflict from its different learning objective and entanglement from overlapping influence scopes with other texts, resulting in a dual-optimum paradox where subject similarity and text controllability cannot be optimal simultaneously. To address this, we propose RealCustom++, a novel real-word paradigm that represents the subject with a non-conflicting real word to firstly generate a coherent guidance image and corresponding subject mask, thereby disentangling the influence scopes of the text and subject for simultaneous optimization. Specifically, RealCustom++ introduces a train-inference decoupled framework: (1) during training, it learns a general alignment between visual conditions and all real words in the text; and (2) during inference, a dual-branch architecture is employed, where the Guidance Branch produces the subject guidance mask and the Generation Branch utilizes this mask to customize the generation of the specific real word exclusively within subject-relevant regions. In contrast to previous methods that excel in either controllability or similarity, RealCustom++ achieves superior performance in both, with improvements of 7.48% in controllability, 3.04% in similarity, and 76.43% in generation quality. For multi-subject customization, RealCustom++ further achieves improvements of 4.6% in controllability and 6.34% in multi-subject similarity. Our work has been applied in JiMeng of ByteDance, and codes are released at https://github.com/bytedance/RealCustom.

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

↑