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

MagicNaming:通过在T2I扩散模型中寻找“名字空间”实现一致性身份生成

MagicNaming: Consistent Identity Generation by Finding a "Name Space" in T2I Diffusion Models

National University of Defense Technology(国防科技大学);University of Science and Technology of China(中国科学技术大学);University of Sydney(悉尼大学)

Jing Zhao, Heliang Zheng, Chaoyue Wang, Long Lan, Wanrong Hunag, Yuhua Tang

AI总结:

本文提出MagicNaming方法,通过在扩散模型中发现“名字空间”,利用名人名字嵌入监督学习面部图像编码器预测名字嵌入,实现了通用身份的简单一致生成,并保持模型原始能力且兼容各种变体。

摘要:

大规模文本到图像扩散模型(例如DALL-E、SDXL)能够仅通过提及名字来生成名人。是否有可能使此类模型像生成名人一样简单地生成通用身份,例如仅使用一个名字?在本文中,我们探索了“名字空间”的存在性,其中空间中的任意点对应一个特定身份。幸运的是,我们在由名人名字的文本嵌入所张成的特征空间中找到了一些线索。具体而言,我们首先使用扩散模型的文本编码器提取Laion5B数据集中名人名字的嵌入。这些嵌入被用作监督来学习一个编码器,该编码器能够预测给定面部图像的名字(实际上是嵌入)。我们通过实验发现,此类名字嵌入在保证生成图像具有良好的身份一致性方面效果良好。需要注意的是,与名人的名字一样,我们预测的名字嵌入与文本输入的语义解耦,从而使得文本到图像模型的原始生成能力得以良好保留。此外,通过简单地插入此类名字嵌入,从同一基础模型(即SDXL)派生的所有变体(例如来自Civitai的变体)均可轻松成为身份感知的文本到图像模型。项目主页:\url{https://magicfusion.github.io/MagicNaming/}。

英文摘要:

Large-scale text-to-image diffusion models, (e.g., DALL-E, SDXL) are capable of generating famous persons by simply referring to their names. Is it possible to make such models generate generic identities as simple as the famous ones, e.g., just use a name? In this paper, we explore the existence of a "Name Space", where any point in the space corresponds to a specific identity. Fortunately, we find some clues in the feature space spanned by text embedding of celebrities' names. Specifically, we first extract the embeddings of celebrities' names in the Laion5B dataset with the text encoder of diffusion models. Such embeddings are used as supervision to learn an encoder that can predict the name (actually an embedding) of a given face image. We experimentally find that such name embeddings work well in promising the generated image with good identity consistency. Note that like the names of celebrities, our predicted name embeddings are disentangled from the semantics of text inputs, making the original generation capability of text-to-image models well-preserved. Moreover, by simply plugging such name embeddings, all variants (e.g., from Civitai) derived from the same base model (i.e., SDXL) readily become identity-aware text-to-image models. Project homepage: \url{https://magicfusion.github.io/MagicNaming/}.

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

↑