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

IPGO:面向文生图模型参数高效提示级微调的间接提示梯度优化

IPGO: Indirect Prompt Gradient Optimization for Parameter-Efficient Prompt-level Fine-Tuning on Text-to-Image Models

University of Maryland, College Park(马里兰大学学院公园分校)

Jianping Ye, Michel Wedel, Kunpeng Zhang

AI总结:

针对文生图扩散模型语义、美学与人类偏好对齐不足的问题,提出参数高效的提示级微调框架IPGO及其扩展IPGO+,通过注入可微嵌入与低秩旋转等设计优化提示,在多数据集上显著优于现有SOTA方法且资源消耗极低。

摘要:

文生图扩散模型擅长根据文本提示生成图像,但在内容语义对齐、美学效果与人类偏好对齐方面往往表现欠佳。为解决这些局限,本研究提出一种新颖的参数高效框架——间接提示梯度优化(Indirect Prompt Gradient Optimization,IPGO),用于扩散模型的提示级微调。IPGO通过在提示嵌入的首尾注入连续可微嵌入来增强提示嵌入,利用低秩结构并结合旋转带来的灵活性与非线性特性。该方法可在范围约束、正交归一性约束和一致性约束下对注入嵌入进行基于梯度的优化,有效缩小搜索空间,推动得到稳定解,并确保注入嵌入与原始提示的嵌入之间保持对齐。其扩展版本IPGO+在提示嵌入上新增了一种无参数交叉注意力机制,以强化原始提示与插入嵌入之间的依赖关系。我们使用图像美学、图文对齐、人类偏好三类奖励模型,在三个复杂度各异的数据集上分别通过单提示(IPGO)和提示批量(IPGO+)训练开展了广泛评估。结果表明,IPGO始终优于现有SOTA基准,包括使用原始提示的stable diffusion v1.5、基于文本嵌入的方法(TextCraftor)、基于训练的方法(DRaFT和DDPO)以及免训练方法(DPO-Diffusion、Promptist和ChatGPT-4o)。具体而言,IPGO在单提示学习中胜率超过99%,IPGO+在提示批量学习中性能与现有SOTA相当且往往更优(胜率达75%)。此外,我们验证了IPGO的泛化性,以及其在仅需极少数据与资源的前提下显著提升图像质量的能力。

英文摘要:

Text-to-Image Diffusion models excel at generating images from text prompts but often exhibit suboptimal alignment with content semantics, aesthetics, and human preferences. To address these limitations, this study proposes a novel parameter-efficient framework, Indirect Prompt Gradient Optimization (IPGO), for prompt-level diffusion model fine-tuning. IPGO enhances prompt embeddings by injecting continuously differentiable embeddings at the beginning and end of the prompt embeddings, leveraging low-rank structures with the flexibility and nonlinearity from rotations. This approach enables gradient-based optimization of injected embeddings under range, orthonormality, and conformity constraints, effectively narrowing the search space, promoting a stable solution, and ensuring alignment between the embeddings of the injected embeddings and the original prompt. Its extension IPGO+ adds a parameter-free cross-attention mechanism on the prompt embedding to enforce dependencies between the original prompt and the inserted embeddings. We conduct extensive evaluations through prompt-wise (IPGO) and prompt-batch (IPGO+) training using three reward models of image aesthetics, image-text alignment, and human preferences across three datasets of varying complexity. The results show that IPGO consistently outperforms SOTA benchmarks, including stable diffusion v1.5 with raw prompts, text-embedding-based methods (TextCraftor), training-based methods (DRaFT and DDPO), and training-free methods (DPO-Diffusion, Promptist, and ChatGPT-4o). Specifically, IPGO achieves a win-rate exceeding 99% in prompt-wise learning, and IPGO+ achieves a comparable, but often better performance against current SOTAs (a 75% win rate) in prompt-batch learning. Moreover, we illustrate IPGO's generalizability and its capability to significantly enhance image quality while requiring minimal data and resources.

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

↑