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

用于定制化图像生成的解耦文本嵌入

Decoupled Textual Embeddings for Customized Image Generation

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);Harbin Institute of Technology(哈尔滨工业大学);Tomorrow Advancing Life(好未来);Pengcheng Lab(鹏城实验室)

Yufei Cai, Yuxiang Wei, Zhilong Ji, Jinfeng Bai, Hu Han, Wangmeng Zuo

AI总结:

针对定制化文本到图像生成中概念与无关信息纠缠、过拟合的问题,提出DETEX方法,通过共享主体嵌入、图像特定无关嵌入及联合训练实现解耦,提升了概念表示的准确性和可编辑性。

摘要:

定制化文本到图像生成旨在通过少量图像学习用户指定的概念,近年来受到广泛关注。然而,现有方法通常存在过拟合问题,且会将与主体无关的信息(如背景和姿态)与学习到的概念纠缠在一起,限制了将概念组合到新场景中的潜力。为解决这些问题,我们提出DETEX,这是一种学习解耦概念嵌入以实现灵活定制化文本到图像生成的新方法。与传统方法从给定图像中学习单个概念嵌入不同,我们的DETEX在训练期间使用多个词嵌入来表示每张图像,即可学习的图像共享主体嵌入和若干图像特定的主体无关嵌入。为将无关属性(即背景和姿态)从主体嵌入中解耦,我们进一步提出了若干属性映射器,将每张图像编码为多个图像特定的主体无关嵌入。为促使这些无关嵌入捕获无关信息,我们将它们与对应的属性词结合,并提出一种联合训练策略来促进解耦。在推理阶段,我们仅使用主体嵌入进行图像生成,同时选择性地使用图像特定嵌入来保留图像指定的属性。大量实验表明,我们的方法得到的主体嵌入能够忠实地表示目标概念,同时与现有最优方法相比展现出更优异的可编辑性。我们的代码将公开发布。

英文摘要:

Customized text-to-image generation, which aims to learn user-specified concepts with a few images, has drawn significant attention recently. However, existing methods usually suffer from overfitting issues and entangle the subject-unrelated information (e.g., background and pose) with the learned concept, limiting the potential to compose concept into new scenes. To address these issues, we propose the DETEX, a novel approach that learns the disentangled concept embedding for flexible customized text-to-image generation. Unlike conventional methods that learn a single concept embedding from the given images, our DETEX represents each image using multiple word embeddings during training, i.e., a learnable image-shared subject embedding and several image-specific subject-unrelated embeddings. To decouple irrelevant attributes (i.e., background and pose) from the subject embedding, we further present several attribute mappers that encode each image as several image-specific subject-unrelated embeddings. To encourage these unrelated embeddings to capture the irrelevant information, we incorporate them with corresponding attribute words and propose a joint training strategy to facilitate the disentanglement. During inference, we only use the subject embedding for image generation, while selectively using image-specific embeddings to retain image-specified attributes. Extensive experiments demonstrate that the subject embedding obtained by our method can faithfully represent the target concept, while showing superior editability compared to the state-of-the-art methods. Our code will be made published available.

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

↑