[论文解读] Enhancing Detail Preservation for Customized Text-to-Image Generation: A Regularization-Free Approach
ProFusion 引入一个无正则化框架,结合 PromptNet 和 Fusion Sampling,从单幅图像自定义大规模文本到图像模型,在更快的训练速度下保持细粒度细节。
Recent text-to-image generation models have demonstrated impressive capability of generating text-aligned images with high fidelity. However, generating images of novel concept provided by the user input image is still a challenging task. To address this problem, researchers have been exploring various methods for customizing pre-trained text-to-image generation models. Currently, most existing methods for customizing pre-trained text-to-image generation models involve the use of regularization techniques to prevent over-fitting. While regularization will ease the challenge of customization and leads to successful content creation with respect to text guidance, it may restrict the model capability, resulting in the loss of detailed information and inferior performance. In this work, we propose a novel framework for customized text-to-image generation without the use of regularization. Specifically, our proposed framework consists of an encoder network and a novel sampling method which can tackle the over-fitting problem without the use of regularization. With the proposed framework, we are able to customize a large-scale text-to-image generation model within half a minute on single GPU, with only one image provided by the user. We demonstrate in experiments that our proposed framework outperforms existing methods, and preserves more fine-grained details.
研究动机与目标
- 在避免正则化导致的细节损失的前提下,激发对大规模文本到图像模型的个性化自定义。
- 提出一个将输入图像映射到与 Stable Diffusion 2 的文本嵌入兼容的编码器(PromptNet)。
- 在推理阶段引入 Fusion Sampling,以在图像衍生嵌入和用户文本之间进行联合条件化。
- 证明该方法能够在与基线相比时保留细粒度细节并提高对提示的遵从性。
提出的方法
- PromptNet 将输入图像编码为一个在 Stable Diffusion 2 的文本编码器空间中的词嵌入 S*。
- Fusion Sampling 通过一个分阶段的过程(融合与可选的细化)修改无条件采样,以对 S* 和用户文本 C 同时进行条件化。
- 融合阶段使用关于 S* 和 C 的对数概率梯度来更新 x_t,形成类似 Langevin 的步骤。
- 可选的细化阶段可进一步整合融合信息并提升图像质量。
- 使用基于 DDIM 的采样方程来计算更新,并确保与提示的一致性逆向。
- 在 PromptNet 训练过程中框架不进行任何正则化,以保持图像细节。
实验结果
研究问题
- RQ1是否可以在不使用正则化的情况下实现自定义文本到图像生成,同时保持细粒度细节?
- RQ2在扩散采样过程中,如何将来自用户提供的图像衍生嵌入 S* 与任意文本 C 的信息融合,以符合提示而不过拟合?
- RQ3融合阶段与细化阶段对细节保持和结构一致性的影响是什么?
主要发现
- ProFusion 在多种 CLIP 模型下的图像-提示相似度高于基线,表明对提示的遵从性更好。
- 在若干人脸识别模型上,生成图像与输入图像的身份相似度被 ProFusion 提升。
- 在 MTurk 研究中,人工评测者偏好 ProFusion 而非基线方法。
- Fusion Sampling 在保持输入细节和实现所需提示方面始终优于纯粹的分类器自由采样。
- 微调过程中的数据增强进一步提升性能。
- 消融研究表明融合阶段和细化阶段对质量均有显著贡献。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。