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

扩散模型的进化令牌级提示优化

Evolutionary Token-Level Prompt Optimization for Diffusion Models

University of Coimbra(科英布拉大学)

Domício Pereira Neto, João Correia, Penousal Machado

AI总结:

本文提出基于遗传算法的扩散模型令牌级提示优化方法,通过进化CLIP模型的token向量提升生成质量,实验显示比基线方法提升23.93%。

摘要:

文本到图像的扩散模型表现出强大的生成性能,但仍然对提示语的制定非常敏感,通常需要大量手动尝试和错误才能获得满意的结果。这促使开发自动化、模型无关的提示优化方法,能够系统地探索条件空间,超越传统文本重写。本文研究了通过直接进化CLIP基于扩散模型所用的标记向量来使用遗传算法(GA)进行提示优化。GA优化一个结合审美质量(通过LAION审美预测器V2测量)和提示图像对齐度(通过CLIPScore评估)的适应度函数。在Parti Prompts(P2)数据集上的36个提示实验显示,所提出的方法优于基线方法,包括Promptist和随机搜索,实现了高达23.93%的适应度提升。总体而言,该方法适用于具有标记文本编码器的图像生成模型,并提供了一个模块化的框架,讨论了其局限性和前景。

英文摘要:

Text-to-image diffusion models exhibit strong generative performance but remain highly sensitive to prompt formulation, often requiring extensive manual trial and error to obtain satisfactory results. This motivates the development of automated, model-agnostic prompt optimization methods that can systematically explore the conditioning space beyond conventional text rewriting. This work investigates the use of a Genetic Algorithm (GA) for prompt optimization by directly evolving the token vectors employed by CLIP-based diffusion models. The GA optimizes a fitness function that combines aesthetic quality, measured by the LAION Aesthetic Predictor V2, with prompt-image alignment, assessed via CLIPScore. Experiments on 36 prompts from the Parti Prompts (P2) dataset show that the proposed approach outperforms the baseline methods, including Promptist and random search, achieving up to a 23.93% improvement in fitness. Overall, the method is adaptable to image generation models with tokenized text encoders and provides a modular framework for future extensions, the limitations and prospects of which are discussed.

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

↑