TextCraftor:你的文本编码器可以成为图像质量控制器
TextCraftor: Your Text Encoder Can be Image Quality Controller
AI总结:
本文提出 TextCraftor 方法,通过微调 Stable Diffusion 中的 CLIP 文本编码器来提升文本到图像生成质量,并支持通过编码器插值实现可控生成,且可与 UNet 微调正交结合。
摘要:
基于扩散的文本到图像生成模型(例如 Stable Diffusion)已经彻底改变了内容生成领域,推动图像编辑和视频合成等领域取得重大进展。尽管这些模型能力强大,但它们并非没有局限性。合成与输入文本高度一致的图像仍然具有挑战性,通常需要多次运行并精心设计提示词才能获得令人满意的结果。为了缓解这些局限性,大量研究致力于利用各种技术对预训练扩散模型(即 UNet)进行微调。然而,在这些努力中,文本到图像扩散模型训练的一个关键问题在很大程度上仍未得到探索:是否可能且可行地微调文本编码器以提升文本到图像扩散模型的性能?我们的研究发现表明,与其用其他大型语言模型替换 Stable Diffusion 中使用的 CLIP 文本编码器,不如通过我们提出的微调方法 TextCraftor 来增强它,从而在定量基准和人工评估中带来显著改进。有趣的是,我们的技术还通过对使用不同奖励微调的不同文本编码器进行插值,实现了可控图像生成。我们还证明 TextCraftor 与 UNet 微调是正交的,可以结合使用以进一步提升生成质量。
英文摘要:
Diffusion-based text-to-image generative models, e.g., Stable Diffusion, have revolutionized the field of content generation, enabling significant advancements in areas like image editing and video synthesis. Despite their formidable capabilities, these models are not without their limitations. It is still challenging to synthesize an image that aligns well with the input text, and multiple runs with carefully crafted prompts are required to achieve satisfactory results. To mitigate these limitations, numerous studies have endeavored to fine-tune the pre-trained diffusion models, i.e., UNet, utilizing various technologies. Yet, amidst these efforts, a pivotal question of text-to-image diffusion model training has remained largely unexplored: Is it possible and feasible to fine-tune the text encoder to improve the performance of text-to-image diffusion models? Our findings reveal that, instead of replacing the CLIP text encoder used in Stable Diffusion with other large language models, we can enhance it through our proposed fine-tuning approach, TextCraftor, leading to substantial improvements in quantitative benchmarks and human assessments. Interestingly, our technique also empowers controllable image generation through the interpolation of different text encoders fine-tuned with various rewards. We also demonstrate that TextCraftor is orthogonal to UNet finetuning, and can be combined to further improve generative quality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。