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

面向个性化文本到图像生成的交叉初始化方法

Cross Initialization for Personalized Text-to-Image Generation

Sun Yat-sen University(中山大学);Guangdong Key Laboratory of Big Data Analysis and Processing(广东省大数据分析与处理重点实验室);Linnan University(岭南大学);East China Normal University(华东师范大学);The Hong Kong Polytechnic University(香港理工大学)

Lianyu Pang, Jian Yin, Haoran Xie, Qiping Wang, Qing Li, Xudong Mao

AI总结:

针对文本反演个性化生成中重建与可编辑性失衡问题,提出交叉初始化方法,缩小初始与学习嵌入差距,将优化步数从5000降至320,并提升重建与可编辑性,且支持快速捕获。

摘要:

近年来,得益于预训练文本到图像扩散模型的先进能力,人脸个性化技术激增。其中,一种值得注意的方法是文本反演,它通过将给定图像反演为文本嵌入来生成个性化图像。然而,基于文本反演的方法在平衡重建质量与可编辑性之间的权衡方面仍然面临挑战。在本研究中,我们从初始化的角度审视这一问题。通过仔细检查传统的初始化方法,我们发现了初始嵌入与学习嵌入在尺度和方向上的显著差异。学习嵌入的尺度可能比初始嵌入大至100倍。嵌入的这种显著变化可能增加过拟合的风险,从而损害可编辑性。基于这一观察,我们提出了一种新颖的初始化方法,称为交叉初始化,它显著缩小了初始嵌入与学习嵌入之间的差距。该方法不仅提高了重建和可编辑性,还将优化步骤从5000减少到320。此外,我们应用一个正则化项,使学习嵌入保持接近初始嵌入。我们表明,当与交叉初始化结合时,该正则化项能有效提高可编辑性。我们提供了全面的实证证据,以证明我们的方法相对于基线方法的优越性能。值得注意的是,在我们的实验中,交叉初始化是唯一成功编辑个体面部表情的方法。此外,我们方法的快速版本可以在大约26秒内捕获输入图像,同时在重建和可编辑性方面均超过基线方法。代码将公开提供。

英文摘要:

Recently, there has been a surge in face personalization techniques, benefiting from the advanced capabilities of pretrained text-to-image diffusion models. Among these, a notable method is Textual Inversion, which generates personalized images by inverting given images into textual embeddings. However, methods based on Textual Inversion still struggle with balancing the trade-off between reconstruction quality and editability. In this study, we examine this issue through the lens of initialization. Upon closely examining traditional initialization methods, we identified a significant disparity between the initial and learned embeddings in terms of both scale and orientation. The scale of the learned embedding can be up to 100 times greater than that of the initial embedding. Such a significant change in the embedding could increase the risk of overfitting, thereby compromising the editability. Driven by this observation, we introduce a novel initialization method, termed Cross Initialization, that significantly narrows the gap between the initial and learned embeddings. This method not only improves both reconstruction and editability but also reduces the optimization steps from 5000 to 320. Furthermore, we apply a regularization term to keep the learned embedding close to the initial embedding. We show that when combined with Cross Initialization, this regularization term can effectively improve editability. We provide comprehensive empirical evidence to demonstrate the superior performance of our method compared to the baseline methods. Notably, in our experiments, Cross Initialization is the only method that successfully edits an individual's facial expression. Additionally, a fast version of our method allows for capturing an input image in roughly 26 seconds, while surpassing the baseline methods in terms of both reconstruction and editability. Code will be made publicly available.

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

↑