arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.07838cs.CVcs.AIcs.LG
收藏

基于提示优化的少数派导向文本到图像生成

Minority-Focused Text-to-Image Generation via Prompt Optimization

Graduate School of AI KAIST(韩国科学技术院人工智能研究生院)

Soobin Um, Jong Chul Ye

AI总结:

针对预训练T2I扩散模型因引导采样器影响而偏向高密度区域的问题,提出在线提示优化框架及专用求解器,通过引入似然目标在保留语义的同时促进少数派特征生成,显著提升了高质量少数派实例的生成能力。

摘要:

我们研究使用预训练文本到图像(T2I)潜在扩散模型生成少数派样本的问题。在T2I生成语境中,少数派实例可定义为处于文本条件数据分布低密度区域的样本。它们对现代T2I生成器的各种应用(如数据增强和创意AI)极具价值。遗憾的是,现有预训练T2I扩散模型主要聚焦于高密度区域,这在很大程度上归因于对高质量生成至关重要的引导采样器(如CFG)的影响。为解决此问题,我们提出一种新框架以对抗T2I扩散模型的高密度聚焦倾向。具体而言,我们首先开发了一个在线提示优化框架,在保留用户提供的提示的语义内容的同时,鼓励在推理过程中涌现期望属性。随后,我们将此通用提示优化器改造为专用求解器,通过引入精心设计的似然目标来促进少数派特征的生成。在多种T2I模型上开展的大量实验表明,与现有采样器相比,我们的方法显著提升了生成高质量少数派实例的能力。代码可在 https://github.com/soobin-um/MinorityPrompt 获取。

英文摘要:

We investigate the generation of minority samples using pretrained text-to-image (T2I) latent diffusion models. Minority instances, in the context of T2I generation, can be defined as ones living on low-density regions of text-conditional data distributions. They are valuable for various applications of modern T2I generators, such as data augmentation and creative AI. Unfortunately, existing pretrained T2I diffusion models primarily focus on high-density regions, largely due to the influence of guided samplers (like CFG) that are essential for high-quality generation. To address this, we present a novel framework to counter the high-density-focus of T2I diffusion models. Specifically, we first develop an online prompt optimization framework that encourages emergence of desired properties during inference while preserving semantic contents of user-provided prompts. We subsequently tailor this generic prompt optimizer into a specialized solver that promotes generation of minority features by incorporating a carefully-crafted likelihood objective. Extensive experiments conducted across various types of T2I models demonstrate that our approach significantly enhances the capability to produce high-quality minority instances compared to existing samplers. Code is available at https://github.com/soobin-um/MinorityPrompt.

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

↑